joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000521e
Capabilities:
Write file on windows

Disassembly:
push 0x48
mov eax, 0x10035003
call fcn.1001b90e
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
je 0x10005330
cmp byte [esi + 0x42], bl
je 0x10005330
mov eax, dword [esi]
mov edi, 0xffff
push edi
call dword [eax + 4]
movzx eax, ax
cmp ax, di
jne 0x1000525a
xor al, al
jmp 0x10005332
push ebx
push 8
lea ecx, [ebp - 0x2c]
call fcn.100051db
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100045f8
mov ecx, eax
call fcn.10002ef0
mov edi, dword [ebp - 0x18]
mov ebx, eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100045f8
mov ecx, eax
call fcn.10002ef0
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x30]
push eax
add edi, ebx
push edi
push dword [ebp - 0x34]
lea eax, [esi + 0x44]
push eax
call dword [edx + 0x18]
sub eax, 0
je 0x100052ca
dec eax
je 0x100052ce
dec eax
dec eax
je 0x1000532c
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.100011da
mov al, bl
jmp 0x10005332
mov byte [esi + 0x42], 0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100045f8
mov ecx, eax
call fcn.10002ef0
mov edi, dword [ebp - 0x30]
sub edi, eax
je 0x1000530e
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x2c]
call fcn.100045f8
mov ecx, eax
call fcn.10002ef0
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.1001f0f2
add esp, 0x10
cmp edi, eax
jne 0x100052b8
cmp byte [esi + 0x42], 0
je 0x1000532c
test edi, edi
jne 0x10005268
push edi
push 8
lea ecx, [ebp - 0x2c]
call fcn.1000149a
jmp 0x10005268
mov bl, 1
jmp 0x100052ba
mov al, 1
call fcn.1001b991
ret
Function at 0x10006dc7
Capabilities:
Print debug messages

Disassembly:
push 0x8c
mov eax, 0x100355c4
call fcn.1001b8a5
mov eax, dword [ebp + 0x44]
push 8
pop edi
cmp dword [ebp + 0x58], edi
mov dword [ebp - 4], 2
jae 0x10006deb
lea eax, [ebp + 0x44]
push eax
call fcn.1001b37f
xor ebx, ebx
inc ebx
test eax, eax
pop ecx
jne 0x10006e20
cmp dword [ebp + 0x20], edi
mov eax, dword [ebp + 0xc]
jae 0x10006e04
lea eax, [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push eax
call esi
cmp dword [ebp + 0x3c], edi
mov eax, dword [ebp + 0x28]
jae 0x10006e18
lea eax, [ebp + 0x28]
push eax
call esi
jmp 0x10006efa
test byte [0x10046c80], bl
jne 0x10006e69
or dword [0x10046c80], ebx
push 0x3f
push 0x10039e6c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10005ba1
push eax
push 0x10046c7c
mov byte [ebp - 4], 4
call fcn.1000968b
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
call fcn.10002b18
push 0x100381b3
call fcn.1001bd67
pop ecx
mov byte [ebp - 4], 2
push ebx
lea ecx, [ebp - 0x98]
call fcn.10006d4e
cmp dword [ebp + 0x58], edi
mov eax, dword [ebp + 0x44]
mov byte [ebp - 4], 5
jae 0x10006e84
lea eax, [ebp + 0x44]
push 0x40
push edi
push eax
lea ecx, [ebp - 0x98]
call fcn.10006848
cmp dword [ebp - 0x48], 0
je 0x10006eeb
cmp dword [ebp + 0x3c], edi
mov eax, dword [ebp + 0x28]
jae 0x10006ea4
lea eax, [ebp + 0x28]
push eax
push 0x10039e68
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x98]
push 0x10039e64
push eax
call fcn.100069fc
pop ecx
pop ecx
push eax
call fcn.10006b3a
pop ecx
pop ecx
push eax
call fcn.100069fc
pop ecx
pop ecx
push eax
call fcn.100069fc
push eax
call fcn.10006dae
add esp, 0xc
lea ecx, [ebp - 0x98]
call fcn.100066ce
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.100067b4
xor esi, esi
push esi
push ebx
lea ecx, [ebp + 8]
call fcn.10003dc1
push esi
push ebx
lea ecx, [ebp + 0x24]
call fcn.10003dc1
push esi
push ebx
lea ecx, [ebp + 0x40]
call fcn.10003dc1
call fcn.1001b97d
ret
Function at 0x10007dec
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
push esi
je 0x10007f21
mov esi, dword [ebp + 0xc]
test esi, esi
jbe 0x10007f21
push ebx
push edi
push 3
pop edi
xor edx, edx
mov eax, esi
div edi
push 0x3f
pop ebx
mov edi, eax
mov eax, dword [ebp + 0x10]
imul edi, edi, 3
lea edx, [edi + ecx]
cmp ecx, edx
mov dword [ebp - 4], edx
je 0x10007eb7
mov edx, dword [0x1004414c]
and dword [ebp + 8], 0
test edx, edx
jbe 0x10007ea3
cmp ecx, dword [ebp - 4]
je 0x10007e9e
movzx edx, byte [ecx]
shl edx, 8
inc ecx
movzx esi, byte [ecx]
or edx, esi
shl edx, 8
inc ecx
movzx esi, byte [ecx]
or edx, esi
mov esi, edx
add dword [ebp + 8], 4
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 3], dl
shr esi, 6
mov edx, esi
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
shr esi, 6
mov edx, esi
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
shr esi, 6
mov dl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
mov edx, dword [0x1004414c]
inc ecx
add eax, 4
cmp dword [ebp + 8], edx
jb 0x10007e39
cmp dword [ebp + 8], edx
jb 0x10007eab
mov byte [eax], 0xd
inc eax
mov byte [eax], 0xa
inc eax
cmp ecx, dword [ebp - 4]
jne 0x10007e2b
mov esi, dword [ebp + 0xc]
sub esi, edi
mov edx, esi
dec edx
je 0x10007ef1
dec edx
jne 0x10007f1a
mov dh, byte [ecx]
mov dl, byte [ecx + 1]
shl edx, 2
mov ecx, edx
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], dl
shr ecx, 6
mov edx, ecx
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr ecx, 6
mov byte [eax + 1], dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x10007f11
movzx ecx, byte [ecx]
shl ecx, 4
mov edx, ecx
and edx, ebx
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
shr ecx, 6
mov byte [eax + 1], dl
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 2], 0x3d
mov byte [eax], cl
mov byte [eax + 3], 0x3d
add eax, 4
sub eax, dword [ebp + 0x10]
pop edi
pop ebx
jmp 0x10007f23
xor eax, eax
pop esi
leave
ret
Function at 0x10007f3e
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x10044e30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
jne 0x10007f6c
xor al, al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1001b896
leave
ret
cmp dword [ebp + 0xc], 1
jb 0x10007f5c
lea eax, [ebp - 0x2b4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10007f5c
push edi
push 0xff
lea eax, [ebp - 0x123]
push ebx
push eax
mov byte [ebp - 0x124], bl
call fcn.1001b1a0
add esp, 0xc
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
pop edi
jne 0x1000801e
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
cmp eax, ebx
jne 0x10007fe9
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov al, bl
jmp 0x10007f5e
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x24]
push 0x1003a590
push eax
call fcn.10007f26
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x2b8]
push esi
push eax
call fcn.1001f699
add esp, 0x20
mov bl, 1
jmp 0x10007fdc

Function at 0x1001b896
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10044e30]
jne 0x1001b8a0
repz ret
jmp fcn.1002603c
Function at 0x100285a4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x10045850]
je 0x100285bf
inc edi
cmp edi, 0x17
jb 0x100285b0
cmp edi, 0x17
jae 0x1002873f
push ebp
push 3
call fcn.1002f0f8
cmp eax, 1
pop ecx
je 0x1002870b
push 3
call fcn.1002f0f8
test eax, eax
pop ecx
jne 0x100285f3
cmp dword [0x10047154], 1
je 0x1002870b
cmp ebx, 0xfc
je 0x1002873e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x100476a8
push ebp
call fcn.1001fc63
add esp, 0xc
test eax, eax
je 0x10028629
push esi
push esi
push esi
push esi
push esi
call fcn.1001b39f
add esp, 0x14
push 0x104
mov esi, 0x100476c1
push esi
push 0
mov byte [0x100477c5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1002866d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.1001fc63
add esp, 0xc
test eax, eax
je 0x1002866d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1001b39f
add esp, 0x14
push esi
call fcn.1001b030
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x100286b2
push esi
call fcn.1001b030
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x100479bc
push 0x1003c13c
sub ecx, eax
push ecx
push eax
call fcn.1002d236
add esp, 0x14
test eax, eax
je 0x100286b2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.1001b39f
add esp, 0x14
jmp 0x100286b4
xor esi, esi
push 0x1003c138
push ebx
push ebp
call fcn.1002d1c5
add esp, 0xc
test eax, eax
je 0x100286d4
push esi
push esi
push esi
push esi
push esi
call fcn.1001b39f
add esp, 0x14
push dword [edi*8 + 0x10045854]
push ebx
push ebp
call fcn.1002d1c5
add esp, 0xc
test eax, eax
je 0x100286f6
push esi
push esi
push esi
push esi
push esi
call fcn.1001b39f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.1002ef3b
add esp, 0xc
jmp 0x1002873e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x1002873e
cmp ebp, 0xffffffff
je 0x1002873e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x10045854]
push dword [esi]
call fcn.1001b030
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x1002ef3b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100259d3
xor ebx, ebx
cmp dword [0x10047bf8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x1002f011
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x1002f0f1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x1002f0f1
push eax
call fcn.10025965
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x10047bf8], eax
call esi
push eax
call fcn.10025965
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10047bfc], eax
call esi
push eax
call fcn.10025965
mov dword [0x10047c00], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100229cf
test eax, eax
pop ecx
pop ecx
je 0x1002efdf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001b39f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x1002f011
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10025965
cmp eax, ebx
pop ecx
mov dword [0x10047c08], eax
je 0x1002f011
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10025965
pop ecx
mov dword [0x10047c04], eax
mov eax, dword [0x10047c04]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x1002f096
cmp dword [0x10047c08], ecx
je 0x1002f096
push eax
call fcn.100259dc
push dword [0x10047c08]
mov esi, eax
call fcn.100259dc
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x1002f096
cmp edi, ebx
je 0x1002f096
call esi
cmp eax, ebx
je 0x1002f063
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1002f063
test byte [ebp - 0x18], 1
jne 0x1002f096
lea eax, [ebp - 0x10]
push eax
call fcn.10022a06
test eax, eax
pop ecx
je 0x1002f07e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001b39f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x1002f08d
or dword [ebp + 0x10], 0x200000
jmp 0x1002f0d1
or dword [ebp + 0x10], 0x40000
jmp 0x1002f0d1
mov eax, dword [0x10047bfc]
cmp eax, dword [ebp - 8]
je 0x1002f0d1
push eax
call fcn.100259dc
cmp eax, ebx
pop ecx
je 0x1002f0d1
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1002f0d1
mov eax, dword [0x10047c00]
cmp eax, dword [ebp - 8]
je 0x1002f0d1
push eax
call fcn.100259dc
cmp eax, ebx
pop ecx
je 0x1002f0d1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10047bf8]
call fcn.100259dc
cmp eax, ebx
pop ecx
je 0x1002f0f1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1002f0f3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4e5fb2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00415337
call fcn.00409d85
cmp eax, esi
pop esi
jne 0x4e5fce
mov ecx, 0x5812c0
jmp fcn.0041fe41
ret
Function at 0x4201d0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4857cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004797fa
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x420252
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004774cd
mov eax, dword [eax]
push 0x64a200
push eax
call fcn.004695c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00479a85
test bl, bl
je 0x420252
push 0x64a200
lea ecx, [esp + 0xc]
call fcn.00479e15
push 0x64dd7c
lea ecx, [esp + 0xc]
call fcn.00479e15
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x42028e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00479a85
jmp 0x420359
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x420312
lea edx, [esp + 0x7c]
push 0x64dd78
push edx
call fcn.004695c4
add esp, 8
test eax, eax
je 0x420312
lea eax, [esp + 0x7c]
push 0x64dd74
push eax
call fcn.004695c4
add esp, 8
test eax, eax
je 0x420312
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4202a2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00479a85
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x420b70
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x420bd2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x420be0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x48584b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x654ee8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x420d18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x420c46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479a85
xor eax, eax
jmp 0x420d8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00479bc2
push esi
lea ecx, [esp + 0xc]
call fcn.00479e51
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x420d6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00420b70
test eax, eax
jne 0x420d6d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00420b70
test eax, eax
jne 0x420d6d
lea eax, [esp + 0x14]
push 0x64dd90
push eax
call fcn.0046a6d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x420d4c
lea ecx, [esp + 0x14]
push 0x64dd8c
push ecx
call fcn.0046a650
mov esi, eax
add esp, 8
test esi, esi
jne 0x420d4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x420d4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00479b72
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x420c5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00479a85
xor eax, eax
jmp 0x420d8f
mov byte [esi], 0
push 0x64dd88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00479a85
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x425aca
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x485eb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0047b060
xor ebp, ebp
mov dword [esi], 0x639ac4
mov dword [esi + 0x3c], ebp
mov dword [esi + 0x40], ebp
lea edi, [esi + 0x44]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], edi
lea ecx, [edi + 0x18]
mov dword [edi], fcn.00477110
call fcn.00417670
lea ecx, [edi + 0x30]
mov byte [esp + 0x38], 1
call fcn.004789c3
lea ebx, [edi + 0x44]
mov ecx, ebx
call fcn.00417670
mov dword [ebx], 0x637abc
mov dword [edi], 0x6399e8
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x9c], vtable.CFont.0
lea ecx, [esi + 0xb0]
call fcn.00417670
lea edi, [esi + 0xc8]
mov dword [edi + 4], ebp
mov dword [edi], vtable.CBitmap.0
mov byte [esp + 0x38], 5
mov dword [esi], 0x6399f0
mov dword [esi + 0xac], ebp
call fcn.004836ff
mov eax, dword [eax + 0xc]
push 0x40e
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call fcn.004806f6
mov ecx, dword [esi + 0xcc]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x1c]
mov eax, 0x55555556
imul ecx
mov ecx, dword [esp + 0x20]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov dword [esi + 0xd4], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0xd0], edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x425c80
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x485f45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6399f0
mov dword [esp + 0x18], 0
lea ecx, [esi + 0xc8]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 4
call fcn.0048074d
lea ecx, [esi + 0xb0]
mov byte [esp + 0x18], 2
mov dword [ecx], 0x637ab8
call fcn.00417870
lea ecx, [esi + 0x9c]
mov dword [esp + 0xc], ecx
mov dword [ecx], vtable.CGdiObject.0
mov byte [esp + 0x18], 5
call fcn.0048074d
lea edi, [esi + 0x44]
mov dword [esp + 0xc], edi
lea ecx, [edi + 0x44]
mov byte [esp + 0x18], 7
mov dword [ecx], 0x637ab8
call fcn.00417870
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 6
call fcn.004789f6
lea ecx, [edi + 0x18]
mov byte [esp + 0x18], 0
mov dword [ecx], 0x637ab8
call fcn.00417870
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.00481b49
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x435620
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x43568e
cmp si, 0x69
ja 0x43568e
add esi, 0xffd0
cmp si, 0x11
je 0x43565e
push 0x11
call edi
test ax, ax
jge 0x43565e
or esi, 0x2000
cmp si, 0x10
je 0x435673
push 0x10
call edi
test ax, ax
jge 0x435673
or esi, 0x4000
cmp si, 0x12
je 0x435688
push 0x12
call edi
test ax, ax
jge 0x435688
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x43569b
mov esi, 0xbd
jmp 0x43564f
cmp si, 0x6e
jne 0x4356a8
mov esi, 0xbe
jmp 0x43564f
cmp si, 0x6f
jne 0x435649
mov esi, 0xbf
jmp 0x43564f

Function at 0x436dd0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x666058]
xor edx, edx
cmp eax, edx
jne 0x436df6
xor eax, eax
mov byte [eax + 0x665f58], al
inc eax
cmp eax, 0x100
jl 0x436dde
mov dword [0x666058], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x665f58
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x436e87
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x436e5a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x436e28
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x436f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x436f53
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x436f3a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret