joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471cec
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 0x471cf2
ret

Function at 0x474ffc
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 0x47504d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x475034
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x475024
jmp 0x47504d
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 0x475035
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47fb2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x47fb84]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x47fb46
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x47fb50
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x47fb5a
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x47fb64
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x47fb6e
or byte [ebp - 3], 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47fb7e
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x47fb88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x47fbcc]
mov byte [ebp - 5], al
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47fba9
or byte [ebp - 5], 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47fbb9
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x47fbc3
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x47fc3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [ebp - 0x101]
call fcn.0047fbd0
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
mov esp, ebp
pop ebp
ret
Function at 0x487eac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x487ebe
add esp, 0xfffffff0
call fcn.004fffcc
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004e4c50
mov eax, dword [0x57b75c]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48841c
mov eax, dword [0x57b760]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x48843c
mov eax, dword [ebp - 4]
call fcn.0048845c
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x4d8104]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x48393c
push eax
push 0
push 0
mov eax, dword [0x57b744]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x471070]
call fcn.004729d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x471070]
call fcn.004729d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x471070]
call fcn.004729d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.00488a04
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x488850
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x488850
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x488850
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x488046
call fcn.00500024
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x488608
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4887d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4887b1
mov dl, 1
mov eax, dword [0x4d86f0]
call fcn.004ffc38
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00500998
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x48879a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.004a968c
test al, al
je 0x48878e
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x4887e4
lea eax, [ebp - 0x25c]
call fcn.004ecac8
push eax
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x48878e
xor eax, eax
push ebp
push 0x488787
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x48881c
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x488770
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00500c00
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x488770
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00500c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48878e
mov eax, dword [ebp - 0x18]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x48867d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.004ddff4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4887da
lea eax, [ebp - 0x268]
call fcn.00500998
ret
Function at 0x48930c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x589064]
cmp byte [eax + 0xa5], 0
jne 0x489383
cmp dword [0x58907c], 0
jne 0x489341
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4892c8
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x58907c], eax
cmp dword [0x589078], 0
jne 0x48935c
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x589078], eax
cmp dword [0x589080], 0
jne 0x489383
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x489268
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x589080], eax
pop ecx
pop ebp
ret

Function at 0x48944c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.004893e4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x48946d
xor eax, eax
call fcn.0048941c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x489487
mov al, 1
call fcn.0048941c
mov esp, ebp
pop ebp
ret

Function at 0x489b88
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x589064]
cmp dword [eax + 0x30], 0
je 0x489c52
mov eax, dword [ebp - 4]
cmp dword [eax + 0x94], 0
jne 0x489c49
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x489b08
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
cmp dword [eax + 8], 0
je 0x489c49
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x489c03
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x489c49
mov dword [ebp - 0xc], eax
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x90]
call fcn.004dae64
push eax
call sub.USER32.DLL_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x489c18
mov eax, dword [ebp - 4]
inc dword [eax + 0x94]
mov esp, ebp
pop ebp
ret

Function at 0x48a8c4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xa4], 0
je 0x48a909
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00500a88
jmp 0x48a91a
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x8c]
call fcn.005009ec
mov esp, ebp
pop ebp
ret
Function at 0x48bc9c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
je 0x48bcef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a3b44
test al, al
je 0x48bcef
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a3674
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x48bcef
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
call fcn.004a3674
push eax
call sub.USER32.DLL_ShowWindow
pop ecx
pop ebp
ret

Function at 0x497f88
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x589108], 0
je 0x4980e3
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x57b59c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4980e3
mov eax, dword [0x58910c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x589108]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4980b2
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x589108]
call fcn.004dae64
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4980a6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4980a6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4980a6
mov eax, dword [ebp - 0x14]
call fcn.004a3674
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4980a6
push ebp
call fcn.00497f3c
pop ecx
test al, al
jne 0x4980a6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x498062
mov eax, dword [ebp - 0x14]
call fcn.004a1a78
dec eax
jle 0x4980a6
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004ffe64
cmp byte [ebp - 1], 0
je 0x4980a6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4980a6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x58910c]
call fcn.004973f8
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x497ff4
mov eax, dword [0x58910c]
cmp dword [eax + 8], 0
jle 0x4980ca
mov eax, dword [0x58910c]
call fcn.004974a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4980e3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00497d78
pop ecx
test al, al
jne 0x4980e3
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49c7ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x49c83f
mov eax, dword [ebp - 0x14]
call fcn.0047fce0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49c83f
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x49c83f
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x49c9ce
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x49c888
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x49c888
mov eax, dword [ebp - 0x14]
call fcn.0047fce0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x49c9c3
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xec]
test al, al
jne 0x49c9ce
jmp 0x49c9c3
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x49c99e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x49c99e
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x49c8cb
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x49c8c5
sub eax, 3
je 0x49c8c5
sub eax, 3
jne 0x49c8cb
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x49c8e2
dec eax
je 0x49c8f9
dec eax
je 0x49c920
dec eax
je 0x49c8f9
jmp 0x49c92d
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x57b59c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0048bb20
jmp 0x49c9c3
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x49c913
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.004ffe64
jmp 0x49c9ce
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x49c9c3
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x49c9c3
mov eax, dword [0x5890c4]
cmp byte [eax + 0x20], 0
je 0x49c9c3
mov eax, dword [0x5890c4]
cmp dword [eax + 0x1c], 0
je 0x49c9c3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x5890c4]
cmp eax, dword [edx + 0x1c]
jne 0x49c9c3
lea eax, [ebp - 0x11c]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0047fbd0
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.004ffe64
jmp 0x49c9ce
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x49c9c3
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0049a898
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a0e30
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x4a0e51
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4a0e86
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x4a0e76
mov eax, dword [ebp - 4]
call fcn.0049f510
test eax, eax
jne 0x4a0e76
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4a0fb0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a0804
jmp 0x4a0fb0
push 0
call sub.USER32.DLL_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4a0fa9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004a3674
push eax
call sub.USER32.DLL_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0049c6a0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a0e30
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004a3674
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0fb0
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.GDI32.DLL_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x4a92ec
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x57b828]
cmp byte [eax + 0xc], 0
je 0x4a945e
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a9457
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x589118], 0
jne 0x4a9345
push 0x4a9464
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 4], eax
push 0x4a946c
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589118], eax
cmp dword [0x576734], 0
jne 0x4a9440
push 0x4a947c
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x576734], eax
cmp dword [0x576734], 0
je 0x4a9440
push 0x4a9488
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58911c], eax
push 0x4a9498
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589120], eax
push 0x4a94ac
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589124], eax
push 0x4a94c4
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589128], eax
push 0x4a94dc
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58912c], eax
push 0x4a94f0
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589130], eax
push 0x4a9508
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589134], eax
push 0x4a9520
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589138], eax
push 0x4a953c
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x58913c], eax
push 0x4a9548
mov eax, dword [0x576734]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x589140], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a945e
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret
Function at 0x4b25b4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4b2699
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x589154], 0
jne 0x4b267b
lea eax, [ebp - 8]
mov edx, 0x4b26b0
call fcn.00500a30
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00500e48
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4b267b
mov eax, dword [ebp - 0xc]
call fcn.004fed68
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4b2674
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00500e48
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x4b265e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4b26c0
mov eax, dword [ebp - 0x14]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x4b265e
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [0x589154], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b267b
mov eax, dword [ebp - 0x14]
call fcn.004fed88
ret
mov eax, dword [0x589154]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b26a0
lea eax, [ebp - 8]
call fcn.00500998
ret

Function at 0x4ca804
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x589178], 0
jne 0x4ca82a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4ca74c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x589178], eax
pop ebp
ret

Function at 0x4cfb34
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4cfc10
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4cfbe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4cfbd1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
call fcn.004fefcc
mov eax, dword [ebp - 4]
call fcn.004cfa10
mov eax, dword [ebp - 0x10]
push eax
movzx eax, word [ebp - 6]
push eax
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4cfbd8
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret