joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c3c8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b31d0]
cmp byte [eax + 0xc], 0
je 0x44c535
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c52e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b4ba0], 0
jne 0x44c41c
push 0x44c53c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44c544
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4ba0], eax
cmp dword [0x4b1c58], 0
jne 0x44c517
push 0x44c554
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b1c58], eax
cmp dword [0x4b1c58], 0
je 0x44c517
push 0x44c560
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4ba4], eax
push 0x44c570
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4ba8], eax
push 0x44c584
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bac], eax
push 0x44c59c
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bb0], eax
push 0x44c5b4
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bb4], eax
push 0x44c5c8
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bb8], eax
push 0x44c5e0
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bbc], eax
push 0x44c5f8
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bc0], eax
push 0x44c614
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bc4], eax
push 0x44c620
mov eax, dword [0x4b1c58]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b4bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c535
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x450964
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.00403f98
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4509b3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404208
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4581b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458204]
test si, 4
je 0x4581c8
or bl, 1
test si, 8
je 0x4581d2
or bl, 4
test si, 1
je 0x4581dc
or bl, 8
test si, 2
je 0x4581e6
or bl, 0x10
test si, 0x10
je 0x4581f0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4581ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x458208
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x458240]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458221
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x458230
or bl, 4
test esi, 0x20000000
je 0x45823b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45e8e8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45e8fa
add esp, 0xfffffff0
call fcn.004034e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f270
mov eax, dword [0x4b2bf8]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ec8c
mov eax, dword [0x4b2c08]
mov dword [eax + 4], ebx
mov dword [eax], 0x45ec98
mov eax, ebx
call fcn.0045eca4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
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, 0x45b0c0
push eax
push 0
push 0
mov eax, dword [0x4b2e6c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420cf4]
call fcn.00422508
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420cf4]
call fcn.00422508
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420cf4]
call fcn.00422508
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045f0c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45efa0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45efa0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45efa0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45ea37
call fcn.00403540
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45ed84
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 0x45ef2f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45ef10
mov dl, 1
mov eax, dword [0x416694]
call fcn.00403194
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403f98
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45eeff
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.0044c728
test al, al
je 0x45eef2
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, 0x45ef40
lea eax, [ebp - 0x254]
call fcn.00409514
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45eef2
xor eax, eax
push ebp
push 0x45eeeb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45ef78
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45eed4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
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 0x45eed4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404208
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eef2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45edf5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041add4
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 0x45ef36
lea eax, [ebp - 0x260]
call fcn.00403f98
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b4bec]
cmp byte [eax + 0xa5], 0
jne 0x45f8d5
cmp dword [0x4b4c04], 0
jne 0x45f896
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45f820
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b4c04], eax
cmp dword [0x4b4c00], 0
jne 0x45f8b1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b4c00], eax
cmp dword [0x4b4c08], 0
jne 0x45f8d5
push esp
push 0
push 0
push 0x45f7c4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b4c08], eax
pop edx
ret
Function at 0x45f9cc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45f9e3
add esp, 0xfffffff0
call fcn.004034e8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f270
mov eax, dword [0x4b2e44]
cmp word [eax + 2], 0
jne 0x45fa0b
mov eax, dword [0x4b2e44]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046114c
mov eax, dword [0x4b2f84]
cmp word [eax + 2], 0
jne 0x45fa25
mov eax, dword [0x4b2f84]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00461344
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416030]
call fcn.00403194
mov dword [ebx + 0xa8], 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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x421874]
call fcn.00429a04
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45fbac
mov eax, dword [0x4b2cbc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429dd4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4618e4
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b2cbc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040cdb4
test eax, eax
je 0x45fb1a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ef4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cddc
test eax, eax
je 0x45fb2e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404208
mov eax, dword [0x4b2a64]
cmp byte [eax], 0
jne 0x45fb62
mov eax, ebx
call fcn.0045fcd4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00461ac0
mov eax, ebx
call fcn.00462484
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45fba2
call fcn.00403540
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ff54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b4bec]
cmp dword [eax + 0x30], 0
je 0x45fffe
cmp dword [ebx + 0x94], 0
jne 0x45fff8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45fee4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45fff8
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 0x45ffbe
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45fff8
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.004186e8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45ffcd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x460b60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x460b95
push pe_nt_image_headers32
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.00404088
jmp 0x460ba2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403fec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x461c9c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x461cdd
mov eax, esi
call fcn.00447ccc
test al, al
je 0x461cdd
mov eax, dword [ebx + 0x84]
call fcn.004479c8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x461cdd
push 0
mov eax, dword [ebx + 0x84]
call fcn.004479c8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46299c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4155e0]
call fcn.00404a68
xor eax, eax
push ebp
push 0x462ae0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b1e98], 0
jne 0x4629ef
mov ecx, dword [0x4b2a90]
mov dl, 1
mov eax, dword [0x407558]
call fcn.0040bfe4
call fcn.00403950
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402bcc
mov eax, ebx
call fcn.00404820
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x462af0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405b00
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404830
test eax, eax
jle 0x462a87
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x462a80
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404220
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404208
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004083b0
test eax, eax
jne 0x462a80
mov ebx, 0x15
jmp 0x462a8c
mov ebx, 0x10
jmp 0x462a8c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4b1e98]
call fcn.004628f4
mov eax, dword [ebp - 8]
call fcn.004628f4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405b18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462ae7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x10]
mov edx, dword [0x4155e0]
call fcn.00404b38
ret
Function at 0x476174
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47617c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47636e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x476384
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403fec
lea ecx, [ebp - 0x10]
mov edx, 0x476398
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00403fec
lea ecx, [ebp - 0x14]
mov edx, 0x4763b0
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00403fec
lea ecx, [ebp - 0x18]
mov edx, 0x4763cc
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00403fec
lea ecx, [ebp - 0x1c]
mov edx, 0x4763e8
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00403fec
lea ecx, [ebp - 0x24]
mov edx, 0x476400
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408420
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408968
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x476418
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x28]
call fcn.0046dad8
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x476428
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x2c]
call fcn.0046dad8
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x476440
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408968
inc eax
je 0x476311
lea ecx, [ebp - 0x34]
mov edx, 0x476440
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x34]
call fcn.0040892c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409e64
fstp qword [ebp - 0x3c]
wait
call fcn.0040a1c8
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47632c
lea ecx, [ebp - 0x40]
mov edx, 0x476440
mov eax, esi
call fcn.00474000
mov eax, dword [ebp - 0x40]
call fcn.0046dad8
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x476450
mov eax, esi
call fcn.00474000
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00403fec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476375
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00403fbc
ret
Function at 0x47d100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x47d15a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0047d0f0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0046c744
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0046c344
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d161
lea eax, [ebp - 4]
call fcn.00403f98
ret

Function at 0x489880
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48993a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046a4
mov eax, dword [0x4b2b58]
cmp byte [eax], 0
je 0x4898ef
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a04
mov eax, dword [ebx]
call fcn.00404830
push eax
mov eax, dword [ebx]
call fcn.00404820
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404830
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a04
jmp 0x489921
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004090a4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489941
lea eax, [ebp - 0x3f0]
call fcn.00403f98
ret

Function at 0x48ca6c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x48cac6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [esi + 0x2c8], ecx
mov dword [esi + 0x2cc], edx
mov eax, dword [edx + 0x4c]
mov dword [esi + 0x2bc], eax
mov eax, dword [eax + 0x44]
mov dword [esi + 0xc], eax
mov edx, dword [esi + 0x2c8]
mov eax, esi
call fcn.0048cad0
mov eax, dword [esi + 0x2c8]
mov edx, dword [eax + 0x30]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48cacd
ret
Function at 0x4923a0
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4923d6
jmp 0x49247c
push 0xfffffffffffffff0
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
test esi, 2
jbe 0x49241a
mov edx, dword [ebx + 0x4c]
cmp dword [edx + 0x168], 0
je 0x49241a
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0x168]
mov eax, dword [eax + 0x14]
jmp 0x49242a
mov edx, dword [ebx + 0x4c]
mov edx, dword [edx + 0x164]
test edx, edx
je 0x49242a
mov eax, dword [edx + 0x14]
test eax, eax
je 0x492443
push eax
push 2
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.0048ed58
jmp 0x49247c
mov dl, 1
mov eax, dword [0x421034]
call fcn.00423018
mov esi, eax
mov edx, dword [edi + 0x10]
mov eax, esi
call fcn.00423a68
mov eax, dword [ebx + 0x4c]
mov edx, dword [eax + 0xbc]
mov eax, dword [esi + 0x10]
call fcn.00422bc8
mov edx, esp
mov eax, esi
call fcn.00423764
mov eax, esi
call fcn.004031c4
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x494994
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
push 0
mov eax, ebx
call fcn.004479c8
push eax
call sub.user32.dll_ShowWindow
mov byte [ebx + 0x279], 0
xor edx, edx
mov eax, ebx
call fcn.00440fb4
pop ebx
ret
Function at 0x499e0c
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x499ec6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004046a4
mov eax, dword [0x4b2b58]
cmp byte [eax], 0
je 0x499e7b
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404a04
mov eax, dword [ebx]
call fcn.00404830
push eax
mov eax, dword [ebx]
call fcn.00404820
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404830
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404a04
jmp 0x499ead
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.004090a4
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404810
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x499ecd
lea eax, [ebp - 0x3f0]
call fcn.00403f98
ret

Function at 0x49a068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff00
mov esi, edx
mov ebp, eax
mov edx, esi
mov eax, dword [ebp + 0x3c]
call dword [ebp + 0x38]
cmp dword [esi + 0xc], 0
jne 0x49a12e
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.00458244
mov ebx, eax
mov dx, word [esi + 4]
mov eax, ebp
call fcn.00499d50
mov edi, eax
test edi, edi
je 0x49a0c7
mov al, byte [0x49a13c]
cmp al, bl
jne 0x49a0c7
mov edx, edi
mov eax, ebp
call fcn.00499c88
mov dword [esi + 0xc], 1
mov byte [ebp + 0x31], 1
jmp 0x49a12e
cmp byte [ebp + 0x161], 2
jne 0x49a0f2
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4b30c4]
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov edx, 0xb006
call fcn.00442248
test eax, eax
jne 0x49a12e
jmp 0x49a129
mov edx, dword [0x4b2f44]
mov edx, dword [edx]
mov edx, dword [edx + 0x44]
mov eax, dword [ebp + 0x128]
cmp edx, eax
je 0x49a129
test byte [eax + 0x2f4], 8
jne 0x49a129
mov eax, dword [esi + 8]
push eax
movzx ecx, word [esi + 4]
mov eax, dword [0x4b2f44]
mov eax, edx
mov edx, 0xb006
call fcn.00442248
xor eax, eax
mov dword [esi + 0xc], eax
add esp, 0x100
pop ebp
pop edi
pop esi
pop ebx
ret