joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a44b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x14
push esi
mov esi, ecx
mov eax, dword [esi + 0xb54]
test eax, eax
je 0x4a458c
mov eax, dword [esi + 0xb50]
test eax, eax
je 0x4a458c
mov dword [esi + 0x40], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x4a44ec
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0xb50]
call fcn.00458750
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov ecx, dword [esi + 0xb50]
mov edx, dword [ecx]
call dword [edx + 0x68]
cmp eax, 0x64
mov dword [esi + 0x28], eax
je 0x4a4525
mov ecx, dword [esi + 0xb50]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0x9c]
mov ecx, esi
call fcn.004a4bd0
mov ecx, esi
call fcn.004a4a50
xor ecx, ecx
mov edx, dword [esi + 0x34]
mov dword [esp + 4], ecx
mov eax, dword [esi + 0x30]
mov dword [esp + 8], ecx
push 0x14
mov dword [esp + 0x10], ecx
push 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esi + 0xb50]
push edx
push 0x53
mov dword [esp + 0x24], eax
call fcn.0040fa90
mov eax, dword [esi + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.004a3d80
pop esi
add esp, 0x14
ret

Function at 0x4a7740
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x4a7779
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x50], 1
test ecx, ecx
je 0x4a7779
push 2
call fcn.00410ed0
mov eax, dword [esi + 0x28]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x58]
push 0
push 0
push 1
call fcn.00410c20
pop esi
ret

Function at 0x4b0020
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d8b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004c6560
mov dword [esi + 0x28], 0x4dab80
mov dword [esi + 0x2c], 0x64
lea eax, [esi + 0x1094]
mov dword [ebx], 0x4e07d4
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_EDIT
push eax
mov dword [esi], 0x4e07c8
mov dword [esi + 0x28], 0x4e07c0
mov dword [esi + 0x1088], edi
call ebx
lea ecx, [esi + 0x10d4]
push str.LeftPad
push ecx
call ebx
lea edx, [esi + 0x1114]
push str.RightPad
push edx
call ebx
add esp, 0x18
mov dword [esi + 0x1160], edi
mov dword [esi + 0x1158], edi
mov dword [esi + 0x115c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1090], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x1154], edi
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x1164], 8
mov dword [esi + 0x1168], 5
mov dword [esi + 0x108c], 0x12
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4b2ab0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b2c58
mov ecx, dword [esi + 4]
push ebx
push edi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ecx
call edi
mov ebx, dword [esi + 0x95b4]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x95b4], eax
call fcn.004bc260
mov edx, dword [esi + 0x95b4]
lea ecx, [esi + 0xcf0]
push edx
call fcn.004bc260
mov eax, dword [esi + 0x95b4]
test eax, eax
je 0x4b2bdb
mov eax, dword [esi + 4]
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsZoomed]
push eax
call ebp
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esi + 0x9844]
mov dword [esi + 0x9840], eax
push ecx
push edx
call ebx
mov eax, dword [esi + 4]
push 0xfffffffffffffff0
push eax
call edi
mov ecx, dword [esi + 4]
mov dword [esi + 0x983c], eax
and eax, 0xff3bffff
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push 0
push edx
push eax
call fcn.0048d370
add esp, 0x10
test eax, eax
jne 0x4b2b81
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call ebx
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
sub edi, edx
mov edx, dword [esi + 4]
push edx
sub ebx, ecx
call ebp
test eax, eax
pop ebp
je 0x4b2bba
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi + 4]
push 0x60
push ebx
push edi
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 4]
push 3
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 0
push 0x190
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4b2c46
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x983c]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x9848]
mov edx, dword [esi + 0x9850]
mov ecx, dword [esi + 0x9844]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x984c]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 4]
push ecx
push 0xfffffffffffffffe
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [esi + 0x9840]
test eax, eax
je 0x4b2c3a
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x4b2c40
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 1
push 0
push eax
call fcn.004d1290
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x4b2ee0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push 6
push eax
call edi
mov ecx, dword [esi + 4]
push 0
push ecx
call edi
pop edi
pop esi
ret
Function at 0x4b4370
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4d8d23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
xor ebp, ebp
mov dword [esi + 0x24], 0x4dab80
mov dword [esp + 0x18], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.004c6560
mov ecx, 0x28
mov eax, 8
mov dword [edi], 0x4e087c
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], eax
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x4c], eax
mov dword [esi], 0x4e0858
mov dword [esi + 0x24], 0x4e0850
mov dword [esi + 0x38], ebp
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], ebp
mov dword [esi + 0x3c], 1
mov dword [esi + 0x58], 0x16
mov dword [esi + 0x5c], 0x10
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4b47d0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4b483f
push 0
call fcn.004b5620
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5e2764]
test eax, eax
je 0x4b4822
mov ecx, dword [esi + 0x40]
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0x14
push 1
push 1
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [esi + 4]
push 0x34
push 1
push 1
push 0
push 0
push 0
push edx
call edi
pop edi
mov eax, dword [esp + 8]
mov ecx, dword [esi + 0x38]
push 0
push eax
push 0x13a1
push ecx
mov dword [esi + 0x30], 0
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x4b4ea0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1074
call fcn.004d2930
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 0x4b4f1a
push 0x10
mov dword [esp + 0x108c], 0x28
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x4b4f1a
mov dword [esp + 0x1088], 0x26
mov eax, dword [esp + 0x1088]
add eax, 0xfffffff3
cmp eax, 0x21
ja case.0x4b4f35.22
xor ecx, ecx
mov cl, byte [eax + 0x4b50f8]
jmp dword [ecx*4 + 0x4b50d0]
mov edx, dword [esp + 0x10]
inc esi
dec edx
cmp esi, edx
jle 0x4b4f48
xor esi, esi
mov edi, 1
jmp 0x4b5007
dec esi
jns 0x4b4f5c
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
mov edi, 1
jmp 0x4b5007
mov ecx, dword [esp + 0x10]
mov edi, 1
lea esi, [ecx - 1]
jmp 0x4b5007
mov eax, dword [ebx + 0x4c]
mov edi, 1
add esi, eax
jmp 0x4b5007
mov eax, dword [ebx + 0x4c]
mov edi, 1
sub esi, eax
jmp 0x4b5007
mov edx, dword [ebx + 0x38]
push esi
push ebx
push 0x13a4
push edx
call ebp
test eax, eax
jne 0x4b5007
mov eax, dword [esp + 0x1090]
mov dword [eax], 0
jmp 0x4b5007
push 1
mov ecx, ebx
call fcn.004b47d0
mov edi, 1
jmp 0x4b5007
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b4fa3
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b4fa3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4b4fa3
mov edx, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [edx + 0x14]
jmp 0x4b5007
mov ecx, dword [esp + 0x1090]
mov dword [ecx], 0
mov edx, dword [esp + 0x1090]
cmp dword [edx], 0
je 0x4b50bb
test edi, edi
je 0x4b50bb
mov eax, dword [esp + 0x10]
dec eax
cmp esi, eax
jle 0x4b502a
mov esi, eax
test esi, esi
jge 0x4b5030
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 0x4ba2d0
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.004d0ed0
lea ebx, [esi + 0xabc]
mov dword [esi + 0x2c], eax
push ebx
mov dword [esi + 0x30], edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ba3ad
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 0x50b180
push eax
push str.ToolBar
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jbe 0x4ba3ad
lea ecx, [esp + 0x214]
push ecx
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 4
mov dword [esi + 0xa9c], eax
mov ecx, esi
call fcn.004ba7b0
mov eax, dword [esi + 0x2c]
pop edi
pop esi
pop ebx
add esp, 0x410
ret 0x10

Function at 0x4ba6a0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x24c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x934]
cmp eax, 0x10
jle 0x4ba6bc
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 + 0xabc]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4ba798
lea eax, [esp + 0x10]
lea ebp, [esi + 0x8f4]
push ebx
push eax
lea ecx, [esp + 0x5c]
push ebp
push ecx
push str.ToolBar
call fcn.0048d120
add esp, 0x14
test eax, eax
je 0x4ba798
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.0048d120
add esp, 0x20
test eax, eax
je 0x4ba798
mov edi, dword [esp + 0x10]
shr edi, 2
test edi, edi
jle 0x4ba78a
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 + 0x7c], eax
jne 0x4ba771
mov ecx, esi
call fcn.004bb240
mov ecx, esi
call fcn.004bbb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24c
ret
Function at 0x4bbc70
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 + 0xa9c]
lea ebx, [esi + 0xabc]
test edi, edi
sete al
push ebx
mov dword [esi + 0xa9c], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bbd06
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 + 0xa9c]
push eax
push 0x4efa28
push 0x104
push ecx
call fcn.00437b60
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.004bb240
pop edi
pop esi
pop ebx
add esp, 0x410
ret

Function at 0x4bc430
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 + 0x934]
test eax, eax
jle 0x4bc4ae
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f4]
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 + 0xf8]
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 0x4bc4bd
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x934]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4bc461
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 + 0x8f4]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf8]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4

Function at 0x4bc4f0
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 + 0x934]
test eax, eax
jle 0x4bc56e
mov ebx, dword [esp + 0x220]
mov ebp, dword [sym.imp.USER32.dll_GetWindowTextW]
lea edi, [esi + 0x8f4]
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 + 0xf8]
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 0x4bc57d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x934]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4bc521
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 + 0x8f4]
mov edx, eax
shl edx, 4
add edx, eax
mov eax, dword [esi + edx*8 + 0xf4]
pop esi
pop ebp
pop ebx
add esp, 0x20c
ret 4
Function at 0x4bc600
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d8e33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004d0de0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.004c6560
lea ecx, [esi + 0x78]
mov byte [esp + 0x18], 1
call fcn.004ca8f0
lea eax, [esi + 0x30]
push str.BG_SCROLL
push eax
mov dword [esi], 0x4e09ac
mov dword [ebx], 0x4e09a8
mov dword [esi + 0x920], edi
mov dword [esi + 0x918], edi
mov dword [esi + 0x928], edi
mov dword [esi + 0x70], edi
call dword [sym.imp.MSVCRT.dll_wcscpy]
mov ecx, dword [esp + 0x18]
add esp, 8
mov dword [esi + 0x940], edi
mov dword [esi + 0x930], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x90c], edi
mov dword [esi + 0x910], edi
mov dword [esi + 0x944], edi
mov dword [esi + 0x92c], edi
mov dword [esi + 0x914], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x938], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4c2760
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x17be8], edi
je 0x4c2856
push edi
call fcn.004bfb50
cmp eax, 0xffffffff
jne 0x4c27e1
cmp dword [esi + 0x17bcc], edi
je 0x4c27b5
cmp dword [esi + 0x17bd0], edi
je 0x4c27b5
mov eax, dword [esi + 0x150c]
push 1
push 1
push 0xfc7
push eax
mov dword [esi + 0x17bcc], edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, esi
call fcn.004c0690
jmp 0x4c2856
mov ecx, dword [esi + 0x150c]
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.00421ea0
mov ecx, eax
call fcn.00421f30
jmp 0x4c2856
cmp dword [esi + 0x17bec], edi
jne 0x4c2834
mov edx, dword [esi + 0x155c]
cmp dword [edx], edi
je 0x4c2834
cmp dword [esi + 0x1264], 0xffffffff
je 0x4c2834
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x4c2834
cmp dword [esi + 0x1560], edi
jne 0x4c2856
push 1
mov ecx, esi
call fcn.004c17a0
test eax, eax
je 0x4c282c
mov dword [esi + 0x1564], 1
jmp 0x4c2856
mov dword [esi + 0x1564], edi
jmp 0x4c2856
mov eax, dword [esi + 0x150c]
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.004be3b0
mov dword [esi + 0x17be8], edi
mov dword [esi + 0x1560], edi
mov dword [esi + 0x1264], 0xffffffff
pop edi
pop esi
ret 4
Function at 0x4c4eb0
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
test eax, eax
mov esi, ecx
jl 0x4c5025
push ebx
push ebp
push edi
push 0
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 4]
mov edi, dword [esi + 0x34d8]
push eax
mov dword [esp + 0x14], edi
call dword [sym.imp.USER32.dll_GetParent]
mov ebp, eax
mov eax, dword [esi + 0x34d4]
xor ebx, ebx
mov dword [esi + 0x34d8], 0xffffffff
test eax, eax
jbe 0x4c4f7e
lea edi, [esi + 0xf30]
cmp ebx, dword [esp + 0x18]
jne 0x4c4f5a
mov eax, dword [edi - 8]
test eax, eax
jne 0x4c4f5a
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 + 0x3500]
call fcn.004cde00
mov dword [esi + 0x34d8], 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 0x4c4f69
mov edx, dword [edi - 0x21c]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x34d4]
inc ebx
add edi, 0x27c
cmp ebx, eax
jb 0x4c4f01
mov edi, dword [esp + 0x10]
cmp edi, dword [esi + 0x34d8]
je 0x4c4fb0
cmp edi, 0xffffffff
je 0x4c4fb0
lea eax, [edi + edi*4]
shl eax, 5
sub eax, edi
mov ecx, dword [esi + eax*4 + 0xd1c]
lea eax, [esi + eax*4]
add eax, 0xd20
push ecx
push eax
push 0x1504
push ebp
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x34d8]
pop edi
pop ebp
cmp eax, 0xffffffff
pop ebx
jne 0x4c4feb
mov edx, dword [esi + 0xd14]
push 5
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [esi + 0xf30]
lea ecx, [esi + 0x3500]
push eax
push 1
call fcn.004cde00
mov dword [esi + 0x34d8], 0
mov eax, dword [esi + 0x4698]
cmp eax, 1
jne 0x4c500d
mov edx, dword [esi + 4]
lea ecx, [esi + 0x46ac]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
cmp eax, 2
jne 0x4c5025
mov ecx, dword [esi + 4]
lea eax, [esi + 0x46bc]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
pop ecx
ret 4
Function at 0x4c5b60
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 0x4c5c5c
cmp edi, dword [esi + 0x34d4]
jae 0x4c5c5c
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 + 0xf78]
mov dword [esp + 0x14], eax
mov edx, dword [esi + ecx*4 + 0xf70]
mov ebx, dword [esi + ecx*4 + 0xf7c]
lea esi, [esi + ecx*4]
sub edi, edx
sub ebx, dword [esi + 0xf74]
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.004c56b0
mov edx, dword [esi + 0xf74]
mov eax, dword [esi + 0xf70]
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