joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480e30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, eax
inc eax
shl ecx, 2
push ecx
mov cl, 0x64
pop ebx
sub cl, bl
xor byte [edx], cl
inc edx
cmp eax, 0x28
jl 0x480e39
pop ebx
pop ebp
ret

Function at 0x494f58
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 0x494f5e
ret

Function at 0x4e7164
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4e7192
mov eax, ebx
call fcn.004e7c08
cmp dword [ebx + 0x3c], 0
je 0x4e718b
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4e7203
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4e71f5
cmp dword [ebx + 8], 0
je 0x4e71b4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4e71c6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4e71f5
cmp dword [ebx + 8], 0
je 0x4e71a7
cmp eax, 3
je 0x4e71d9
dec eax
jne 0x4e71a7
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 0x4e71a7
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4e71a7
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4e7221
cmp dword [ebx + 0x10], 0xcc
je 0x4e7221
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.004e722c
pop ebx
ret
Function at 0x401428
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x40143a
mov eax, dword [0x4bb08b]
shl eax, 2
mov dword [0x4bb08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0049b438
pop edx
call fcn.0049b39c
call fcn.0049b478
push 0
call fcn.0049c884
pop ecx
push 0x4bb034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x4bb093], eax
push 0
jmp fcn.004a2090
Function at 0x404678
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
mov dword [ebp - 0x20], 1
lea eax, [ebp - 8]
push eax
push 0x20
call sub.KERNEL32.DLL_GetCurrentProcess
push eax
call sub.ADVAPI32.DLL_OpenProcessToken
lea edx, [ebp - 0x10]
push edx
push str.SeDebugPrivilege
push 0
call sub.ADVAPI32.DLL_LookupPrivilegeValueA
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], 2
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
push 0
mov edx, dword [ebp - 8]
push edx
call sub.ADVAPI32.DLL_AdjustTokenPrivileges
test eax, eax
lea ecx, [ebp - 4]
push ecx
mov eax, dword [ebp + 8]
push eax
call sub.USER32.DLL_GetWindowThreadProcessId
mov edx, dword [ebp - 4]
push edx
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40ba30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, 0x4bd584
call fcn.0049bbe4
mov dword [ebp - 0x2c], 0x100
mov dword [ebp - 0x30], 0x100
push dword [ebp - 0x30]
call fcn.0049b2ac
pop ecx
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x40baa5
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x100
jbe 0x40baa5
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.0049b2cc
add esp, 8
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x40baa5
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call sub.KERNEL32.DLL_GetCurrentDirectoryA
mov dword [ebp - 0x30], eax
mov word [ebp - 0x18], 8
mov word [ebp - 0x18], 0x14
cmp dword [ebp - 0x30], 0
je 0x40bac2
cmp dword [ebp - 0x34], 0
je 0x40bac2
mov edx, dword [ebp - 0x34]
jmp 0x40bac7
mov edx, 0x4bd1f8
lea eax, [ebp - 4]
call fcn.004a6374
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 0x20
push dword [ebp - 0x34]
call fcn.0049b2bc
pop ecx
mov word [ebp - 0x18], 0x2c
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.004a6504
mov eax, dword [ebp + 8]
mov word [ebp - 0x18], 0x38
push eax
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004a64d4
pop eax
mov word [ebp - 0x18], 0x20
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x40bb45
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x412e74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 1]
call fcn.00412ec8
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x412e96
lea eax, [ebp - 1]
xor edx, edx
call fcn.00412efc
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x412eac
lea eax, [ebp - 1]
mov dl, 2
call fcn.00412efc
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x412ec2
lea eax, [ebp - 1]
mov dl, 1
call fcn.00412efc
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4134fc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4c3ea8]
mov eax, dword [eax]
call fcn.004453b4
push 0
mov edx, dword [0x4c3ea8]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [ebp - 4]
cmp word [eax + 0x24a], 0
je 0x413544
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24c]
call dword [ebx + 0x248]
pop ebx
pop ecx
pop ebp
ret

Function at 0x413548
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [0x4c3ea8]
mov eax, dword [eax]
call fcn.00445464
push 9
mov edx, dword [0x4c3ea8]
mov ecx, dword [edx]
push dword [ecx + 0x30]
call sub.USER32.DLL_ShowWindow
mov eax, dword [0x4c3ea8]
mov edx, dword [eax]
push dword [edx + 0x30]
call sub.USER32.DLL_SetForegroundWindow
mov ecx, dword [ebp - 4]
cmp word [ecx + 0x252], 0
je 0x41359f
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x254]
call dword [ebx + 0x250]
pop ebx
pop ecx
pop ebp
ret

Function at 0x414a38
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x414984
call sub.USER32.DLL_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x414bd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004145a8
call sub.KERNEL32.DLL_GetTickCount
mov ebx, eax
push 0
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x414b81
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00414200
cmp dword [ebp - 4], 0
je 0x414bc3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00498e68
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.USER32.DLL_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x414be0
lea eax, [ebp - 4]
call fcn.004989b8
ret

Function at 0x420420
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.004989b8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42046f
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.00498c20
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4263a4
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 0x426604
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x426407
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00425e6c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0048b0c8
cmp al, 1
jne 0x426407
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00426184
test al, al
je 0x426593
cmp dword [ebp - 8], 0
jge 0x426425
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.00425e6c
mov eax, dword [ebp - 0x210]
call fcn.00498c70
cmp ebx, eax
jge 0x42646f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00425e6c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4c40d8]
and eax, 0xff
bt dword [edx], eax
jae 0x42646f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x426483
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00426380
cmp ebx, dword [ebp - 8]
je 0x426585
lea eax, [ebp - 0x108]
push eax
call sub.USER32.DLL_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4264af
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00497e84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4bed00]
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 0x426572
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00497e84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4bed00]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.00458124
push eax
call sub.USER32.DLL_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00497e84
and eax, 0x7f
movzx eax, word [eax*2 + 0x4bed00]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00458124
push eax
call sub.USER32.DLL_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426579
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 0x4265e6
cmp dword [ebp - 8], 0
jge 0x42659e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00425e6c
mov eax, dword [ebp - 0x218]
call fcn.00498c70
cmp eax, dword [ebp - 8]
jg 0x4265d8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00425e6c
mov eax, dword [ebp - 0x21c]
call fcn.00498c70
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00426380
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42660b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004989dc
ret
Function at 0x430ed8
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 0x430ede
ret

Function at 0x433918
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x433969
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x433950
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x433940
jmp 0x433969
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x433951
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c978
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43c9c8]
test si, 4
je 0x43c98c
or bl, 1
test si, 8
je 0x43c996
or bl, 4
test si, 1
je 0x43c9a0
or bl, 8
test si, 2
je 0x43c9aa
or bl, 0x10
test si, 0x10
je 0x43c9b4
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43c9c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x43c9cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43ca04]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43c9e5
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x43c9f4
or bl, 4
test esi, 0x20000000
je 0x43c9ff
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x443340
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x443352
add esp, 0xfffffff0
call fcn.00497fec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00483ef4
mov eax, dword [0x4c4020]
mov dword [eax + 4], ebx
mov dword [eax], 0x4436e4
mov eax, dword [0x4c4024]
mov dword [eax + 4], ebx
mov dword [eax], 0x4436f0
mov eax, ebx
call fcn.004436fc
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
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, 0x43fbc4
push eax
push 0
push 0
mov eax, dword [0x4c400c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x43030c]
call fcn.00431a20
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x43030c]
call fcn.00431a20
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x43030c]
call fcn.00431a20
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00443b64
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443a40
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443a40
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x443a40
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44348f
call fcn.00498044
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x443824
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 0x4439cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4439b0
mov dl, 1
mov eax, dword [0x4799dc]
call fcn.00497c58
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004989b8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44399f
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.0045cd30
test al, al
je 0x443992
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, 0x4439e0
lea eax, [ebp - 0x254]
call fcn.00488d9c
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x443992
xor eax, eax
push ebp
push 0x44398b
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 0x443a18
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x443974
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00498c20
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 0x443974
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.00498c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443992
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x443895
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0047dfa4
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 0x4439d6
lea eax, [ebp - 0x260]
call fcn.004989b8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4c4e94]
cmp byte [eax + 0xa5], 0
jne 0x444375
cmp dword [0x4c4eac], 0
jne 0x444336
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4442c0
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4c4eac], eax
cmp dword [0x4c4ea8], 0
jne 0x444351
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4c4ea8], eax
cmp dword [0x4c4eb0], 0
jne 0x444375
push esp
push 0
push 0
push 0x444264
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4c4eb0], eax
pop edx
ret
Function at 0x44449c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4444b3
add esp, 0xfffffff0
call fcn.00497fec
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00483ef4
mov eax, dword [0x4c4028]
cmp word [eax + 2], 0
jne 0x4444db
mov eax, dword [0x4c4028]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00445ad0
mov eax, dword [0x4c402c]
cmp word [eax + 2], 0
jne 0x4444f5
mov eax, dword [0x4c402c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00445cc8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4793f0]
call fcn.00497c58
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], SafeArrayCopy
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 [0x430d8c]
call fcn.00438c5c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44467c
mov eax, dword [0x4c4280]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043902c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x446238
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c4280]
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.0048b40c
test eax, eax
je 0x4445ea
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004886e4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0048b434
test eax, eax
je 0x4445fe
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, 0x100
call fcn.00498c20
mov eax, dword [0x4c4288]
cmp byte [eax], 0
jne 0x444632
mov eax, ebx
call fcn.004447a4
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.00446414
mov eax, ebx
call fcn.00446dc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x444672
call fcn.00498044
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x444a18
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4c4e94]
cmp dword [eax + 0x30], 0
je 0x444ac2
cmp dword [ebx + 0x94], 0
jne 0x444abc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4449a8
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x444abc
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 0x444a82
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x444abc
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.0047bbdc
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x444a91
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4455a0
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 0x4455d5
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.00498aa8
jmp 0x4455e2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00498a0c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4465f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x446631
mov eax, esi
call fcn.00458428
test al, al
je 0x446631
mov eax, dword [ebx + 0x84]
call fcn.00458124
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x446631
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458124
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret
Function at 0x44b5b0
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.00498e58
xor eax, eax
push ebp
push 0x44b6de
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x44b6b1
xor eax, eax
push ebp
push 0x44b6aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00498c70
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44b67f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x44b66e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00498c70
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00498e68
mov edx, ebx
pop ecx
call fcn.00496fcc
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 0x44b675
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4c3fdc]
mov dl, 1
mov eax, dword [0x486e64]
call fcn.0048a8e0
call fcn.00498454
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b6e5
lea eax, [ebp - 4]
call fcn.004989b8
ret