joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b98
Capabilities:
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0xf003f
push 0
push edi
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
mov ebx, eax
test ebx, ebx
je 0x403be3
push ebx
push edi
push str.cant_open_key__s_result0x_x
lea eax, [ebp - 0x21c]
push eax
call sub.USER32.DLL_wsprintfA
add esp, 0x10
mov eax, ebx
jmp 0x403d29
push 0
push 0
push 0
lea edx, [ebp - 8]
push 0
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
mov ebx, eax
test ebx, ebx
je 0x403c1a
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, ebx
jmp 0x403d29
xor edi, edi
cmp edi, dword [ebp - 8]
jae 0x403d1e
mov dword [ebp - 0xc], 0x100
mov byte [esi + 0x108], 0
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x11c]
push eax
push edx
lea ecx, [ebp - 0x10]
lea eax, [ebp - 0xc]
push ecx
push 0
push eax
lea edx, [esi + 0x108]
push edx
push edi
mov ecx, dword [ebp - 4]
push ecx
call sub.ADVAPI32.DLL_RegEnumValueA
mov ebx, eax
test ebx, ebx
jne 0x403d1e
mov eax, dword [ebp + 0x10]
push eax
call fcn.0044676c
pop ecx
push eax
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [esi + 0x108]
push ecx
call fcn.00446968
add esp, 0xc
test eax, eax
jne 0x403d14
xor eax, eax
lea edx, [esi + 0x208]
movsx ecx, byte [edx]
dec ecx
jne 0x403cd5
mov ebx, eax
test ebx, ebx
jns 0x403ca7
add ebx, 7
sar ebx, 3
mov ecx, eax
and ecx, 0x80000007
jns 0x403cb9
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
mov edi, 1
shl edi, cl
mov dword [ebp - 0x1c], edi
mov cl, byte [ebp - 0x1c]
not cl
and byte [ebp + ebx - 0x11c], cl
inc eax
inc edx
cmp eax, 0x100
jl 0x403c98
cmp dword [esi + 0x308], 0
je 0x403d0c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x11c]
push eax
push edx
mov eax, dword [ebp - 0x10]
add esi, 0x108
push eax
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
mov ebx, eax
jmp 0x403d0e
xor ebx, ebx
test ebx, ebx
jne 0x403d1e
jmp 0x403d1e
inc edi
cmp edi, dword [ebp - 8]
jb 0x403c25
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403d30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x455be0
lea edx, [ebp - 0x108]
push edx
call fcn.004466dc
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.0044676c
pop ecx
mov ebx, dword [ebp + 0xc]
lea esi, [ebp + eax - 0x108]
jmp 0x403e6a
push 0x2c
push ebx
call fcn.00446865
add esp, 8
mov edi, eax
test eax, eax
je 0x403d91
mov byte [edi], 0
push esi
push edi
xor eax, eax
mov edi, ebx
or ecx, 0xffffffff
lea esi, [ebp - 0x188]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x188]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push 0x455be6
push eax
call fcn.004466dc
add esp, 8
mov byte [esi], 0
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x108]
push ecx
call fcn.004466dc
add esp, 8
lea eax, [ebp - 0x108]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403640
add esp, 8
xor eax, eax
or ecx, 0xffffffff
push esi
push edi
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea esi, [ebp - 0x188]
xchg edi, esi
mov edx, ecx
mov eax, edi
shr ecx, 2
lea eax, [ebp - 0x188]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push str..PNF
push eax
call fcn.004466dc
add esp, 8
mov byte [esi], 0
lea edx, [ebp - 0x188]
push edx
lea ecx, [ebp - 0x108]
push ecx
call fcn.004466dc
add esp, 8
lea eax, [ebp - 0x108]
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.00403640
add esp, 8
test edi, edi
je 0x403e73
lea ebx, [edi + 1]
cmp byte [ebx], 0
jne 0x403d7d
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403e7c
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff8a8
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 1
push 0x104
lea eax, [ebp - 0x250]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push str.INFOTHER_
lea edx, [ebp - 0x250]
push edx
call fcn.004466dc
add esp, 8
lea ecx, [ebp - 0x250]
push ecx
call fcn.0044676c
pop ecx
mov esi, eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x250]
or ecx, 0xffffffff
lea esi, [ebp - 0x358]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x250]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
push str..inf
push eax
call fcn.004466dc
add esp, 8
lea edx, [ebp - 0x148]
push edx
lea ecx, [ebp - 0x250]
push ecx
call sub.KERNEL32.DLL_FindFirstFileA
mov dword [ebp - 4], eax
lea eax, [ebp + esi - 0x358]
mov dword [ebp - 8], eax
jmp 0x403fd4
test byte [ebp - 0x148], 0x10
jne 0x403fc2
mov edx, dword [ebp - 8]
mov byte [edx], 0
lea ecx, [ebp - 0x11c]
push ecx
lea eax, [ebp - 0x358]
push eax
call fcn.004466dc
add esp, 8
push 0x455c02
lea edx, [ebp - 0x358]
push edx
call fcn.00448550
add esp, 8
mov ebx, eax
test ebx, ebx
je 0x403fc2
xor esi, esi
jmp 0x403f8c
push edi
lea eax, [ebp - 0x758]
push eax
call fcn.00446871
add esp, 8
test eax, eax
je 0x403f8c
mov esi, 1
jmp 0x403fa4
lea eax, [ebp - 0x758]
push eax
push 0x455c04
push ebx
call fcn.00448584
add esp, 0xc
inc eax
jne 0x403f71
push ebx
call fcn.004481fc
pop ecx
test esi, esi
je 0x403fc2
lea edx, [ebp - 0x358]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.00403640
add esp, 8
lea eax, [ebp - 0x148]
push eax
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.DLL_FindNextFileA
mov ebx, eax
cmp dword [ebp - 4], 0xffffffff
je 0x403fe2
test ebx, ebx
jne 0x403f2a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ac84
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00444308
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x40ace5
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x40ace5
cmp byte [ebp - 0x102], 0
je 0x40ace5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00444534
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x410068
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 0x41006e
ret
Function at 0x4124c4
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x412515
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4124fc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4124ec
jmp 0x412515
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4124fd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418bf4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45aae8
cmp dword [edi], 0
jne 0x418c70
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x45aae4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x456ce0
mov ecx, 2
call fcn.0044350c
mov edx, 0x418bcc
lea eax, [esi + 5]
call fcn.00418bec
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00418bec
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 0x418c45
mov dword [0x45aae4], 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 0x418d8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x418ddc]
test si, 4
je 0x418da0
or bl, 1
test si, 8
je 0x418daa
or bl, 4
test si, 1
je 0x418db4
or bl, 8
test si, 2
je 0x418dbe
or bl, 0x10
test si, 0x10
je 0x418dc8
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x418dd7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x418de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x418e18]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x418df9
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x418e08
or bl, 4
test esi, 0x20000000
je 0x418e13
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41f4b8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41f65d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x43316c]
call fcn.00443948
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00444308
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41f633
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004320dc
test al, al
je 0x41f626
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x41f66c
lea eax, [ebp - 0x254]
call fcn.0043d4f0
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41f626
xor eax, eax
push ebp
push 0x41f61f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x41f6a4
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41f608
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00444534
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x41f608
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00444534
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f626
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41f529
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00436508
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41f664
lea eax, [ebp - 0x260]
call fcn.00444308
ret

Function at 0x41fe00
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x45aab0]
cmp byte [eax + 0x8d], 0
jne 0x41fe71
cmp dword [0x45aaf4], 0
jne 0x41fe32
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x41fdbc
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x45aaf4], eax
cmp dword [0x45aaf0], 0
jne 0x41fe4d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x45aaf0], eax
cmp dword [0x45aaf8], 0
jne 0x41fe71
push esp
push 0
push 0
push 0x41fd60
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x45aaf8], eax
pop edx
ret
Function at 0x41ff68
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41ff7f
add esp, 0xfffffff0
call fcn.00443c4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043934c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x432e30]
call fcn.00443948
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x432e30]
call fcn.00443948
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x40ff20]
call fcn.004157c0
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x4200f0
mov eax, dword [0x45a9c0]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00415b64
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x4219d0
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45a9c0]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00440238
test eax, eax
je 0x42006f
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043ce78
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00440260
test eax, eax
je 0x420083
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00444534
mov eax, dword [0x45a9c4]
cmp byte [eax], 0
jne 0x4200b4
mov eax, ebx
call fcn.004201dc
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4200e6
call fcn.00443ca4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420434
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45aab0]
cmp dword [eax + 0x24], 0
je 0x4204c4
cmp dword [ebx + 0x7c], 0
jne 0x4204c1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4203c8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x4204c1
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x420490
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4204c1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.004343dc
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42049c
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x420e14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x420e49
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004443ec
jmp 0x420e53
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.004443a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x421d00
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x421d38
mov eax, esi
call fcn.0042dfec
test al, al
je 0x421d38
mov eax, dword [ebx + 0x6c]
call fcn.0042dbc4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x421d38
push 0
mov eax, dword [ebx + 0x6c]
call fcn.0042dbc4
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x425d38
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x45ab38], 0
sete dl
or al, dl
jne 0x425e7c
mov eax, dword [0x45ab3c]
mov bx, 0xffff
call fcn.00443b54
mov eax, dword [0x45ab38]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x425e4b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45ab38]
call fcn.004343dc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x425e43
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x425e43
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x425e43
mov eax, dword [ebp - 0x10]
call fcn.0042dbc4
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x425e43
push ebp
call fcn.00425cf4
pop ecx
test al, al
jne 0x425e43
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x425dff
mov eax, dword [ebp - 0x10]
call fcn.0042c508
dec eax
jle 0x425e43
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00443b54
cmp byte [ebp - 0x15], 0
je 0x425e43
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x425e43
mov edx, dword [ebp - 0x10]
mov eax, dword [0x45ab3c]
call fcn.004255a4
inc edi
dec esi
jne 0x425d92
mov eax, dword [0x45ab3c]
cmp dword [eax + 8], 0
jle 0x425e63
mov eax, dword [0x45ab3c]
call fcn.00425634
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x425e7c
push ebp
mov eax, dword [ebp - 0x14]
call fcn.00425bac
pop ecx
test al, al
jne 0x425e7c
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b694
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42b6c5
je 0x42b71f
sub eax, 7
je 0x42b6e6
dec eax
je 0x42b710
sub eax, 0x17
je 0x42b7a0
jmp 0x42b7de
add eax, 0xffffff00
sub eax, 9
jb 0x42b78c
add eax, 0xffffff09
sub eax, 0xb
jb 0x42b776
jmp 0x42b7de
mov eax, ebx
call fcn.00418f08
mov edi, eax
test edi, edi
je 0x42b83e
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42b847
jmp 0x42b83e
test byte [ebx + 0x44], 0x20
jne 0x42b847
jmp 0x42b83e
mov edx, esi
mov eax, ebx
call fcn.00428f88
cmp dword [esi + 0xc], 0xffffffff
jne 0x42b847
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0043ae98
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00427a30
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042b544
test eax, eax
je 0x42b847
mov dword [esi + 0xc], 1
jmp 0x42b847
mov edx, esi
mov eax, ebx
call fcn.0042b608
test al, al
jne 0x42b847
jmp 0x42b83e
mov eax, ebx
call fcn.00428600
test al, al
jne 0x42b847
jmp 0x42b83e
mov eax, ebx
call fcn.0042dbc4
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42b83e
cmp dword [0x456ed0], 0
je 0x42b83e
mov eax, dword [0x456ed0]
cmp ebx, dword [eax + 0x24]
jne 0x42b83e
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x456ed0]
call fcn.00428ea4
jmp 0x42b83e
mov eax, dword [0x45ab00]
cmp byte [eax + 0x20], 0
je 0x42b83e
mov eax, dword [0x45ab00]
cmp dword [eax + 0x1c], 0
je 0x42b83e
mov eax, dword [esi]
mov edx, dword [0x45ab00]
cmp eax, dword [edx + 0x1c]
jne 0x42b83e
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00418e1c
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00443b54
jmp 0x42b847
mov edx, esi
mov eax, ebx
call fcn.00428f88
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42bcd8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42bcf4
cmp dword [esi + 4], 0
je 0x42bd21
test byte [ebx + 0x45], 1
jne 0x42bd13
mov eax, ebx
call fcn.0042ad50
test eax, eax
jne 0x42bd13
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42be31
mov edx, esi
mov eax, ebx
call fcn.0042b950
jmp 0x42be31
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42be2a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042dbc4
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00428ea4
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042bcd8
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042dbc4
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42be31
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43efe0
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x43f019
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004443ec
jmp 0x43f022
mov eax, ebx
mov edx, esi
call fcn.004443a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43f02c
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
test eax, eax
jle 0x43f04d
mov al, byte [esp]
jmp 0x43f04f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret