joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40da14
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 0x40da36
movzx eax, byte [esp]
jmp 0x40da38
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40e0c8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40df40
mov eax, dword [0x502228]
cmp byte [eax], 0
je 0x40e144
mov eax, dword [0x501f4c]
call fcn.00403764
call fcn.00402ecc
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.0040ade0
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40e18c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x40e17a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x501edc]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5057f8]
call fcn.00407164
push eax
call sub.USER32.dll_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.dll_MessageBoxA
add esp, 0x444
ret

Function at 0x40ea20
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 0x40eaf6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405854
lea eax, [ebp - 4]
call fcn.00405cd0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c80
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40eae0
mov eax, ebx
call fcn.00402d70
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ead9
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.00405c80
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40eac3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40eb08
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40eac3
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 0x40eae0
mov eax, dword [ebp - 0x10]
call fcn.00402d8c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40eafd
lea eax, [ebp - 4]
call fcn.004057bc
ret
Function at 0x423548
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x506304
cmp dword [edi], 0
jne 0x4235c4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x506300]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4faccc
mov ecx, 2
call fcn.00402fd8
mov edx, 0x423520
lea eax, [esi + 5]
call fcn.00423540
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423540
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 0x423599
mov dword [0x506300], 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 0x42606c
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.00405c80
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
je 0x4260c4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5023c0]
mov dl, 1
mov eax, dword [0x425b90]
call fcn.0040e288
call fcn.004051cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00425c98
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 0x427254
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 0x42725a
ret
Function at 0x43687c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405c70
xor eax, eax
push ebp
push 0x4369b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.dll_OpenClipboard
test eax, eax
je 0x436984
xor edx, edx
push ebp
push 0x43697d
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x4368c9
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x436952
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x436941
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x436908
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00405c80
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00402fd8
call sub.USER32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436948
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x501e4c]
mov dl, 1
mov eax, dword [0x409028]
call fcn.0040e24c
call fcn.004051cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4369b8
lea eax, [ebp - 4]
call fcn.004057bc
ret
Function at 0x4369c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x436b7b
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405f6c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x436b94
call fcn.00405acc
mov eax, ebx
call fcn.00422ac8
mov edi, eax
dec edi
test edi, edi
jl 0x436a78
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00422a9c
mov edx, dword [0x432fe8]
call fcn.00404ae4
test al, al
je 0x436a74
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00422a9c
lea edx, [ebp - 0x14]
call fcn.0044bd58
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405f6c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00405b40
inc esi
dec edi
jne 0x436a26
movzx eax, byte [0x436b98]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x436ba4
mov eax, dword [ebp - 8]
call fcn.0040f57c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.00405854
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044bd58
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x436b94
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0044bd58
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x436b94
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x436b94
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x436bb0
call fcn.0040b4e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b82
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004057e0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004057e0
lea eax, [ebp - 0x14]
call fcn.004057bc
lea eax, [ebp - 0x10]
call fcn.004057bc
lea eax, [ebp - 8]
mov edx, 2
call fcn.004057e0
ret

Function at 0x439a14
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x439a68]
test si, 4
je 0x439a29
or bl, 1
test si, 8
je 0x439a33
or bl, 4
test si, 1
je 0x439a3d
or bl, 8
test si, 2
je 0x439a47
or bl, 0x10
test si, 0x10
je 0x439a51
or bl, 0x20
push 0x12
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x439a60
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x439a6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x439aa8]
push 0x10
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x439a86
or bl, 1
push 0x11
call sub.USER32.dll_GetKeyState
test ax, ax
jge 0x439a95
or bl, 4
test esi, 0x20000000
je 0x439aa0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44115c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44116e
add esp, 0xfffffff0
call fcn.00404c7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422488
mov eax, dword [0x501ee4]
mov dword [eax + 4], ebx
mov dword [eax], 0x441500
mov eax, dword [0x501ef0]
mov dword [eax + 4], ebx
mov dword [eax], 0x44150c
mov eax, ebx
call fcn.00441518
push 0
call sub.USER32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x7c], eax
push 0
call sub.USER32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.USER32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x43cfb0
push eax
push 0
push 0
mov eax, dword [0x5020cc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426580]
call fcn.00427dd4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426580]
call fcn.00427dd4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426580]
call fcn.00427dd4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00441948
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441818
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441818
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x441818
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4412ab
call fcn.00404cd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4415fc
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 0x4417a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x441788
mov dl, 1
mov eax, dword [0x41a324]
call fcn.00404928
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004057bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x441777
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.00458e4c
test al, al
je 0x44176a
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x4417b8
lea eax, [ebp - 0x254]
call fcn.0040b464
push eax
push 0x80000002
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x44176a
xor eax, eax
push ebp
push 0x441763
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 0x4417f0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x44174c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00405a2c
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x44174c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00405a2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44176a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44166d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e1a4
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4417ae
lea eax, [ebp - 0x260]
call fcn.004057bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x506500]
cmp byte [eax + 0xad], 0
jne 0x442191
cmp dword [0x506518], 0
jne 0x442152
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x4420dc
push eax
push 3
call sub.USER32.dll_SetWindowsHookExA
mov dword [0x506518], eax
cmp dword [0x506514], 0
jne 0x44216d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x506514], eax
cmp dword [0x50651c], 0
jne 0x442191
push esp
push 0
push 0
push 0x442080
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x50651c], eax
pop edx
ret
Function at 0x442364
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44237b
add esp, 0xfffffff0
call fcn.00404c7c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00422488
mov eax, dword [0x5020b4]
cmp word [eax + 2], 0
jne 0x4423a3
mov eax, dword [0x5020b4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00443e34
mov eax, dword [0x5021c4]
cmp word [eax + 2], 0
jne 0x4423bd
mov eax, dword [0x5021c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00444040
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419f00]
call fcn.00404928
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x427090]
call fcn.0042eaa0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x442574
mov eax, dword [0x501f70]
mov eax, dword [eax]
push eax
call sub.USER32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ee74
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x444700
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x501f70]
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.0040f070
test eax, eax
je 0x4424c4
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040ae1c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f0a4
test eax, eax
je 0x4424d8
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.USER32.dll_CharNextA
push eax
call sub.USER32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00405a2c
mov byte [ebx + 0xd4], 0
push ebx
push 0x443994
call fcn.00423604
mov dword [ebx + 0xc8], eax
mov eax, dword [0x501dec]
cmp byte [eax], 0
jne 0x442529
mov eax, ebx
call fcn.004426b8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004448dc
mov eax, ebx
call fcn.00445460
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x442569
call fcn.00404cd4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44293c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x506500]
cmp dword [eax + 0x30], 0
je 0x4429e6
cmp dword [ebx + 0x94], 0
jne 0x4429e0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4428cc
call sub.USER32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4429e0
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 0x4429a6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4429e0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041c334
push eax
call sub.USER32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4429b5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44364c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x443681
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004058ac
jmp 0x44368e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405810
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x444ac0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x444b2e
mov eax, esi
call fcn.00453bc0
test al, al
je 0x444b2e
mov eax, dword [ebx + 0x84]
call fcn.0045384c
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x444b2e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x444b22
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045384c
push eax
call sub.USER32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044bc78
jmp 0x444b2e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004448fc
pop esi
pop ebx
ret
Function at 0x449510
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 - 9]
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 [0x506578], 0
je 0x449659
push 0x11
call sub.USER32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5021a0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x449659
mov eax, dword [0x50657c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x506578]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x449628
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x506578]
call fcn.0041c334
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x449620
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x449620
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x449620
mov eax, dword [ebp - 0x14]
call fcn.0045384c
push eax
call sub.USER32.dll_IsWindowVisible
test eax, eax
je 0x449620
push ebp
call fcn.004494cc
pop ecx
test al, al
jne 0x449620
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00404b54
test al, al
je 0x449620
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00404b54
cmp byte [ebp - 1], 0
je 0x449620
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.dll_PtInRect
test eax, eax
je 0x449620
mov edx, dword [ebp - 0x14]
mov eax, dword [0x50657c]
call fcn.00448c3c
inc edi
dec ebx
jne 0x449575
mov eax, dword [0x50657c]
cmp dword [eax + 8], 0
jle 0x449640
mov eax, dword [0x50657c]
call fcn.00448cf4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x449659
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00449330
pop ecx
test al, al
jne 0x449659
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 0x450a48
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.00407edc
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.0044b898
test ebx, ebx
jne 0x450a9b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00450984
mov ebx, eax
test ebx, ebx
je 0x450b86
cmp esi, ebx
je 0x450ac4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x450ad9
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 0x450b11
add eax, 0xffffff5f
sub eax, 2
jb 0x450b29
dec eax
sub eax, 2
jb 0x450b3d
dec eax
sub eax, 2
jb 0x450b33
jmp 0x450b47
add eax, 0xfffffdff
sub eax, 2
jb 0x450b29
dec eax
sub eax, 2
jb 0x450b3d
dec eax
sub eax, 2
jb 0x450b33
jmp 0x450b47
mov byte [esp + 0x120], 0
jmp 0x450b4f
mov byte [esp + 0x120], 2
jmp 0x450b4f
mov byte [esp + 0x120], 1
jmp 0x450b4f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00439aac
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044d004
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x450b88
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret