joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402cd0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403e74
test esi, esi
jne 0x402d07
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403f64
jmp 0x402d28
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402b6c
mov dword [esp], eax
test esi, esi
je 0x402d28
cmp dword [ebx], 0
je 0x402d28
dec esi
jmp 0x402d0f
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x403228
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x413020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032a0
xor eax, eax
push ebp
push 0x403299
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032a0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x413020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x413020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cf0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x414044], 0
je 0x403d51
cmp word [0x414218], 0xd7b2
jne 0x403d19
cmp dword [0x414220], 0
jbe 0x403d19
mov eax, 0x414214
call dword [0x414230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x413068
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403d78
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41302c], 0
jne 0x403d6d
push 0
push 0x413060
push 0x413068
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4058b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405916
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004040e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e1c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405900
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40591d
lea eax, [ebp - 0x10]
call fcn.00403e74
ret

Function at 0x409be0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c19
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f64
jmp 0x409c22
mov eax, ebx
mov edx, esi
call fcn.00403ec8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409c2c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409c4d
mov al, byte [esp]
jmp 0x409c4f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40a2e4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a14c
mov eax, dword [0x4134f8]
cmp byte [eax], 0
je 0x40a360
mov eax, dword [0x41341c]
call fcn.00402d98
call fcn.00402a98
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00407534
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a3a8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a396
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4133f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x414660]
call fcn.00404d58
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40b0a8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b10c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004040e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00407070
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b113
lea eax, [ebp - 0xc]
call fcn.00403e74
ret

Function at 0x4128cc
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, 0x41284c
call fcn.00405b28
xor eax, eax
push ebp
push 0x4129c8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
mov eax, 1
call fcn.00402cd0
cmp dword [ebp - 0x14], 0
jne 0x41292c
push 1
push 0x4129d8
push 0x4129d8
push 0x4129dc
push 0x4129e8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x412977
lea edx, [ebp - 0x18]
mov eax, 1
call fcn.00402cd0
mov eax, dword [ebp - 0x18]
call fcn.004073e0
test al, al
je 0x412977
push 1
push 0x4129d8
lea edx, [ebp - 0x1c]
mov eax, 1
call fcn.00402cd0
mov eax, dword [ebp - 0x1c]
call fcn.00404300
push eax
push 0x4129dc
push 0x4129e8
call sub.user32.dll_GetDesktopWindow
push eax
call sub.shell32.dll_ShellExecuteA
push 0x4129f0
push 0
push 0x1f0001
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
test ebx, ebx
jne 0x4129ad
call sub.kernel32.dll_GetLastError
cmp eax, 0xb7
je 0x4129ad
push 0x4129f0
push 0
push 0
call fcn.00405c0c
call fcn.00412798
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4129cf
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403e98
ret
Function at 0x50e379
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub dl, 0xb1
stc
not dl
jmp 0x57eb94
bt eax, 0x1e
lea esp, [esp + 0x24]
je 0x526aa7
xor dl, 0x77
call fcn.0056f9dd
add byte [eax], al
dec esp
inc ebx
dec ebp
popal
jo 0x50e722
je 0x50e743
imul ebp, dword [esi + 0x67], 0xf59c0057
push dword [esp + 0x1e]
ret 0x22
xor eax, 0x601b3c40
aas
mov dl, 0xe4
add dl, cl
clc
ret 0xc80f
cmp bp, 0xce2a
bt sp, sp
push esp
clc
xor dl, 0x77
mov word [esp], 0x9b5
push 0xd36b90a7
inc dl
pushfd
jmp 0x50deb1
not dl
pushfd
lea esp, [esp + 0x3e]
je 0x584b0c
rol dl, 2
push 0x8be2a62c
stc
xor dl, 0x77
call fcn.00584790
ror dl, 2
mov byte [esp + 4], al
push edx
clc
jmp 0x574ec5
stc
pushal
rol dl, 2
push ecx
jmp 0x50e6b1

Function at 0x526fc7
Capabilities:
Check for software breakpoints

Disassembly:
mov byte [edi - 1], 0
pop eax
not ah
lahf
push edx
mov dword [esp], ebx
pushal
not ax
lea eax, [0x574b24]
push dword [esp]
lea esp, [esp + 0x24]
jb 0x571dbd
pushfd
pushal
mov dword [esp + 0x20], 0x50ece4
mov word [esp], 0x5e78
pushal
call fcn.0056f3d2
outsd dx, dword [esi]
insb byte es:[edi], dx
insb byte es:[edi], dx
insb byte es:[di], dx
insb byte es:[edi], dx
add byte [eax], al
add byte [edx + 0x65], dl
imul esi, dword [bp + di + 0x74], 0x6c437265
imul esi, dword [eax + 0x62], 0x6472616f
inc esi
outsd dx, dword [esi]
jb 0x52708f
popal
je 0x527066
add byte [eax], al
add byte [edi + 0x65], al
je 0x527082
imul esp, dword [ebp + 0x77], 0x74726f70
dec edi
jb 0x52709d
inc ebp
js 0x527039
add byte [eax], al
inc edi
je 0x527083
insb byte es:[edi], dx
inc ebx
je 0x5270b6
insb byte es:[edi], dx
dec ecx
inc esp
add byte [ebp + 0xf142464], cl
test dword [esp + edi*2], esp
add al, 0
push esi
test eax, edi
test cl, 0x9c
mov byte [esp], 0x49
movzx ecx, word [edi + ecx*2]
lea esp, [esp + 4]
mov bh, 0xf9
shr byte [eax + 0x66], 1
bsf edi, edx
adc al, 0x8b
cmp al, 0x8f
jmp [eax - 0x6e]
jge 0x5270a3
add byte [eax + ecx*4 - 0x3b7cdbdc], bl
add al, 0xf
and al, 0x83
les eax, [edi + ecx]
mov esp, ecx
rol byte [eax + eax], 1
clc
test byte [eax + eax], al
pushal
mov dword [esp + 0x1c], 0x50ece4
call fcn.0050d1cb
Function at 0x402fd8
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0040f237
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0040f237
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jne 0x403054
mov eax, dword [0x66a804]
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], esp
push dword [ebp + 8]
push 0
push 0x1f0fff
mov eax, 5
call fcn.0040f243
cmp dword [ebp - 0x18], esp
je 0x403080
push 6
call fcn.0040f23d
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0xf01ff
push dword [ebp - 4]
mov eax, 0xa
call fcn.0040f243
cmp dword [ebp - 0x18], esp
je 0x4030ae
push 6
call fcn.0040f23d
add esp, 4
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
push str.SeDebugPrivilege
push 0
mov eax, 0xb
call fcn.0040f243
cmp dword [ebp - 0x18], esp
je 0x4030da
push 6
call fcn.0040f23d
add esp, 4
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0xc
call fcn.0040f243
cmp dword [ebp - 0x18], esp
je 0x403169
push 6
call fcn.0040f23d
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 4]
mov eax, 0xd
call fcn.0040f243
cmp dword [ebp - 0x18], esp
je 0x40318e
push 6
call fcn.0040f23d
add esp, 4
mov eax, dword [ebp - 0x14]
jmp 0x403196
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0040f231
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0040f231
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8

Function at 0x408487
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x40e058
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x40e07a
mov eax, 0xfffffffd
jmp 0x40e0f2
mov ebx, dword [0x66a84c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x40e0c0
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x66a84c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x40e0e8
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x40e0f2
mov esp, ebp
pop ebp
ret 4
Function at 0x41a5f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa90b
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.0049cb24
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41a672
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049a49d
mov eax, dword [eax]
push 0x65923c
push eax
call fcn.0048bc84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049cdaf
test bl, bl
je 0x41a672
push 0x65923c
lea ecx, [esp + 0xc]
call fcn.0049d18b
push 0x65cdb4
lea ecx, [esp + 0xc]
call fcn.0049d18b
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 0x41a6ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049cdaf
jmp 0x41a779
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 0x41a732
lea edx, [esp + 0x7c]
push 0x65cdb0
push edx
call fcn.0048bc84
add esp, 8
test eax, eax
je 0x41a732
lea eax, [esp + 0x7c]
push 0x65cdac
push eax
call fcn.0048bc84
add esp, 8
test eax, eax
je 0x41a732
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 0x41a6c2
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.0049cdaf
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 0x41af70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4aa98b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x666024]
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 0x41b0a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41afd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049cdaf
xor eax, eax
jmp 0x41b11f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049cf38
push esi
lea ecx, [esp + 0xc]
call fcn.0049d1c7
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x65cdec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41b0fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x65cde4
push SysReAllocStringLen
call fcn.00466590
test eax, eax
jne 0x41b0fd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x65cdd0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.00466590
test eax, eax
jne 0x41b0fd
lea eax, [esp + 0x14]
push 0x65cdc8
push eax
call fcn.0048ce30
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b0dc
lea ecx, [esp + 0x14]
push 0x65cdc4
push ecx
call fcn.0048cdb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41b0dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41b0df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049cee8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41afee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049cdaf
xor eax, eax
jmp 0x41b11f
mov byte [esi], 0
push 0x65cdc0
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.0049cdaf
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 0x42b660
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 0x42b6ce
cmp si, 0x69
ja 0x42b6ce
add esi, 0xffd0
cmp si, 0x11
je 0x42b69e
push 0x11
call edi
test ax, ax
jge 0x42b69e
or esi, 0x2000
cmp si, 0x10
je 0x42b6b3
push 0x10
call edi
test ax, ax
jge 0x42b6b3
or esi, 0x4000
cmp si, 0x12
je 0x42b6c8
push 0x12
call edi
test ax, ax
jge 0x42b6c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42b6db
mov esi, 0xbd
jmp 0x42b68f
cmp si, 0x6e
jne 0x42b6e8
mov esi, 0xbe
jmp 0x42b68f
cmp si, 0x6f
jne 0x42b689
mov esi, 0xbf
jmp 0x42b68f

Function at 0x42ce90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x676f90]
xor edx, edx
cmp eax, edx
jne 0x42ceb6
xor eax, eax
mov byte [eax + 0x676e90], al
inc eax
cmp eax, 0x100
jl 0x42ce9e
mov dword [0x676f90], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x676e90
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42cf47
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 0x42cf1a
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 0x42cee8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42cfc0
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 0x42d013
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 0x42cffa
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
Function at 0x433a50
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x433be8
cmp ebp, ebx
jle 0x433be8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, reloc.OLEAUT32.dll_VariantInit
mov dword [esp + 0x10], edi
jns 0x433aae
dec eax
or eax, 0xfffffff8
inc eax
je 0x433ab5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x433ac4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x433acb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0049caf0
add esp, 4
cmp eax, ebx
je 0x433aec
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0049caf0
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x433bde
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x433bc5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x433bb1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x433ba6
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x433bb4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x433bb4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x433b50
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x433b41
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x436880
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4abe58
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x4368b9
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.004a472d
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004a47b5
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.00436940
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004a47f2
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24