joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b94
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
je 0x401bd3
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401bd3
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401bd3
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401bd3
cmp dword [ecx + 0x74], 0xe
jbe 0x401bd3
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40102a
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebx
push ebp
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xor ebp, ebp
pop ecx
test eax, eax
je 0x401079
push str.Windows_original_main_args:_n
call fcn.004010ff
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
mov esi, ebp
pop ecx
call edi
cmp dword [eax], ebp
jle 0x401079
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.004010ff
add esp, 0xc
inc esi
call edi
cmp esi, dword [eax]
jl 0x401059
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call sub.jli.dll_JLI_MemAlloc
pop ecx
pop ecx
mov esi, eax
call sub.jli.dll_JLI_GetStdArgs
mov edx, ebp
test ebx, ebx
jle 0x4010b7
mov edi, esi
mov ecx, dword [eax + edx*8]
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jl 0x4010aa
mov ecx, dword [str.java]
mov dword [esi + edx*4], ebp
test ecx, ecx
jne 0x4010c6
mov ecx, dword [esi]
mov eax, dword [section..data]
test eax, eax
jne 0x4010d1
mov eax, dword [esi]
push ebp
push ebp
push ebp
push 1
push ecx
push eax
push 0x4021c8
push 0x4021cc
push 0x40300c
push 2
push 0x403004
push 2
push esi
push ebx
call sub.jli.dll_JLI_Launch
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x401810
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40184f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40184f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40184f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40184f
cmp dword [ecx + 0x74], 0xe
jbe 0x40184f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401080
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
push esi
push eax
mov dword [0x408530], eax
call fcn.00401160
add esp, 4
test eax, eax
jne 0x4010a1
pop esi
add esp, 0x1c
ret 0x10
mov eax, dword [0x408530]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push eax
push 0
push 0
push 1
call esi
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0
call esi
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
push 0
push 0
push 0x20cf0000
push str.MySql
push 0x406030
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
jne 0x4010f7
pop esi
add esp, 0x1c
ret 0x10
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
call esi
test eax, eax
je 0x401151
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea esp, [esp]
lea edx, [esp + 0xc]
push edx
call edi
lea eax, [esp + 0xc]
push eax
call ebx
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call esi
test eax, eax
jne 0x401130
pop edi
pop ebx
mov eax, dword [esp + 0xc]
pop esi
add esp, 0x1c
ret 0x10
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421008]
jne 0x40100a
repz ret
jmp fcn.004015dc

Function at 0x405835
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00402fff
and dword [ebp - 4], 0
cmp dword [0x422dd4], 0
mov ebx, eax
jne 0x4058e6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405997
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405997
push eax
call fcn.00402f8d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x422dd4], eax
call esi
push eax
call fcn.00402f8d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x422dd8], eax
call esi
push eax
call fcn.00402f8d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x422ddc], eax
call esi
push eax
call fcn.00402f8d
pop ecx
mov dword [0x422de4], eax
test eax, eax
je 0x4058e6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402f8d
pop ecx
mov dword [0x422de0], eax
mov eax, dword [0x422de0]
cmp eax, ebx
je 0x40593e
cmp dword [0x422de4], ebx
je 0x40593e
push eax
call fcn.00403008
push dword [0x422de4]
mov esi, eax
call fcn.00403008
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40593e
test edi, edi
je 0x40593e
call esi
test eax, eax
je 0x405935
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405935
test byte [ebp - 0xc], 1
jne 0x40593e
or dword [ebp + 0x10], 0x200000
jmp 0x405977
mov eax, dword [0x422dd8]
cmp eax, ebx
je 0x405977
push eax
call fcn.00403008
pop ecx
test eax, eax
je 0x405977
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405977
mov eax, dword [0x422ddc]
cmp eax, ebx
je 0x405977
push eax
call fcn.00403008
pop ecx
test eax, eax
je 0x405977
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x422dd4]
call fcn.00403008
pop ecx
test eax, eax
je 0x405997
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405999
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41d7d0
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
mov eax, dword [0x421008]
xor eax, esp
mov dword [esp + 0x400], eax
cmp dword [0x2a5d9c4], 0x114e
mov eax, dword [esp + 0x408]
mov dword [0x2a5d808], eax
jne 0x41d811
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
lea ecx, [esp + 4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.00401000
add esp, 0x404
ret
Function at 0x41d840
Capabilities:
Get hostname

Disassembly:
sub esp, 0x818
mov eax, dword [0x421008]
xor eax, esp
mov dword [esp + 0x814], eax
mov eax, dword [esp + 0x81c]
push edi
xor edi, edi
cmp dword [esp + 0x824], edi
mov dword [esp + 0xc], eax
jle 0x41d930
push ebx
mov ebx, dword [esp + 0x10]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push esi
lea esp, [esp]
lea esi, [esp + 0x1c]
mov dword [esp + 0x14], 5
mov dword [esp + 0x1c], 0
call fcn.0041d830
mov eax, dword [esp + 0x1c]
add eax, 0x46
mov dword [esp + 0x14], eax
nop
sub dword [esp + 0x14], 0x46
mov ecx, dword [esp + 0x18]
movsx edx, byte [ecx + edi]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
xor dword [esp + 0x10], eax
mov esi, dword [esp + 0x830]
mov al, byte [esp + 0x10]
mov byte [ecx + edi], al
cmp esi, 0xf
jne 0x41d924
push 0
push 0
call ebp
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.razigo
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenJobObjectW]
push 0
lea eax, [esp + 0x428]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push ebx
push str.gecucufemesixihor
push 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
inc edi
cmp edi, esi
jl 0x41d880
pop esi
pop ebp
pop ebx
cmp dword [esp + 0x824], 0x2d
pop edi
jne 0x41d94f
mov dword [0x2a5daf8], 0xa62e7790
mov dword [0x2a5dafc], 0xffffffff
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.00401000
add esp, 0x818
ret

Function at 0x41d970
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x804
mov eax, dword [0x421008]
xor eax, esp
mov dword [esp + 0x800], eax
mov eax, dword [0x421ff0]
push esi
mov esi, dword [0x2a5d9c4]
push edi
mov edi, dword [0x2a5d80c]
push eax
call fcn.0041d7d0
add esp, 4
cmp dword [0x2a5d9c4], 0x2f
jne 0x41d9af
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push esi
push edi
call fcn.0041d840
add esp, 8
cmp dword [0x2a5d9c4], 0x568
pop edi
pop esi
jne 0x41d9e8
push 0
push 0
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push 0
lea edx, [esp + 0x404]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.00401000
add esp, 0x804
ret
Function at 0x401000
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov eax, 0xcc10
call fcn.00401670
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x31c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x114]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 0x31c]
push 0x407050
push edx
call fcn.0040165c
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4011f4
push 2
push 0
push ebp
call fcn.004015b0
push ebp
call fcn.00401458
mov ebx, eax
add esp, 0x10
sub ebx, 0xb000
test ebx, ebx
jg 0x401086
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xcc10
ret 0x10
lea edi, [esp + 0x114]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x218]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40704c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x21c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._tmpcmd.tmp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x21c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040165c
mov esi, eax
add esp, 8
test esi, esi
je 0x4011f4
mov edx, dword [esp + 0xcc2c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push esi
push ecx
push 1
push edx
call fcn.0040134e
push esi
call fcn.004012f8
lea edi, [esp + 0x128]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40703c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x28]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str._tmpdgp.exe
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x28]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040165c
mov edi, eax
add esp, 0x1c
test edi, edi
je 0x4011f4
push 0
push 0xb000
push ebp
call fcn.004015b0
add esp, 0xc
mov esi, 0xc800
cmp ebx, esi
jge 0x4011ad
mov esi, ebx
push ebp
push esi
lea ecx, [esp + 0x428]
push 1
push ecx
call fcn.00401210
push edi
push esi
lea edx, [esp + 0x438]
push 1
push edx
call fcn.0040134e
sub ebx, esi
add esp, 0x20
test ebx, ebx
jg 0x4011a2
push ebp
call fcn.004012f8
push edi
call fcn.004012f8
add esp, 8
lea eax, [esp + 0x10]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xcc10
ret 0x10
Function at 0x404430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push edi
push esi
push ebx
sub esp, 0x110
mov ebx, dword [esp + 0x120]
call sub.msvcrt.dll__errno
test ebx, ebx
mov dword [eax], 0
je 0x404607
cmp byte [ebx], 0
je 0x404472
sub esp, 0xc
push ebx
call sub.KERNEL32.dll_GetFileAttributesA
add esp, 0xc
cmp eax, 0xffffffff
je 0x4045f7
and eax, 0x10
jne 0x404490
call sub.msvcrt.dll__errno
mov dword [eax], 0x14
xor eax, eax
add esp, 0x110
pop ebx
pop esi
pop edi
ret
push esi
push 0x104
push ebx
lea esi, [esp + 0xc]
push esi
call sub.msvcrt.dll__fullpath
mov ecx, esi
pop ebx
mov ebx, esi
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
xor eax, 0xffffffff
and edx, eax
and edx, 0x80808080
je 0x4044a6
test edx, 0x8080
jne 0x4044cc
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, ebx
lea edx, [ecx + 0x132]
push edx
call sub.msvcrt.dll_malloc
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x4045e7
push ecx
push ecx
push esi
lea esi, [eax + 0x12c]
push esi
call sub.msvcrt.dll_strcpy
add esp, 0x10
cmp byte [ebx + 0x12c], 0
je 0x404597
mov ecx, esi
mov edi, esi
nop
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
xor eax, 0xffffffff
and edx, eax
and edx, 0x80808080
je 0x404510
test edx, 0x8080
jne 0x404536
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, edi
cmp byte [ecx + ebx + 0x12b], 0x2f
je 0x404597
mov ecx, esi
mov edi, esi
nop
lea esi, [esi]
mov eax, dword [ecx]
add ecx, 4
lea edx, [eax - 0x1010101]
xor eax, 0xffffffff
and edx, eax
and edx, 0x80808080
je 0x404550
test edx, 0x8080
jne 0x404576
shr edx, 0x10
add ecx, 2
add dl, dl
sbb ecx, 3
sub ecx, edi
cmp byte [ecx + ebx + 0x12b], 0x5c
je 0x404597
push edx
push edx
push 0x404420
push esi
call sub.msvcrt.dll_strcat
add esp, 0x10
push eax
push eax
push 0x404422
push esi
call sub.msvcrt.dll_strcat
add esp, 0x10
lea edx, [ebx + 0x14]
mov eax, ebx
mov dword [ebx + 0x124], 0xffffffff
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x118], 0
mov word [ebx + 0x11c], 0
mov word [ebx + 0x11e], 0
mov dword [ebx + 0x120], edx
jmp 0x40447f
call sub.msvcrt.dll__errno
mov dword [eax], 0xc
jmp 0x40447d
call sub.msvcrt.dll__errno
mov dword [eax], 2
jmp 0x40447d
call sub.msvcrt.dll__errno
mov dword [eax], 0xe
jmp 0x40447d

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x7b5537ef
nop
nop
nop
test eax, eax
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x30c77a5d
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x41c998
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
push 0xf0000000
push 1
push 0
push 0
push ebx
call sub.ADVAPI32.DLL_CryptAcquireContextA
add esp, 0xc
test eax, eax
je 0x41c9d4
sub esp, 0xc
lea eax, [ebx + 4]
push eax
push 0
push 0
push 0x8003
push dword [ebx]
call sub.ADVAPI32.DLL_CryptCreateHash
add esp, 0xc
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x215f049a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x10730968
nop
nop
nop
test eax, eax
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401318
Capabilities:
Delete file
Execute command
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x20
call fcn.00401780
mov dword [esp + 4], 0x403024
mov dword [esp], str.DarkMind.bat
call sub.msvcrt.dll_fopen
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x20
mov dword [esp + 4], 1
mov dword [esp], str.java__jar_flagAndDescription.jar
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov dword [esp], str.DarkMind.bat
call sub.msvcrt.dll_system
mov dword [esp], str.DarkMind.bat
call sub.msvcrt.dll_remove
mov eax, 0
leave
ret

Function at 0x401470
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x401496
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40152a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4014e5
cmp eax, 0x40
je 0x4014e5
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401489
cmp eax, 0x40
je 0x401489
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x401489
mov dword [esp + 8], 0x34
mov dword [esp + 4], str..._.._runtime_pseudo_reloc.c
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sub.msvcrt.dll__assert
lea esi, [esi]
lea edi, [edi]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..idata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x34c44da0
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x5ae20853
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x4012e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.0041382b
mov esi, eax
cmp esi, 0x100000
pop ecx
jbe 0x401306
xor eax, eax
jmp 0x4013c7
push edi
lea edi, [esi + 0x80]
push edi
call fcn.00410bf4
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [0x44f76c], eax
call dword [0x42a1d8]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
jne 0x401374
push dword [0x44f76c]
mov byte [0x44f768], bl
mov byte [0x44f769], bl
mov dword [0x44f774], ebx
call fcn.00410c3b
push dword [0x44f770]
mov dword [0x44f76c], ebx
call fcn.00410c3b
pop ecx
pop ecx
mov dword [0x44f770], ebx
xor eax, eax
jmp 0x4013c6
push ebx
lea ecx, [ebp - 4]
push ecx
push esi
push dword [0x44f76c]
push eax
call dword [0x42a1dc]
push dword [ebp - 8]
call dword [0x42a1e0]
push edi
mov dword [0x44f774], esi
call fcn.00410bf4
push esi
push dword [0x44f76c]
mov dword [0x44f770], eax
push eax
call fcn.00421920
push esi
push dword [0x44f76c]
push dword [0x44f770]
call fcn.00421920
xor eax, eax
add esp, 0x1c
inc eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4013cb
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
xor ebx, ebx
cmp byte [0x44f780], bl
push esi
push edi
je 0x4013ec
xor ebp, ebp
inc ebp
mov byte [0x44f780], bl
mov byte [0x44f781], 1
jmp 0x4013fc
push 2
pop ebp
mov byte [0x44f781], bl
mov byte [0x44f780], 1
mov esi, dword [0x42a1e4]
push 0x1388
call esi
cmp ebp, 1
jne 0x401416
cmp dword [0x44f778], ebx
ja 0x401409
cmp ebp, 2
jne 0x401423
cmp dword [0x44f77c], ebx
ja 0x401409
push 0x3e8
call esi
push dword [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0041382b
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [esp + 0x30]
mov esi, eax
call dword [0x42a1d8]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40149b
push dword [0x44f784]
mov byte [0x44f780], bl
mov dword [0x44f78c], ebx
mov byte [0x44f781], bl
mov dword [0x44f790], ebx
call fcn.00410c3b
push dword [0x44f788]
mov dword [0x44f784], ebx
call fcn.00410c3b
pop ecx
pop ecx
mov dword [0x44f788], ebx
xor eax, eax
jmp 0x40150b
cmp ebp, 1
jne 0x4014cf
push dword [0x44f784]
call fcn.00410c3b
push esi
call fcn.00410bf4
pop ecx
pop ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
push edi
mov dword [0x44f784], eax
call dword [0x42a1dc]
mov dword [0x44f78c], esi
jmp 0x401501
cmp ebp, 2
jne 0x401501
push dword [0x44f788]
call fcn.00410c3b
push esi
call fcn.00410bf4
pop ecx
pop ecx
push ebx
lea ecx, [esp + 0x14]
push ecx
push esi
push eax
push edi
mov dword [0x44f788], eax
call dword [0x42a1dc]
mov dword [0x44f790], esi
push edi
call dword [0x42a1e0]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x4015bb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 1], bl
call fcn.0041382b
mov esi, eax
push esi
call fcn.00410bf4
pop ecx
pop ecx
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
call dword [0x42a1d8]
mov edi, eax
cmp edi, 0xffffffff
je 0x40162b
push ebx
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [0x42a1dc]
push edi
call dword [0x42a1e0]
push esi
push dword [ebp - 8]
call fcn.0040156c
test al, al
pop ecx
pop ecx
je 0x40162b
mov byte [ebp - 1], 1
push dword [ebp - 8]
call fcn.00410c3b
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
cmp al, bl
pop ebx
je 0x401645
mov byte [0x44f795], 1
leave
ret
Function at 0x401b8d
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push dword [ebp + 0xc]
mov byte [ebp - 1], 0
call fcn.00410bf4
push dword [ebp + 0xc]
mov ebx, eax
push dword [ebp + 8]
push ebx
call fcn.00421920
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041a679
mov esi, dword [0x42a1e4]
add esp, 0x1c
mov edi, 0x12c
push edi
call esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041a679
add esp, 0xc
push edi
call esi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0041a679
add esp, 0xc
push edi
call esi
cmp byte [ebx], 0x4d
jne 0x401c65
cmp byte [ebx + 1], 0x5a
jne 0x401c65
push 0x26
lea eax, [ebx + 0x4e]
push 0x42a3c4
push eax
call fcn.00421cc0
add esp, 0xc
test eax, eax
jne 0x401c65
mov esi, 0x80
push esi
push dword [ebp + 0x10]
call dword [0x42a10c]
push 0
push esi
push 2
push 0
push 2
push 0x40000000
push dword [ebp + 0x10]
call dword [0x42a1d8]
mov edi, eax
cmp edi, 0xffffffff
je 0x401c5e
mov esi, dword [ebp + 0xc]
push 0
lea eax, [ebp - 8]
push eax
push esi
push ebx
push edi
call dword [0x42a1d4]
cmp dword [ebp - 8], esi
jne 0x401c5e
mov byte [ebp - 1], 1
push edi
call dword [0x42a1e0]
push ebx
call fcn.00410c3b
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret