joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d248
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00408cb0
xor eax, eax
push ebp
push 0x40d30a
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040970c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004098bc
mov eax, dword [ebx]
call fcn.0040d0f4
test al, al
jne 0x40d2e5
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040970c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004098bc
mov eax, dword [ebx]
call fcn.0040d0f4
test al, al
jne 0x40d2e5
mov eax, ebx
call fcn.00408bbc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d311
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00408c1c
lea eax, [ebp - 4]
call fcn.00408bbc
pop eax
jmp eax

Function at 0x40ec28
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x420698
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4206f1
test eax, edx
je 0x4206f4
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4206af
movzx eax, word [eax]
sub eax, ecx
jmp 0x4206d6
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x4206d7
add ecx, 4
js 0x4206c7
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x4206d4
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x4206d6
xor eax, eax
ret
test eax, eax
je 0x420700
test edx, edx
jne 0x4206a0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x4217d4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov edi, eax
xor ebx, ebx
mov eax, edi
call fcn.00409670
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
je 0x421872
test esi, 0x400
jne 0x421809
test esi, 0x10
setne bl
jmp 0x421872
cmp byte [esp], 0
je 0x42183d
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421872
push eax
call sub.kernel32.dll_CloseHandle
test esi, 0x10
setne bl
jmp 0x421872
test esi, 0x10
je 0x421849
mov bl, 1
jmp 0x421872
push 0
push 0x2000000
push 3
push 0
push 1
push 0x80000000
push ebp
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x421870
push eax
call sub.kernel32.dll_CloseHandle
xor ebx, ebx
jmp 0x421872
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4267ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4267e5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00408d54
jmp 0x4267ee
mov eax, ebx
mov edx, esi
call fcn.00408fac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4267f8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42681c
movzx eax, word [esp]
jmp 0x42681e
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x427cf0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x427e17
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00427af8
mov esi, eax
mov eax, dword [0x5a0348]
cmp byte [eax], 0
je 0x427dbd
mov eax, dword [0x5a0048]
call fcn.00406240
call fcn.00405618
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x427cc0]
call fcn.0040bad0
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x427e30
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x427df9
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x59ffcc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5a463c]
call fcn.0040c1d0
push eax
call sub.user32.dll_LoadStringW
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427e1e
lea eax, [ebp - 4]
mov edx, dword [0x427cc0]
call fcn.0040bbf4
pop eax
jmp eax
Function at 0x428e20
Capabilities:
Check os version
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
mov dword [ebp - 0x11c], 0x114
lea eax, [ebp - 0x11c]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
je 0x428e63
mov eax, dword [ebp - 0x10c]
mov dword [0x5a48f8], eax
mov eax, 0x5a48fc
lea edx, [ebp - 0x108]
mov ecx, 0x80
call fcn.0040970c
mov eax, 0x5a4900
call fcn.00408bbc
xor eax, eax
mov dword [0x5a4904], eax
xor eax, eax
mov dword [ebp - 4], eax
cmp dword [0x5a47bc], 0xa
jl 0x428fb9
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x428fc4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x428fb9
xor eax, eax
push ebp
push 0x428fb2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x429020
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x428f12
cmp dword [ebp - 8], 2
jle 0x428f12
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x428ee5
adc edx, 0
mov eax, 0x5a4900
call fcn.004097e4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5a4900]
call fcn.00409670
push eax
push 0
push 0
push 0x429020
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
jmp 0x428f6c
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0x429040
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x428f6c
cmp dword [ebp - 8], 2
jle 0x428f6c
mov edx, dword [ebp - 8]
sub edx, 2
sar edx, 1
jns 0x428f41
adc edx, 0
mov eax, 0x5a4900
call fcn.004097e4
lea eax, [ebp - 8]
push eax
mov eax, dword [0x5a4900]
call fcn.00409670
push eax
push 0
push 0
push 0x429040
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov dword [ebp - 8], 4
lea eax, [ebp - 8]
push eax
push 0x5a4904
push 0
push 0
push 0x429054
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
je 0x428f99
xor eax, eax
mov dword [0x5a4904], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428fb9
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
mov byte [0x59d360], 1
mov esp, ebp
pop ebp
ret
Function at 0x4290fc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4291d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00408ff4
lea eax, [ebp - 4]
call fcn.00409164
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409670
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4291be
mov eax, ebx
call fcn.004054a4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4291b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00409670
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x42919f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4291e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x42919f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4291be
mov eax, dword [ebp - 0x10]
call fcn.004054c0
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4291dd
lea eax, [ebp - 4]
call fcn.00408bbc
pop eax
jmp eax

Function at 0x429ac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004090a4
mov ebp, eax
push ebp
push 0
push 0
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec08
mov edi, eax
cmp edi, 0x104
jbe 0x429a6b
mov eax, edi
add eax, eax
call fcn.004054a4
mov esi, eax
jmp 0x429a6d
mov esi, esp
push ebp
push esi
push edi
mov ecx, ebx
xor edx, edx
mov eax, 0xfde9
call fcn.0040ec08
push esi
call sub.user32.dll_CharUpperW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x429aa6
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x429a90
mov eax, esp
cmp esi, eax
je 0x429ab3
mov eax, esi
call fcn.004054c0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x429aec
cmp bl, 0
je 0x429ae8
cmp bl, 0x41
jl 0x429ae3
cmp bl, 0x5a
jg 0x429ae3
or bl, 0x20
xor al, bl
inc esi
jmp 0x429ac7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x429a2c
Function at 0x42aa80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42aa9e
mov eax, dword [eax - 4]
lea ebx, [edi + esi]
cmp eax, ebx
jg 0x42aab6
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42aab1
mov eax, dword [eax - 4]
mov dword [ebp - 8], eax
jmp 0x42aabb
add edi, esi
mov dword [ebp - 8], edi
movzx eax, word [ebp + 0x14]
cmp ax, word [ebp + 0x10]
je 0x42ab29
xor eax, eax
mov dword [ebp - 0xc], eax
cmp esi, dword [ebp - 8]
jge 0x42ab72
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42aae7
inc dword [ebp - 0xc]
jmp 0x42aaff
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x10]
jne 0x42aaff
cmp dword [ebp - 0xc], 0
jle 0x42aaff
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jne 0x42ab21
xor eax, eax
jmp 0x42ab1d
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42ab1c
mov eax, esi
jmp 0x42ab75
inc eax
cmp eax, ecx
jle 0x42ab09
inc esi
cmp esi, dword [ebp - 8]
jl 0x42aad3
jmp 0x42ab72
mov byte [ebp - 0xd], 0
cmp esi, dword [ebp - 8]
jge 0x42ab72
mov eax, dword [ebp - 4]
mov eax, dword [eax]
movzx eax, word [eax + esi*2]
cmp ax, word [ebp + 0x14]
jne 0x42ab4a
movzx eax, byte [ebp - 0xd]
xor al, 1
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
jne 0x42ab6c
xor eax, eax
jmp 0x42ab68
movzx edi, word [edx + eax*2]
mov ebx, dword [ebp - 4]
mov ebx, dword [ebx]
cmp di, word [ebx + esi*2]
jne 0x42ab67
mov eax, esi
jmp 0x42ab75
inc eax
cmp eax, ecx
jle 0x42ab54
inc esi
cmp esi, dword [ebp - 8]
jl 0x42ab32
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42ad04
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42ad21
mov eax, dword [eax - 4]
mov esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
test eax, eax
je 0x42ad2f
mov eax, dword [eax - 4]
mov ebx, eax
sub ebx, dword [ebp + 8]
sub ebx, esi
inc ebx
cmp dword [ebp + 8], 0
jl 0x42ae51
test ebx, ebx
jl 0x42ae51
test esi, esi
jle 0x42ae51
mov eax, dword [ebp - 8]
call fcn.00409670
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00409670
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, eax
add ecx, eax
movzx eax, word [ebp - 0xa]
cmp ax, word [ebp + 0xc]
je 0x42adee
xor eax, eax
mov dword [ebp - 0x14], eax
test ebx, ebx
jl 0x42ae51
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42add3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42ada2
inc dword [ebp - 0x14]
jmp 0x42adb2
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp + 0xc]
jne 0x42adb2
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0
jle 0x42adbd
or eax, 0xffffffff
jmp 0x42add3
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42add0
inc eax
jmp 0x42add3
or eax, 0xffffffff
test eax, eax
jl 0x42addb
cmp esi, eax
jg 0x42ad90
cmp esi, eax
jg 0x42ade6
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ae54
inc edx
dec dword [ebp - 0x1c]
jne 0x42ad8c
jmp 0x42ae51
mov byte [ebp - 0x15], 0
test ebx, ebx
jl 0x42ae51
inc ebx
mov dword [ebp - 0x1c], ebx
xor edx, edx
xor eax, eax
jmp 0x42ae38
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
cmp bx, word [ebp - 0xa]
jne 0x42ae17
movzx ebx, byte [ebp - 0x15]
xor bl, 1
mov byte [ebp - 0x15], bl
cmp byte [ebp - 0x15], 0
je 0x42ae22
or eax, 0xffffffff
jmp 0x42ae38
lea ebx, [eax + edx]
movzx ebx, word [ecx + ebx*2]
mov edi, dword [ebp - 0x10]
cmp bx, word [edi + eax*2]
jne 0x42ae35
inc eax
jmp 0x42ae38
or eax, 0xffffffff
test eax, eax
jl 0x42ae40
cmp esi, eax
jg 0x42ae00
cmp esi, eax
jg 0x42ae4b
mov eax, edx
add eax, dword [ebp + 8]
jmp 0x42ae54
inc edx
dec dword [ebp - 0x1c]
jne 0x42adfc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x439a28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov dl, 0xb5
mov ebx, eax
xor eax, eax
mov ecx, eax
mov esi, ebx
shr esi, cl
mov ecx, esi
and cl, 0xff
xor dl, cl
inc eax
cmp eax, 4
jne 0x439a30
mov eax, edx
pop esi
pop ebx
ret

Function at 0x43c530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x43c547
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x43c537
mov eax, ecx
pop ebx
ret
Function at 0x44ea88
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
test dl, dl
je 0x44ea9c
add esp, 0xfffffff0
call fcn.00407378
mov ebx, edx
mov esi, eax
mov dl, 1
mov eax, dword [0x448a0c]
call fcn.0046a788
mov dword [esi + 4], eax
mov dl, 1
mov eax, dword [0x44da58]
call fcn.0046bea4
mov dword [esi + 8], eax
mov dl, 1
mov eax, dword [0x44da58]
call fcn.0046bea4
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x10], eax
mov eax, esi
test bl, bl
je 0x44eaf1
call fcn.004073d0
pop dword fs:[0]
add esp, 0xc
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp

Function at 0x4aba14
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
or dl, byte [ebx + 0xd]
je 0x4aba57
cmp byte [ebx + 0x11], 0
jne 0x4aba57
cmp byte [ebx + 0x24], 0
jne 0x4aba57
mov byte [ebx + 0xf], 0
mov byte [ebx + 0xd], 0
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x4aba6e
mov ecx, dword [0x5a02cc]
mov dl, 1
mov eax, dword [0x47c764]
call fcn.00427f00
call fcn.00408224
pop ebx
ret
mov ecx, dword [0x5a02cc]
mov dl, 1
mov eax, dword [0x47c764]
call fcn.00427f00
call fcn.00408224
pop ebx
ret

Function at 0x4ac030
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4ac07e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004ab98c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ac097
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4ac0a0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.004ab98c
dec esi
jne 0x4ac0c2
mov byte [ebx + 0xf], 0
pop esi
pop ebx
ret

Function at 0x4aea0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x5a78c4
cmp dword [edi], 0
jne 0x4aea88
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x5a78c0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x59e804
mov ecx, 2
call fcn.004058a0
mov edx, 0x4ae9e4
lea eax, [esi + 5]
call fcn.004aea04
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004aea04
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4aea5d
mov dword [0x5a78c0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4cf1dc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00409670
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.004cec78
test al, al
jne 0x4cf23d
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5a0510]
mov dl, 1
mov eax, dword [0x4cd784]
call fcn.00427f3c
call fcn.00408224
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004ceb74
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d9ed8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4d9ede
ret
Function at 0x4fa2e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x5a7b20], 0
je 0x4fa424
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5a029c]
mov edx, dword [edx]
xor al, byte [edx + 0xd4]
je 0x4fa424
mov eax, dword [0x5a7b24]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x5a7b20]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4fa3f3
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x5a7b20]
call fcn.0049aa84
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4fa3eb
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x225], 0
je 0x4fa3eb
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x80]
test al, al
je 0x4fa3eb
mov eax, dword [ebp - 0x14]
call fcn.00506e58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4fa3eb
push ebp
call fcn.004fa29c
pop ecx
test al, al
jne 0x4fa3eb
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffb9
call fcn.00407170
test al, al
je 0x4fa3eb
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffba
call fcn.00407170
cmp byte [ebp - 1], 0
je 0x4fa3eb
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.00410ed4
test al, al
je 0x4fa3eb
mov edx, dword [ebp - 0x14]
mov eax, dword [0x5a7b24]
call fcn.004f9a1c
inc edi
dec ebx
jne 0x4fa345
mov eax, dword [0x5a7b24]
cmp dword [eax + 8], 0
jle 0x4fa40b
mov eax, dword [0x5a7b24]
call fcn.004f9ad0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4fa424
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004fa104
pop ecx
test al, al
jne 0x4fa424
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5034d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.004110b8
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004fca28
test ebx, ebx
jne 0x503523
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00503380
mov ebx, eax
test ebx, ebx
je 0x503619
cmp esi, ebx
je 0x50354c
mov eax, dword [esp]
sub eax, dword [ebx + 0x50]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x54]
mov dword [esp + 0x118], eax
jmp 0x503561
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x503599
add eax, 0xffffff5f
sub eax, 2
jb 0x5035b1
dec eax
sub eax, 2
jb 0x5035c5
dec eax
sub eax, 2
jb 0x5035bb
jmp 0x5035cf
add eax, 0xfffffdff
sub eax, 2
jb 0x5035b1
dec eax
sub eax, 2
jb 0x5035c5
dec eax
sub eax, 2
jb 0x5035bb
jmp 0x5035cf
mov byte [esp + 0x120], 0
jmp 0x5035d7
mov byte [esp + 0x120], 2
jmp 0x5035d7
mov byte [esp + 0x120], 1
jmp 0x5035d7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.005728ec
mov esi, eax
call fcn.004f90e8
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004fe5e8
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x50361b
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x5278f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
xor eax, eax
mov bx, ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52790e
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52791e
or bx, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x52792e
or bx, 2
mov eax, ebx
pop ebx
ret

Function at 0x549c08
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
push 0
push 0
push 0xe
push edi
call sub.user32.dll_SendMessageW
mov ebx, eax
mov eax, esi
mov ecx, ebx
xor edx, edx
call fcn.00408d54
test ebx, ebx
je 0x549c5a
mov eax, dword [esi]
call fcn.00409670
push eax
lea eax, [ebx + 1]
push eax
push 0xd
push edi
call sub.user32.dll_SendMessageW
sub ebx, eax
test ebx, ebx
jle 0x549c5a
mov eax, dword [esi]
test eax, eax
je 0x549c4f
mov eax, dword [eax - 4]
mov edx, eax
sub edx, ebx
mov eax, esi
call fcn.004097e4
pop edi
pop esi
pop ebx
ret