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

Disassembly:
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4655e2
lea edi, [esi + 0x240ec]
push ebx
push 0xa
mov ecx, edi
call fcn.00493100
test eax, eax
je 0x46552b
lea ecx, [esp + 0xc]
push ebp
push ecx
push 0xa
mov ecx, edi
call fcn.00491c20
lea ebx, [esi + 0x247cc]
mov ecx, ebx
call fcn.00404d20
mov ebp, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x1c]
push 0x40
sub eax, ebp
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, ebp
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x18]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x247d0]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, ebx
call fcn.004027e0
pop ebp
jmp 0x46553a
mov ecx, dword [esi + 0x247d0]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x13
mov ecx, edi
call fcn.00493100
test eax, eax
je 0x4655a3
lea edx, [esp + 0xc]
mov ecx, edi
push edx
push 0x13
call fcn.00491c20
lea edi, [esi + 0x22f8c]
mov ecx, edi
call fcn.00459350
mov ebx, dword [esp + 0x10]
mov ecx, eax
mov eax, dword [esp + 0x18]
push 0x40
sub eax, ebx
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, ebx
add ecx, eax
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x14]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x22f90]
push ecx
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, edi
call fcn.00459360
jmp 0x4655b2
mov ecx, dword [esi + 0x22f90]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x2810c]
call fcn.004247c0
lea ecx, [esi + 0x8234]
call fcn.00488130
mov edi, eax
pop ebx
test edi, edi
je 0x4655e2
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4655e2
push edi
mov ecx, esi
call fcn.00469970
pop edi
pop esi
add esp, 0x10
ret

Function at 0x467e90
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1048
call fcn.00495c50
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1050]
xor eax, eax
shr ecx, 0x10
cmp ecx, 0x13
jne 0x467f43
push edi
mov ecx, 0x411
lea edi, [esp + 0xa]
mov word [esp + 8], ax
rep stosd dword es:[edi], eax
lea ecx, [esi + 0x22f8c]
stosw word es:[edi], ax
call fcn.00459330
test eax, eax
pop edi
je 0x467efa
cmp word [eax], 0
je 0x467efa
push 1
push 1
lea edx, [esp + 0xc]
push 0x824
push edx
push eax
push 0xffffffffffffffff
call fcn.00459580
mov ecx, eax
call fcn.004598b0
jmp 0x467f14
push 1
lea eax, [esp + 8]
push 0x824
push eax
push 0xffffffffffffffff
call fcn.00459580
mov ecx, eax
call fcn.004599d0
cmp word [esp + 4], 0
je 0x467f3e
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
push 0
push 1
push 1
push 8
lea ecx, [esp + 0x14]
push 0
push ecx
lea ecx, [esi + 0x8174]
call fcn.0044d690
mov eax, 1
pop esi
add esp, 0x1048
ret 4
Function at 0x468080
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x10]
push 0x2008
push 1
push 0x9d99
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x46ab80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [edx]
push edi
mov edi, dword [esp + 0x14]
mov ecx, esi
xor ecx, eax
and ecx, 0xff
shr esi, 8
mov ecx, dword [edi + ecx*4]
xor ecx, esi
mov esi, dword [edx + 4]
mov dword [edx], ecx
and ecx, 0xff
add ecx, esi
mov esi, dword [edx + 8]
imul ecx, ecx, 0x8088405
inc ecx
mov ebx, esi
mov dword [edx + 4], ecx
and ebx, 0xff
shr ecx, 0x18
xor ecx, ebx
shr esi, 8
mov ecx, dword [edi + ecx*4]
pop edi
xor ecx, esi
pop esi
mov dword [edx + 8], ecx
pop ebx
ret
Function at 0x46b8f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb76f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 0xc]
lea eax, [esi + 0x30]
mov dword [esi], 0x4cf89c
mov dword [edi], 0x4cf878
mov dword [eax], 0x4cf884
neg ecx
sbb ecx, ecx
mov dword [esp + 0x18], 1
and ecx, eax
call fcn.0047a710
mov ecx, esi
mov byte [esp + 0x18], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.00494080
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004256d0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46c0a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb79e
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.00486200
lea ebx, [esi + 4]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00494040
lea ecx, [esi + 0x7c]
mov byte [esp + 0x18], 1
call fcn.00451520
lea ecx, [esi + 0x9c]
mov byte [esp + 0x18], 2
call fcn.0048f220
lea ecx, [esi + 0x94]
xor eax, eax
mov dword [esi], 0x4cf8dc
mov dword [ebx], 0x4cf8d0
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x77c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x28], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46d4a0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x46d4be
mov eax, dword [ecx + 8]
push 5
push eax
mov dword [ecx + 0x28], 0
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov dword [ecx + 0x28], 1
mov ecx, dword [ecx + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x46dae0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cb8f8
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x46dc3b
mov eax, dword [esi + 0x77c]
test eax, eax
je 0x46dc3b
mov dword [esi + 0x34], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x46db2e
push 0x4001
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 0x77c]
call fcn.0043bde0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf8]
mov eax, dword [esi + 0x38]
lea ecx, [esp + 8]
mov dword [esp + 8], 0
push ecx
mov edx, dword [eax]
push eax
mov dword [esp + 0x2c], 0
call dword [edx + 0x9c]
mov eax, dword [esp + 8]
mov dword [esp + 4], 0
test eax, eax
jne 0x46db83
push 0x80004003
call fcn.00495b54
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 4]
push ecx
push 0x4d01bc
push eax
call dword [edx]
mov eax, dword [esp + 4]
test eax, eax
je 0x46dbd4
mov edx, dword [0x5cad44]
push edx
push 0x5cace4
push str.openvideo.js
push 0x818
call fcn.0046c290
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x38]
add esp, 0x10
push 1
push eax
push ecx
mov ecx, esi
call fcn.0046d6d0
mov eax, dword [esp + 4]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [esi + 0x30]
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x77c]
push 0x53
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], eax
call fcn.00409af0
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x7d0
mov ecx, esi
call fcn.0046d3d0
mov eax, dword [esp + 8]
mov dword [esp + 0x24], 0xffffffff
test eax, eax
je 0x46dc3b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x1c]
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x46e270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cb96b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebp
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
xor ebp, ebp
push str.errorLine
mov dword [esp + 0x18], ebp
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
call esi
push str.errorCharacter
mov dword [esp + 0x20], eax
call esi
push str.errorCode
mov dword [esp + 0x24], eax
call esi
push str.errorMessage
mov dword [esp + 0x28], eax
call esi
push str.errorUrl
mov dword [esp + 0x2c], eax
call esi
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xa0]
lea edx, [esp + 0x14]
mov dword [esp + 0x38], ebp
mov eax, dword [eax + 8]
mov dword [esp + 0x3c], ebp
push edx
push 0x4d01bc
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jl 0x46e3a4
mov eax, dword [esp + 0x14]
lea edx, [esp + 8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1b0]
mov eax, dword [esp + 8]
cmp eax, ebp
je 0x46e39a
push ebx
push edi
lea edi, [esp + 0x48]
lea esi, [esp + 0x24]
mov ebx, 5
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0xd4]
test eax, eax
jl 0x46e385
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
push 0x800
mov ecx, dword [eax]
push 1
push esi
push 0x4d016c
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x14]
push ebp
push ebp
lea edx, [esp + 0x40]
mov ecx, dword [eax]
push edi
push edx
mov edx, dword [esp + 0x30]
push 2
push 0x800
push 0x4d016c
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
add esi, 4
add edi, 0x10
dec ebx
jne 0x46e32a
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
pop ebx
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edx, dword [0x4de108]
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
lea edx, [esp + 0x24]
push str.Line:__d__Char:__d__Code:__d_r_nErr:__s_r_nUrl:__s
push edx
mov dword [esp + 0xb4], ebp
call fcn.00434100
mov eax, dword [esp + 0x2c]
add esp, 0x1c
push ebp
push str.error
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, dword [esp + 0x10]
mov edx, dword [0x4de090]
pop esi
pop ebp
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x46e426
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x46e426
mov edx, dword [esp + 8]
add edx, 0xfffffff4
push edx
call fcn.00495c27
add esp, 4
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
add esp, 0x94
ret 4
Function at 0x46fc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cba7d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
lea edi, [esi + 0xc]
lea ebx, [esi + 0x30]
lea ebp, [esi + 0x34]
mov dword [esi], 0x4cfa74
mov dword [edi], 0x4cfaa8
mov dword [ebx], 0x4cfa58
mov dword [ebp], 0x4cfa5c
lea ecx, [esi + 0x3c]
mov dword [esp + 0x28], 3
call fcn.00409e30
mov ecx, esi
mov byte [esp + 0x28], 2
neg ecx
sbb ecx, ecx
and ecx, ebp
call fcn.0047a710
mov ecx, esi
mov byte [esp + 0x28], 1
neg ecx
sbb ecx, ecx
and ecx, ebx
call fcn.00486230
mov ecx, esi
mov byte [esp + 0x28], 0
neg ecx
sbb ecx, ecx
and ecx, edi
call fcn.00494080
mov ecx, esi
mov dword [esp + 0x28], 0xffffffff
call fcn.004256d0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x470020
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x470056
push edi
lea edi, [esi + 0x3c]
push 2
mov ecx, edi
mov dword [esi + 0x38], 1
call fcn.0040a330
mov eax, dword [esi + 0x10]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 1
mov ecx, edi
call fcn.0040a110
pop edi
pop esi
ret
Function at 0x476610
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cbd0e
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.00494040
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [esp + 0x18], edi
call fcn.00486200
mov dword [esi + 0x28], 0x4ceb20
mov dword [esi + 0x2c], 0x64
lea ecx, [esi + 0x1154]
mov byte [esp + 0x18], 2
call fcn.00451520
lea eax, [esi + 0x1094]
mov dword [ebx], 0x4cfb84
mov ebx, dword [sym.imp.MSVCRT.dll_wcscpy]
push str.BG_EDIT
push eax
mov dword [esi], 0x4cfb78
mov dword [esi + 0x28], 0x4cfb70
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 + 0x1170], edi
mov dword [esi + 0x116c], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x1090], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov ecx, 0x412
xor eax, eax
lea edi, [esi + 0x40]
mov dword [esi + 0x1174], 8
mov dword [esi + 0x1178], 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 0x479000
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 0x4791a8
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 + 0x7e78]
xor eax, eax
test ebx, ebx
sete al
push eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x7e78], eax
call fcn.00482340
mov edx, dword [esi + 0x7e78]
lea ecx, [esi + 0xb48]
push edx
call fcn.00482340
mov eax, dword [esi + 0x7e78]
test eax, eax
je 0x47912b
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 + 0x8158]
mov dword [esi + 0x8154], 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 + 0x8150], 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.00461d50
add esp, 0x10
test eax, eax
jne 0x4790d1
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 0x47910a
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 0x479196
mov edx, dword [esi + 4]
push 1
push edx
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 0x8150]
mov ecx, dword [esi + 4]
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [esi + 0x815c]
mov edx, dword [esi + 0x8164]
mov ecx, dword [esi + 0x8158]
sub edx, eax
push 0x60
push edx
mov edx, dword [esi + 0x8160]
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 + 0x8154]
test eax, eax
je 0x47918a
mov ecx, dword [esi + 4]
push 3
push ecx
jmp 0x479190
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.004944d0
add esp, 0xc
pop edi
pop ebx
pop esi
add esp, 0x10
ret

Function at 0x479430
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 0x47a720
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4cbfa3
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.00494040
xor ebp, ebp
mov dword [esi + 0x24], 0x4ceb20
mov dword [esp + 0x18], ebp
mov dword [esi + 0x28], 0x64
lea edi, [esi + 0x2c]
mov byte [esp + 0x18], 1
mov ecx, edi
call fcn.00486200
mov ecx, 0x28
mov eax, 8
mov dword [edi], 0x4cfc24
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], 0x4cfc08
mov dword [esi + 0x24], 0x4cfc00
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 0x47ab60
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x30]
test eax, eax
je 0x47abcf
push 0
call fcn.0047b970
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x5c79c0]
test eax, eax
je 0x47abb2
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 0x47b1f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, 0x1074
call fcn.00495c50
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 0x47b26a
push 0x10
mov dword [esp + 0x108c], 0x28
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x47b26a
mov dword [esp + 0x1088], 0x26
mov eax, dword [esp + 0x1088]
add eax, 0xfffffff3
cmp eax, 0x21
ja case.0x47b285.22
xor ecx, ecx
mov cl, byte [eax + 0x47b448]
jmp dword [ecx*4 + 0x47b420]
mov edx, dword [esp + 0x10]
inc esi
dec edx
cmp esi, edx
jle 0x47b298
xor esi, esi
mov edi, 1
jmp 0x47b357
dec esi
jns 0x47b2ac
mov eax, dword [esp + 0x10]
lea esi, [eax - 1]
mov edi, 1
jmp 0x47b357
mov ecx, dword [esp + 0x10]
mov edi, 1
lea esi, [ecx - 1]
jmp 0x47b357
mov eax, dword [ebx + 0x4c]
mov edi, 1
add esi, eax
jmp 0x47b357
mov eax, dword [ebx + 0x4c]
mov edi, 1
sub esi, eax
jmp 0x47b357
mov edx, dword [ebx + 0x38]
push esi
push ebx
push 0x13a4
push edx
call ebp
test eax, eax
jne 0x47b357
mov eax, dword [esp + 0x1090]
mov dword [eax], 0
jmp 0x47b357
push 1
mov ecx, ebx
call fcn.0047ab60
mov edi, 1
jmp 0x47b357
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x47b2f3
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x47b2f3
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
jne 0x47b2f3
mov edx, dword [ebx]
push 0xffffffffffffffff
mov ecx, ebx
call dword [edx + 0xc]
jmp 0x47b357
mov ecx, dword [esp + 0x1090]
mov dword [ecx], 0
mov edx, dword [esp + 0x1090]
cmp dword [edx], 0
je 0x47b40b
test edi, edi
je 0x47b40b
mov eax, dword [esp + 0x10]
dec eax
cmp esi, eax
jle 0x47b37a
mov esi, eax
test esi, esi
jge 0x47b380
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 0x482510
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 0x48258e
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 0x48259d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x482541
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 0x4825d0
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 0x48264e
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 0x48265d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x998]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x482601
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