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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a55b8]
cmp byte [eax + 0xc], 0
je 0x44d5c1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44d5ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a6b68], 0
jne 0x44d4a8
push 0x44d5c8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44d5d0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b68], eax
cmp dword [0x4a3d94], 0
jne 0x44d5a3
push 0x44d5e0
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4a3d94], eax
cmp dword [0x4a3d94], 0
je 0x44d5a3
push 0x44d5ec
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b6c], eax
push 0x44d5fc
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b70], eax
push 0x44d610
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b74], eax
push 0x44d628
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b78], eax
push 0x44d640
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b7c], eax
push 0x44d654
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b80], eax
push 0x44d66c
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b84], eax
push 0x44d684
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b88], eax
push 0x44d6a0
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b8c], eax
push 0x44d6ac
mov eax, dword [0x4a3d94]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a6b90], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d5c1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x451904
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.00404510
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x451953
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.00404780
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459124
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x459174]
test si, 4
je 0x459138
or bl, 1
test si, 8
je 0x459142
or bl, 4
test si, 1
je 0x45914c
or bl, 8
test si, 2
je 0x459156
or bl, 0x10
test si, 0x10
je 0x459160
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45916f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x459178
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4591b0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x459191
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4591a0
or bl, 4
test esi, 0x20000000
je 0x4591ab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45f874
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45f886
add esp, 0xfffffff0
call fcn.00403aa0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00420770
mov eax, dword [0x4a5190]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fc18
mov eax, dword [0x4a51a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45fc24
mov eax, ebx
call fcn.0045fc30
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4189bc]
call fcn.00403738
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4189bc]
call fcn.00403738
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4189bc]
call fcn.00403738
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4189bc]
call fcn.00403738
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4189bc]
call fcn.00403738
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, 0x45c048
push eax
push 0
push 0
mov eax, dword [0x4a5348]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422204]
call fcn.0042399c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422204]
call fcn.0042399c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422204]
call fcn.0042399c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00460080
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff48
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff48
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45ff48
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45f9c3
call fcn.00403af8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45fd2c
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 0x45fed7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45feb8
mov dl, 1
mov eax, dword [0x418dd8]
call fcn.00403738
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404510
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45fea7
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.0044d7b4
test al, al
je 0x45fe9a
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, 0x45fee8
lea eax, [ebp - 0x254]
call fcn.004099ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45fe9a
xor eax, eax
push ebp
push 0x45fe93
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 0x45ff20
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45fe7c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
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 0x45fe7c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404780
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fe9a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45fd9d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041c8cc
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 0x45fede
lea eax, [ebp - 0x260]
call fcn.00404510
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a6bb4]
cmp byte [eax + 0xa5], 0
jne 0x460891
cmp dword [0x4a6bcc], 0
jne 0x460852
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4607dc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a6bcc], eax
cmp dword [0x4a6bc8], 0
jne 0x46086d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a6bc8], eax
cmp dword [0x4a6bd0], 0
jne 0x460891
push esp
push 0
push 0
push 0x460780
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4a6bd0], eax
pop edx
ret
Function at 0x460f24
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a6bb4]
cmp dword [eax + 0x30], 0
je 0x460fce
cmp dword [ebx + 0x94], 0
jne 0x460fc8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x460eb4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x460fc8
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 0x460f8e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x460fc8
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.0041ad24
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x460f9d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x461b2c
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 0x461b61
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.00404600
jmp 0x461b6e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404564
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x462d28
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x462d69
mov eax, esi
call fcn.00448d58
test al, al
je 0x462d69
mov eax, dword [ebx + 0x84]
call fcn.00448a54
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x462d69
push 0
mov eax, dword [ebx + 0x84]
call fcn.00448a54
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x464788
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 0x4649e8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4647eb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00464430
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cfc0
cmp al, 1
jne 0x4647eb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004646f8
test al, al
je 0x464977
cmp dword [ebp - 8], 0
jge 0x464809
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.00464430
mov eax, dword [ebp - 0x210]
call fcn.004047d0
cmp ebx, eax
jge 0x464853
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00464430
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a55a0]
and eax, 0xff
bt dword [edx], eax
jae 0x464853
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x464867
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00464764
cmp ebx, dword [ebp - 8]
je 0x464969
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 0x464893
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd0]
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 0x464956
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00448a54
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403970
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a3fd0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00448a54
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46495d
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 0x4649ca
cmp dword [ebp - 8], 0
jge 0x464982
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00464430
mov eax, dword [ebp - 0x218]
call fcn.004047d0
cmp eax, dword [ebp - 8]
jg 0x4649bc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00464430
mov eax, dword [ebp - 0x21c]
call fcn.004047d0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00464764
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4649ef
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404534
ret
Function at 0x48c71c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x48c74a
mov eax, ebx
call fcn.0048d1d0
cmp dword [ebx + 0x40], 0
je 0x48c743
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x48c7bb
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x48c7ad
cmp dword [ebx + 8], 0
je 0x48c76c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x48c77e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x48c7ad
cmp dword [ebx + 8], 0
je 0x48c75f
cmp eax, 3
je 0x48c791
dec eax
jne 0x48c75f
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 0x48c75f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48c75f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x48c7d9
cmp dword [ebx + 0x14], 0xcc
je 0x48c7d9
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0048c7e4
pop ebx
ret
Function at 0x49f698
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov esi, edx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor eax, eax
push ebp
push 0x49f739
push dword fs:[eax]
mov dword fs:[eax], esp
inc dword [0x4a6e4c]
push dword [ebp - 4]
push dword [ebp - 8]
call sub.user32.dll_WindowFromPoint
mov ebx, eax
push 0xfe
lea eax, [ebp - 0x107]
push eax
push ebx
call sub.user32.dll_GetClassNameA
push 0xfe
lea eax, [ebp - 0x206]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
mov eax, ebx
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20c]
call fcn.00408ce4
mov edx, dword [ebp - 0x20c]
mov eax, dword [0x4a6e4c]
lea eax, [eax*4 + 0x4a6e4c]
call fcn.00404564
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f740
lea eax, [ebp - 0x20c]
call fcn.00404510
ret

Function at 0x49f944
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, edx
mov ebx, eax
push 0
push 0
push 0xe
push ebx
call sub.user32.dll_SendMessageA
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00402ac8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x49f9ac
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push 0xd
push ebx
call sub.user32.dll_SendMessageA
mov edx, esi
mov eax, dword [ebp - 8]
call fcn.0040952c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f9b3
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00402af8
ret
Function at 0x49f9bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x204], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49fb2c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a6e50], 0
je 0x49fa45
mov eax, dword [0x4a6e50]
call fcn.00408d34
mov ebx, eax
push 0xfe
lea eax, [ebp - 0xff]
push eax
push ebx
call sub.user32.dll_GetClassNameA
push 0xfe
lea eax, [ebp - 0x1fe]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x204]
mov eax, ebx
call fcn.0049f944
mov edx, dword [ebp - 0x204]
mov eax, dword [esi + 0x34c]
call fcn.0047982c
cmp dword [0x4a6e54], 0
je 0x49fa9c
mov eax, dword [0x4a6e54]
call fcn.00408d34
mov ebx, eax
push 0xfe
lea eax, [ebp - 0xff]
push eax
push ebx
call sub.user32.dll_GetClassNameA
push 0xfe
lea eax, [ebp - 0x1fe]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x208]
mov eax, ebx
call fcn.0049f944
mov edx, dword [ebp - 0x208]
mov eax, dword [esi + 0x354]
call fcn.0047982c
cmp edi, 1
jne 0x49fafa
cmp dword [0x4a6e58], 0
je 0x49fb0c
mov eax, dword [0x4a6e58]
call fcn.00408d34
mov ebx, eax
push 0xfe
lea eax, [ebp - 0xff]
push eax
push ebx
call sub.user32.dll_GetClassNameA
push 0xfe
lea eax, [ebp - 0x1fe]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea edx, [ebp - 0x20c]
mov eax, ebx
call fcn.0049f944
mov edx, dword [ebp - 0x20c]
mov eax, dword [esi + 0x35c]
call fcn.0047982c
jmp 0x49fb0c
cmp edi, 2
jne 0x49fb0c
xor edx, edx
mov eax, dword [esi + 0x35c]
call fcn.0047982c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fb33
lea eax, [ebp - 0x20c]
mov edx, 3
call fcn.00404534
ret

Function at 0x4a1e48
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a1eff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.004049d0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
jne 0x4a1e8a
call fcn.00403fb4
jmp 0x4a1f06
mov eax, ebx
call fcn.00402ac8
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
push ebx
push 0
mov eax, esi
call fcn.004049d0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x4a1eb3
call fcn.00403fb4
jmp 0x4a1f06
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4a1f10
mov eax, dword [ebp - 8]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x4a1ed4
call fcn.00403fb4
jmp 0x4a1f06
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1f06
mov eax, dword [ebp - 8]
call fcn.00402af8
ret
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006089
Capabilities:
Resume thread

Disassembly:
push 0x10
mov eax, 0x10011324
call fcn.10010dbc
mov ebx, ecx
mov dword [ebp - 0x18], ebx
cmp byte [ebx + 4], 0
jne 0x100061ed
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
cmp eax, dword [ebx]
jne 0x100061ed
push 0x1000334a
push 0xd008
call fcn.10007073
mov edi, eax
mov dword [ebp - 0x1c], edi
pop ecx
pop ecx
test edi, edi
je 0x100061e6
push 0xc000
xor ebx, ebx
push ebx
push edi
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xc000], ebx
lea eax, [edi + 0xc004]
push 0x1000
push ebx
push eax
call fcn.1000ec20
add esp, 0xc
mov dword [edi + 0xd004], ebx
test edi, edi
je 0x100061e6
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10007073
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.10007073
mov esi, eax
push esi
push 0x10003028
mov dword [ebp - 0x10], esi
call fcn.10007073
pop ecx
pop ecx
test esi, esi
jne 0x1000619a
mov ecx, edi
call fcn.10007073
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100061fa
mov eax, dword [eax]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10014250]
mov ecx, dword [ebp - 0x14]
call esi
call fcn.10007073
test eax, eax
je 0x10006190
jg 0x10006175
mov esi, eax
mov dword [ebp - 0x10], eax
jmp 0x10006181
movzx esi, ax
or esi, 0x80070000
mov dword [ebp - 0x10], esi
push esi
push 0x10003050
call fcn.10007073
pop ecx
pop ecx
jmp 0x1000619a
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x10]
mov byte [eax + 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000704c
lea eax, [edi + 0xc000]
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jbe 0x100061ce
lea esi, [edi + 8]
test byte [esi - 4], 1
je 0x100061c3
push dword [esi]
call dword [sym.imp.kernel32.dll_ResumeThread]
mov eax, dword [ebp - 0x1c]
inc ebx
add esi, 0xc
cmp ebx, dword [eax]
jb 0x100061b2
mov esi, dword [ebp - 0x10]
mov ecx, edi
call fcn.10007073
push 0xd008
push edi
call fcn.10007073
pop ecx
pop ecx
mov eax, esi
jmp 0x100061f2
mov eax, 0x8007000e
jmp 0x100061f2
mov eax, 0x800710dd
call fcn.10010d85
ret 4
call fcn.10007073
int3

Function at 0x10007073
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x10007082
pop dword [ebp - 0x10]
mov eax, 0x10007082
sub dword [ebp - 0x10], eax
push 0x40
push 0x1000
push 0x3a939
push 0
mov eax, 0xc17580c0
add eax, 0x4e8bbfa4
add eax, dword [ebp - 0x10]
call dword [eax]
mov ecx, 0x4e30
mov esi, eax
mov edi, 0xe448a638
add edi, 0x2bb8dfc8
add edi, dword [ebp - 0x10]
mov ebx, 0x23e2e13a
add dword [ebp - 0xc], ebx
mov edx, dword [edi]
mov dword [ebp - 0xc], 0x9ae2f6b
add edx, ebx
add dword [ebp - 8], ebx
mov dword [esi], edx
xor dword [ebp - 8], 0x59e9a06a
add esi, 0x75dd15ae
sub esi, 0x75dd15aa
add edi, 4
loop 0x100070d0
add eax, 0x2bab0b1b
add eax, 0xd4562078
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc248d2ea
sub ecx, 0xb248d2ea
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x417de0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
cmp byte [ebx + 0x360], 0
jne 0x417e69
push esi
mov esi, dword [ebx + 0x28c]
push edi
mov edi, dword [ebx + 0x290]
push 0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
call dword [eax + 0x30]
push dword [edi + 8]
mov eax, dword [edi + 0xc]
push esi
call eax
mov ecx, dword [edi + 8]
add esp, 8
mov eax, dword [ecx]
call dword [eax + 0x50]
mov ecx, dword [ebx + 0x278]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0x10c]
mov ecx, dword [ebx + 0x27c]
mov eax, dword [ecx]
call dword [eax + 0x11c]
cvttss2si ecx, dword [ebx + 0x298]
pop edi
pop esi
cmp eax, ecx
je 0x417e69
push 1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x417e69
cvttss2si eax, dword [ebx + 0x298]
mov ecx, dword [ebx + 0x27c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x120]
pop ebx
ret