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

Disassembly:
mov eax, 0x1074
call fcn.004cd000
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
push esi
mov ebx, ecx
push edi
push 0
push 0
mov eax, dword [ebx + 0x40]
push 0x1042
push eax
call ebp
mov ecx, dword [ebx + 0x40]
push 0
push 0
push 0x1004
push ecx
mov esi, eax
call ebp
mov edx, dword [esp + 0x1090]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1088]
xor edi, edi
cmp eax, 9
mov dword [edx], 1
jne 0x4b0aea
push 0x10
mov dword [esp + 0x108c], 0x28
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4b0aea
mov dword [esp + 0x1088], 0x26
mov eax, dword [esp + 0x1088]
add eax, 0xfffffff3
cmp eax, 0x21
ja case.0x4b0b05.22
xor ecx, ecx
mov cl, byte [eax + 0x4b0cc8]
jmp dword [ecx*4 + 0x4b0ca0]
mov edx, dword [esp + 0x10]
inc esi
dec edx
cmp esi, edx
jle 0x4b0b18
xor esi, esi
mov edi, 1
jmp 0x4b0bd7
dec esi
jns 0x4b0b2c
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
mov edi, 1
jmp 0x4b0bd7
mov ecx, dword [esp + 0x10]
mov edi, 1
lea esi, [ecx - 1]
jmp 0x4b0bd7
mov eax, dword [ebx + 0x4c]
mov edi, 1
add esi, eax
jmp 0x4b0bd7
mov eax, dword [ebx + 0x4c]
mov edi, 1
sub esi, eax
jmp 0x4b0bd7
mov edx, dword [ebx + 0x38]
push esi
push ebx
push 0x13a4
push edx
call ebp
test eax, eax
jne 0x4b0bd7
mov eax, dword [esp + 0x1090]
mov dword [eax], 0
jmp 0x4b0bd7
push 1
mov ecx, ebx
call fcn.004b03a0
mov edi, 1
jmp 0x4b0bd7
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b0b73
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b0b73
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b0b73
mov edx, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [edx + 0x14]
jmp 0x4b0bd7
mov ecx, dword [esp + 0x1090]
mov dword [ecx], 0
mov edx, dword [esp + 0x1090]
cmp dword [edx], 0
je 0x4b0c8b
test edi, edi
je 0x4b0c8b
mov eax, dword [esp + 0x10]
dec eax
cmp esi, eax
jle 0x4b0bfa
mov esi, eax
test esi, esi
jge 0x4b0c00
xor esi, esi
mov ecx, dword [ebx + 0x40]
push esi
push 0
push 0x1043
push ecx
call ebp
mov edx, dword [ebx + 0x40]
push 0
push esi
push 0x1013
push edx
mov edi, eax
call ebp
mov eax, dword [ebx + 0x40]
push 0
push edi
push 0x102a
push eax
call ebp
mov ecx, dword [ebx + 0x40]
push 0
push esi
push 0x102a
push ecx
call ebp
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x3e]
mov word [esp + 0x3c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x40]
lea edx, [esp + 0x3c]
stosw word es:[edi], ax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], 2
push eax
push esi
push 0x1073
push ecx
mov dword [esp + 0x3c], 0x823
mov dword [esp + 0x38], edx
call ebp
mov eax, dword [ebx + 0x38]
lea edx, [esp + 0x3c]
push edx
push 0
push 0x13a3
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1074
ret 0xc
Function at 0x4b5d40
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x410
mov edx, dword [esp + 0x420]
push ebx
push esi
push edi
mov edi, dword [esp + 0x428]
mov esi, ecx
push edi
mov ecx, dword [esp + 0x428]
push eax
push ecx
push 0x46000000
push edx
push str.XToolBar
push 0
mov ecx, esi
call fcn.004cb5a0
lea ebx, [esi + 0xb20]
mov dword [esi + 0x2c], eax
push ebx
mov dword [esi + 0x30], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b5e1d
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0xe]
mov word [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x216]
mov word [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x30]
lea ecx, [esp + 0xc]
push eax
push str.RebarC_d
push ecx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea edx, [esp + 0x214]
lea eax, [esp + 0xc]
push ebx
push 0x104
push edx
push 0x4fff00
push eax
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4b5e1d
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [esi + 0xb00], eax
mov ecx, esi
call fcn.004b6200
mov eax, dword [esi + 0x2c]
pop edi
pop esi
pop ebx
add esp, 0x410
ret 0x10

Function at 0x4b60f0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x998]
cmp eax, 0x10
jle 0x4b610c
mov eax, 0x10
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x54]
push ecx
push str.RebarB_d
shl eax, 2
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea ebx, [esi + 0xb20]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b61eb
lea eax, [esp + 0x10]
lea ebp, [esi + 0x958]
push ebx
push eax
lea ecx, [esp + 0x5c]
push ebp
push ecx
push str.ToolBar
call fcn.00489e90
add esp, 0x14
test eax, eax
je 0x4b61eb
mov edx, dword [esi + 0x30]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0
push edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x58]
push str.RebarA_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
lea ecx, [esp + 0x1c]
push ebx
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
push str.ToolBar
call fcn.00489e90
add esp, 0x20
test eax, eax
je 0x4b61eb
mov edi, dword [esp + 0x10]
shr edi, 2
test edi, edi
jle 0x4b61dd
lea ecx, [esp + 0x14]
mov edx, ebp
mov eax, dword [edx]
add ecx, 4
mov ebx, eax
add edx, 4
shl ebx, 4
add ebx, eax
mov eax, dword [ecx - 4]
dec edi
mov dword [esi + ebx*8 + 0xe0], eax
jne 0x4b61c1
mov ecx, esi
call fcn.004b6c90
mov ecx, esi
call fcn.004b7600
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x4b7710
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x410
xor eax, eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xb00]
lea ebx, [esi + 0xb20]
test edi, edi
sete al
push ebx
mov dword [esi + 0xb00], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b77a6
mov ecx, dword [esi + 0x30]
lea edx, [esp + 0x214]
push ecx
push str.RebarC_d
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1a]
mov word [esp + 0x18], 0
rep stosd dword es:[edi], eax
add esp, 0xc
lea ecx, [esp + 0xc]
stosw word es:[edi], ax
mov eax, dword [esi + 0xb00]
push eax
push 0x4e5194
push 0x104
push ecx
call fcn.00437480
add esp, 0x10
lea edx, [esp + 0xc]
lea eax, [esp + 0x214]
push ebx
push edx
push eax
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov ecx, esi
call fcn.004b6c90
pop edi
pop esi
pop ebx
add esp, 0x410
ret

Function at 0x4b7ef0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x998]
test eax, eax
jle 0x4b7f6e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x958]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0x15c]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4b7f7d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4b7f21
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x958]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0x15c]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4b7fb0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x998]
test eax, eax
jle 0x4b802e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x958]
lea eax, [esp + 0x14]
push 0x104
push eax
mov eax, dword [edi]
mov ecx, eax
mov word [esp + 0x1c], 0
shl ecx, 4
add ecx, eax
mov edx, dword [esi + ecx*8 + 0x15c]
push edx
call ebp
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
je 0x4b803d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4b7fe1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20c
ret 4
mov ecx, dword [esp + 0x10]
pop edi
mov eax, dword [esi + ecx*4 + 0x958]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0x158]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4b8880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d36a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
push 1
mov esi, ecx
push str.BG_SCROLL_H
call fcn.004c2040
add esp, 8
lea ecx, [esi + 0x40]
push eax
call fcn.00474f10
lea eax, [esi + 0x58]
push 0
push eax
call fcn.004c2040
add esp, 8
lea ecx, [esi + 0x28]
push eax
call fcn.00474f10
mov ecx, dword [esi + 0x9b0]
lea edi, [esi + 0xa0]
push 0
push ecx
mov ecx, edi
call fcn.004c89e0
lea ecx, [esp + 0xc]
call fcn.00474b10
push 1
push str.TAB_BUTTON2
mov dword [esp + 0x34], 0
call fcn.004c2040
add esp, 8
lea ecx, [esp + 0xc]
push eax
call fcn.00474f10
lea ecx, [esp + 0xc]
call fcn.00475ac0
lea ecx, [esp + 0xc]
mov ebx, eax
call fcn.00474d20
test ebx, ebx
je 0x4b8954
mov eax, dword [esi + 0x9b4]
test eax, eax
je 0x4b8954
mov edx, dword [esi + 0x9b0]
mov ebx, dword [edi]
push 0
push 0
push edx
push 0
push str.TAB_BUTTON2
push 0x16
call fcn.0047b6a0
add esp, 4
mov ecx, edi
push eax
push 3
call dword [ebx + 0x18]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
mov ecx, edi
call fcn.004c86d0
add eax, 5
mov ecx, esi
mov dword [esi + 0x9c8], eax
call fcn.004b8660
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00474b50
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4be260
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x17db4], edi
je 0x4be356
push edi
call fcn.004bb670
cmp eax, 0xffffffff
jne 0x4be2e1
cmp dword [esi + 0x17d98], edi
je 0x4be2b5
cmp dword [esi + 0x17d9c], edi
je 0x4be2b5
mov eax, dword [esi + 0x16d8]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x17d98], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004bc1b0
jmp 0x4be356
mov ecx, dword [esi + 0x16d8]
push edi
push 1
push 0xfc7
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push edi
push edi
push 0x7534
call fcn.00421b80
mov ecx, eax
call fcn.00421c10
jmp 0x4be356
cmp dword [esi + 0x17db8], edi
jne 0x4be334
mov edx, dword [esi + 0x1728]
cmp dword [edx], edi
je 0x4be334
cmp dword [esi + 0x137c], 0xffffffff
je 0x4be334
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4be334
cmp dword [esi + 0x172c], edi
jne 0x4be356
push 1
mov ecx, esi
call fcn.004bd2c0
test eax, eax
je 0x4be32c
mov dword [esi + 0x1730], 1
jmp 0x4be356
mov dword [esi + 0x1730], edi
jmp 0x4be356
mov eax, dword [esi + 0x16d8]
push edi
push 2
push 0xfc7
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0xffffffffffffffff
push edi
mov ecx, esi
call fcn.004ba010
mov dword [esi + 0x17db4], edi
mov dword [esi + 0x172c], edi
mov dword [esi + 0x137c], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x4c0a80
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4c0bf5
push ebx
push ebp
push edi
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x353c]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x3538]
xor ebx, ebx
mov dword [esi + 0x353c], 0xffffffff
test eax, eax
jbe 0x4c0b4e
lea edi, [esi + 0xf94]
cmp ebx, dword [esp + 0x18]
jne 0x4c0b2a
mov eax, dword [edi - 8]
test eax, eax
jne 0x4c0b2a
mov ecx, dword [edi - 0x21c]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [edi - 0x21c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
push edi
push 1
lea ecx, [esi + 0x3564]
call fcn.004c85f0
mov dword [esi + 0x353c], ebx
mov eax, dword [edi - 0x214]
lea ecx, [edi - 0x210]
push eax
push ecx
push 0x1503
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4c0b39
mov edx, dword [edi - 0x21c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x3538]
inc ebx
add edi, 0x27c
cmp ebx, eax
jb 0x4c0ad1
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x353c]
je 0x4c0b80
cmp edi, 0xffffffff
je 0x4c0b80
lea eax, [edi + edi*4]
shl eax, 5
sub eax, edi
mov ecx, dword [esi + eax*4 + 0xd80]
lea eax, [esi + eax*4]
add eax, 0xd84
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x353c]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4c0bbb
mov edx, dword [esi + 0xd78]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xf94]
lea ecx, [esi + 0x3564]
push eax
push 1
call fcn.004c85f0
mov dword [esi + 0x353c], 0
mov eax, dword [esi + 0x488c]
cmp eax, 1
jne 0x4c0bdd
mov edx, dword [esi + 4]
lea ecx, [esi + 0x48a0]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4c0bf5
mov ecx, dword [esi + 4]
lea eax, [esi + 0x48b0]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4c1680
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 0xc], esi
je 0x4c177c
cmp edi, dword [esi + 0x3538]
jae 0x4c177c
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 5
sub ecx, edi
mov edi, dword [esi + ecx*4 + 0xfdc]
mov dword [esp + 0x14], eax
mov edx, dword [esi + ecx*4 + 0xfd4]
mov ebx, dword [esi + ecx*4 + 0xfe0]
lea esi, [esi + ecx*4]
sub edi, edx
sub ebx, dword [esi + 0xfd8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x10]
push ebx
push edi
push edx
mov ebp, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push ebp
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
call fcn.004c1250
mov edx, dword [esi + 0xfd8]
mov eax, dword [esi + 0xfd4]
mov esi, dword [esp + 0x10]
push 0xcc0020
push 0
push 0
push ebp
push ebx
push edi
push edx
push eax
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x18]
push ecx
push ebp
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x14]
push esi
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4
Function at 0x4c1790
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x20
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
cmp edi, 0xffffffff
mov dword [esp + 8], esi
je 0x4c18a9
cmp edi, dword [esi + 0x3538]
jae 0x4c18a9
mov eax, dword [esi + 4]
push ebx
push ebp
push eax
call dword [sym.imp.USER32.dll_GetDC]
lea ecx, [edi + edi*4]
push eax
shl ecx, 5
sub ecx, edi
mov dword [esp + 0x18], eax
mov ebx, dword [esi + ecx*4 + 0xfec]
mov edx, dword [esi + ecx*4 + 0xfe4]
mov ebp, dword [esi + ecx*4 + 0xff0]
lea esi, [esi + ecx*4]
sub ebx, edx
sub ebp, dword [esi + 0xfe8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x14]
push ebp
push ebx
push edx
mov edi, eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
xor eax, eax
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
push eax
lea eax, [esp + 0x38]
push 1
push eax
push edi
add ecx, 0x47c4
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebp
call fcn.00475110
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push edi
call fcn.004c1c20
mov ecx, dword [esi + 0xfe8]
mov edx, dword [esi + 0xfe4]
mov esi, dword [esp + 0x14]
push 0xcc0020
push 0
push 0
push edi
push ebp
push ebx
push ecx
push edx
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0x10]
push esi
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x20
ret 4

Function at 0x4c1ef0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xd70], eax
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x4c3be0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esi + 0x944]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 0x2998]
test eax, eax
je 0x4c3d0c
mov eax, dword [esi + 0x2990]
test eax, eax
jne 0x4c3c98
mov ecx, dword [esi + 0xe8]
mov eax, dword [esi + 0x32ac]
lea edi, [esi + 0x32ac]
push ecx
mov ecx, edi
mov dword [esi + 0x2994], 1
call dword [eax + 0x34]
push 5
push 0x4fff00
push 0x4fff00
push str.IMG_PROGRESS
push 0x4fff00
mov ecx, edi
call fcn.004b51c0
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 8]
push 1
push 0
push 0
push 2
push edx
push eax
push str.ProgressBar
mov ecx, edi
call fcn.004c5610
push 0
push 0x64
push 0
mov ecx, edi
call fcn.004b5170
test edi, edi
je 0x4c3c8f
mov ecx, dword [esi + 0x32b4]
lea eax, [esi + 0x32b0]
push 0
push ecx
jmp 0x4c3d06
xor eax, eax
push eax
mov ecx, dword [eax + 4]
push ecx
jmp 0x4c3d06
mov eax, dword [esi + 8]
mov dword [esi + 0x2994], 0
mov edx, dword [0x5dae3c]
push 0
push edx
push 2
push eax
push 0
push 0
push 0
push 0
push 0x44000001
push str.ProgressBar
push 0x4ff8fc
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x640000
push 0
push 0x401
push eax
mov dword [esi + 0x3c94], eax
call edi
mov ecx, dword [esi + 0x3c94]
push 0
push 0
push 0x409
push ecx
call edi
mov edx, dword [esi + 0x3c94]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 8]
push 0
push 0x1f4
push 0xc1c
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
ret
Function at 0x4c4f00
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x23c
lea eax, [esp + 4]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push eax
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xe8]
mov edi, dword [esp + 0x250]
test eax, eax
je 0x4c4f82
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea edx, [esp + 0x24]
push edx
push eax
call ebx
mov edx, dword [esi + 8]
lea ecx, [esp + 0x34]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call ebx
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
sub eax, ebp
mov ebp, dword [esp + 0x18]
sub ecx, edx
add ecx, ebp
add eax, ebx
push ecx
mov ecx, dword [esi + 0xe8]
push eax
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.004b6530
mov eax, dword [esi + 0x914]
test eax, eax
jne 0x4c50f5
mov ecx, dword [esi + 0x11c]
push 0
push 0
push 0x7f
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 2
sub eax, ecx
mov dword [esi + 0x918], 3
sub eax, 0x10
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
mov ebx, eax
mov eax, dword [esi + 8]
sar ebx, 1
push eax
add ebx, ecx
lea ebp, [edx + 6]
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x4c4feb
add ebp, dword [esi + 0x91c]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c5007
push 3
push 0
push 0
push 0x10
push 0x10
push eax
push ebx
push ebp
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 0x918]
lea eax, [ecx + ebp + 0x10]
mov ecx, dword [esp + 0x1c]
sub ecx, 0x10
mov dword [esp + 0x14], eax
cmp ecx, eax
mov dword [esp + 0x1c], ecx
jge 0x4c5028
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x11c]
lea edx, [esp + 0x44]
push 0x104
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 2
mov ecx, esi
call fcn.004c20a0
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebp, dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x46c]
test eax, eax
je 0x4c50ab
mov ecx, dword [esi + 0x468]
push ecx
push edi
call ebp
mov ebx, dword [sym.imp.USER32.dll_OffsetRect]
push 1
lea edx, [esp + 0x18]
push 1
push edx
call ebx
lea eax, [esp + 0x14]
push 0x48824
push eax
lea ecx, [esp + 0x4c]
push 0xffffffffffffffff
push ecx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
push 0xffffffffffffffff
lea edx, [esp + 0x18]
push 0xffffffffffffffff
push edx
call ebx
mov ecx, dword [esi + 0x910]
test ecx, ecx
je 0x4c50c7
call fcn.004aece0
test eax, eax
je 0x4c50c7
mov eax, dword [esi + 0x434]
push eax
jmp 0x4c50ce
mov ecx, dword [esi + 0x920]
push ecx
push edi
call ebp
lea edx, [esp + 0x14]
push 0x48824
push edx
lea eax, [esp + 0x4c]
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret 4
Function at 0x4c72c0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push esi
push edi
mov esi, ecx
call fcn.004c7cd0
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4c731a
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
call edi
shr eax, 8
test al, al
jne 0x4c72f6
push 2
call edi
shr eax, 8
test al, al
je 0x4c731a
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, dword [esi + 8]
je 0x4c739c
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x100], 0xffffffff
cmp eax, 0xffffffff
mov dword [esi + 0xfc], 0xffffffff
mov dword [esi + 0x104], 0
je 0x4c734b
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
mov byte [esi + 0x1e4], 4
call dword [eax + 0x28]
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x4c7396
mov ecx, dword [esi + 8]
lea edi, [esi + 0x28]
push ecx
mov ecx, edi
call fcn.004cafa0
mov edx, dword [esi + 8]
mov ecx, edi
push edx
call fcn.004caf50
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x11c]
push eax
push 0xffffffffffffffff
push 0x37ea
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.USER32.dll_ReleaseCapture]
pop edi
pop esi
add esp, 8
ret