joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45abb4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45abec]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45abcd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45abdc
or bl, 4
test esi, 0x20000000
je 0x45abe7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x461530
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x461542
add esp, 0xfffffff0
call fcn.00403b90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041edf0
mov eax, dword [0x4cbd34]
mov dword [eax + 4], ebx
mov dword [eax], 0x4618d4
mov eax, dword [0x4cbd40]
mov dword [eax + 4], ebx
mov dword [eax], 0x4618e0
mov eax, ebx
call fcn.004618ec
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
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, 0x45ddb4
push eax
push 0
push 0
mov eax, dword [0x4cbea4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420890]
call fcn.00421f64
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420890]
call fcn.00421f64
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420890]
call fcn.00421f64
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00461d54
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c30
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c30
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x461c30
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46167f
call fcn.00403be8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x461a14
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 0x461bbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461ba0
mov dl, 1
mov eax, dword [0x4145a0]
call fcn.004037fc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040461c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461b8f
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.0044e294
test al, al
je 0x461b82
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, 0x461bd0
lea eax, [ebp - 0x254]
call fcn.004098dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461b82
xor eax, eax
push ebp
push 0x461b7b
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 0x461c08
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461b64
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404884
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 0x461b64
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404884
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461b82
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461a85
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00418e28
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 0x461bc6
lea eax, [ebp - 0x260]
call fcn.0040461c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cdc34]
cmp byte [eax + 0xa5], 0
jne 0x462565
cmp dword [0x4cdc4c], 0
jne 0x462526
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4624b0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cdc4c], eax
cmp dword [0x4cdc48], 0
jne 0x462541
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4cdc48], eax
cmp dword [0x4cdc50], 0
jne 0x462565
push esp
push 0
push 0
push 0x462454
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4cdc50], eax
pop edx
ret
Function at 0x46268c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4626a3
add esp, 0xfffffff0
call fcn.00403b90
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041edf0
mov eax, dword [0x4cbe8c]
cmp word [eax + 2], 0
jne 0x4626cb
mov eax, dword [0x4cbe8c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463d68
mov eax, dword [0x4cbf48]
cmp word [eax + 2], 0
jne 0x4626e5
mov eax, dword [0x4cbf48]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00463f60
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x413f3c]
call fcn.004037fc
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], 0x80000018
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 [0x421310]
call fcn.00428fa0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x46286c
mov eax, dword [0x4cbda4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429370
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4644e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cbda4]
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.0040cf74
test eax, eax
je 0x4627da
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409224
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040cf9c
test eax, eax
je 0x4627ee
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.00404884
mov eax, dword [0x4cbc5c]
cmp byte [eax], 0
jne 0x462822
mov eax, ebx
call fcn.00462994
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.004646bc
mov eax, ebx
call fcn.00464ffc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462862
call fcn.00403be8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462c08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4cdc34]
cmp dword [eax + 0x30], 0
je 0x462cb2
cmp dword [ebx + 0x94], 0
jne 0x462cac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462b98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x462cac
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 0x462c72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x462cac
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.004167c8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x462c81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x463790
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 0x4637c5
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.0040470c
jmp 0x4637d2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404670
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x464898
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4648d9
mov eax, esi
call fcn.00449988
test al, al
je 0x4648d9
mov eax, dword [ebx + 0x84]
call fcn.00449684
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4648d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00449684
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4686d4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x468702
mov eax, ebx
call fcn.0046918c
cmp dword [ebx + 0x3c], 0
je 0x4686fb
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x468773
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x468765
cmp dword [ebx + 8], 0
je 0x468724
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x468736
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x468765
cmp dword [ebx + 8], 0
je 0x468717
cmp eax, 3
je 0x468749
dec eax
jne 0x468717
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x468717
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x468717
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x468791
cmp dword [ebx + 0x10], 0xcc
je 0x468791
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046879c
pop ebx
ret
Function at 0x48869c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488774
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4cdcc8], 0
jne 0x488758
lea eax, [ebp - 4]
mov edx, 0x48878c
call fcn.004046b4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404acc
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x488758
mov eax, ebx
call fcn.00402778
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x488751
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48873b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x48879c
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48873b
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4cdcc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488758
mov eax, dword [ebp - 0xc]
call fcn.00402798
ret
mov ebx, dword [0x4cdcc8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48877b
lea eax, [ebp - 4]
call fcn.0040461c
ret
Function at 0x49fb0c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49fd6c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x49fb6f
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0049f5d4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cb60
cmp al, 1
jne 0x49fb6f
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0049f8ec
test al, al
je 0x49fcfb
cmp dword [ebp - 8], 0
jge 0x49fb8d
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0049f5d4
mov eax, dword [ebp - 0x210]
call fcn.004048d4
cmp ebx, eax
jge 0x49fbd7
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0049f5d4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4cc0c4]
and eax, 0xff
bt dword [edx], eax
jae 0x49fbd7
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x49fbeb
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049fae8
cmp ebx, dword [ebp - 8]
je 0x49fced
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x49fc17
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a28
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc1c]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x49fcda
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a28
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc1c]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00449684
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403a28
and eax, 0x7f
movzx eax, word [eax*2 + 0x4cbc1c]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00449684
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fce1
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x49fd4e
cmp dword [ebp - 8], 0
jge 0x49fd06
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0049f5d4
mov eax, dword [ebp - 0x218]
call fcn.004048d4
cmp eax, dword [ebp - 8]
jg 0x49fd40
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0049f5d4
mov eax, dword [ebp - 0x21c]
call fcn.004048d4
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0049fae8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fd73
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404640
ret
Function at 0x4a8a3c
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a8b5d
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.KERNEL32.DLL_GetVersion
mov edx, dword [0x4cbfb4]
mov dword [edx], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4cbfb4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4a8b74
call fcn.0040995c
mov eax, dword [ebp - 4]
call fcn.004be9ac
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x4cbdac]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [0x4cbf80]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
lea edx, [ebp - 0x20]
mov ecx, 1
mov eax, 0x4a8b90
call fcn.0040995c
mov eax, dword [ebp - 0x10]
call fcn.004be9ac
call sub.KERNEL32.DLL_GetCurrentThreadId
mov esi, eax
push esi
push 0
push 0x4a8670
push 5
call sub.user32.dll_SetWindowsHookExA
mov dword [ebx + 0x1c], eax
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4a8bb0
call fcn.0040995c
mov eax, dword [ebp - 0x24]
call fcn.004be9ac
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, 0x4a8bc8
call fcn.0040995c
mov eax, dword [ebp - 0x28]
call fcn.004be9ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b64
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404640
lea eax, [ebp - 0x10]
call fcn.0040461c
lea eax, [ebp - 4]
call fcn.0040461c
ret
Function at 0x4b200c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffa4
mov esi, eax
mov eax, edx
mov dword [esi + 0x23c], eax
push eax
call sub.user32.dll_GetParent
mov edi, eax
lea eax, [esp + 0x20]
xor ecx, ecx
mov edx, 0x3c
call fcn.004030a0
mov dword [esp + 0x20], 0x3c
mov al, byte [esi + 0x248]
cmp al, 1
jne 0x4b2061
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffb
mov eax, dword [esi + 0x23c]
push eax
call sub.user32.dll_GetScrollBarInfo
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4b2091
test al, al
jne 0x4b2080
lea eax, [esp + 0x20]
push eax
push 0xfffffffffffffffa
mov eax, dword [esi + 0x23c]
push eax
call sub.user32.dll_GetScrollBarInfo
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4b2091
cmp al, 2
jne 0x4b2091
lea edx, [esp + 0x20]
mov eax, esi
call fcn.004b2290
mov ebx, eax
mov byte [esi + 0x260], bl
test bl, bl
je 0x4b220c
test dword [esp + 0x44], 0x8000
jbe 0x4b20c4
push 0
mov eax, esi
call fcn.00449684
push eax
call sub.user32.dll_ShowWindow
mov byte [esi + 0x260], 0
jmp 0x4b220c
push esi
push edi
lea esi, [esp + 0x2c]
lea edi, [esp + 0x18]
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
mov eax, dword [esp + 0x10]
mov dword [esp], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 4], eax
push esp
mov eax, dword [esi + 0x23c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [esp]
mov dword [esi + 0x249], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x24d], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
push esp
mov eax, dword [esi + 0x23c]
push eax
call sub.user32.dll_ScreenToClient
mov eax, dword [esp]
mov dword [esi + 0x251], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x255], eax
mov ecx, esp
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
call fcn.00415164
mov eax, dword [esp]
mov dword [esi + 0x21c], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x220], eax
push esp
push edi
call sub.user32.dll_ScreenToClient
mov eax, dword [esp + 0x14]
neg eax
push eax
mov eax, dword [esp + 0x14]
neg eax
push eax
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_OffsetRect
cmp dword [esi + 0x234], 1
jne 0x4b2188
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x210], eax
jmp 0x4b2192
mov eax, dword [esp + 0x18]
mov dword [esi + 0x210], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
push 1
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x23c]
push eax
push 0
call sub.user32.dll_MapWindowPoints
cmp dword [esi + 0x234], 1
jne 0x4b21e7
push 0x48
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.00449684
push eax
call sub.user32.dll_SetWindowPos
jmp 0x4b220c
push 0x48
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push 0
mov eax, esi
call fcn.00449684
push eax
call sub.user32.dll_SetWindowPos
add esp, 0x5c
pop edi
pop esi
pop ebx
ret
Function at 0x4b8868
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 0x4b8922
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404d40
mov eax, dword [0x4cbcdc]
cmp byte [eax], 0
je 0x4b88d7
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00405008
mov eax, dword [ebx]
call fcn.00404ecc
push eax
mov eax, dword [ebx]
call fcn.00404ebc
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404ecc
mov edx, eax
dec edx
mov eax, ebx
call fcn.00405008
jmp 0x4b8909
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.004093e0
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404eac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8929
lea eax, [ebp - 0x3f0]
call fcn.0040461c
ret

Function at 0x4b9d70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
call fcn.00454b28
mov edi, eax
dec edi
test edi, edi
jl 0x4b9e23
inc edi
xor esi, esi
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00454b38
mov eax, dword [eax + 0xc]
sub eax, 1
jb 0x4b9dba
je 0x4b9ddb
dec eax
je 0x4b9dfc
jmp 0x4b9e1b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00454b38
cmp byte [ebx + 0x168], 0
setne dl
call fcn.00454a54
jmp 0x4b9e1b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00454b38
cmp byte [ebx + 0x168], 1
setne dl
call fcn.00454a54
jmp 0x4b9e1b
mov eax, dword [ebx + 0xf8]
mov eax, dword [eax + 0x34]
mov edx, esi
call fcn.00454b38
cmp byte [ebx + 0x168], 2
setne dl
call fcn.00454a54
inc esi
dec edi
jne 0x4b9d9b
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebx + 0x88]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x8c]
cdq
cmp edx, dword [esp + 4]
jne 0x4b9e48
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4b9eb7
jmp 0x4b9e4c
pop edx
pop eax
jge 0x4b9eb7
mov eax, dword [0x4cc02c]
mov eax, dword [eax]
mov dword [eax + 0x40], 2
mov esi, 2
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebx + 0x88], eax
mov eax, dword [ebx + 0x13c]
test byte [eax + 0x4c], 4
je 0x4b9e93
cmp byte [ebx + 0x165], 2
je 0x4b9e93
mov ecx, dword [esp + 4]
mov edx, dword [esp]
mov eax, dword [ebx + 0xf8]
mov ebx, dword [eax]
call dword [ebx + 0x40]
jmp 0x4b9edc
push 0
mov eax, dword [ebx + 0x130]
push eax
push 0
mov eax, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push eax
push esi
mov eax, dword [ebx + 0x108]
push eax
call sub.user32.dll_TrackPopupMenu
jmp 0x4b9edc
cmp dword [ebx + 0x120], 0
je 0x4b9edc
xor edx, edx
mov eax, dword [ebx + 0x58]
call fcn.0043a06c
push 0
push 0
push 0x10
mov eax, dword [ebx + 0x130]
push eax
call sub.user32.dll_PostMessageA
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret