joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038490
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101566b3
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
push 0x98
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xf8]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0x59]
call fcn.10035900
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.100090f0
mov edi, eax
push esi
push edi
mov dword [ebp - 4], 0
call fcn.100086f0
push str.Geeks::CPopWndMgr::ShowUninstRubbishWindow
push edi
call fcn.1000e150
push str.prepare_create_UI_wnd
push edi
call fcn.100086f0
add esp, 0x18
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x10038562
lea eax, [ebp - 0xf8]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xf4]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x58]
call fcn.100098e0
lea ecx, [ebp - 0xf8]
call fcn.10009fa0
mov dword [ebp - 4], 0xffffffff
call fcn.10036a80
mov edi, eax
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push 0x10161b24
lea ecx, [ebp - 0x40]
mov word [ebp - 0x40], ax
call fcn.1000bc10
xor eax, eax
mov dword [ebp - 4], 2
push eax
push 0x10161b24
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.1000bc10
push dword [ebp - 0x60]
lea eax, [ebp - 0x40]
push 0
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0x1005
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x60], esi
mov dword [esi + 0x24], 0
mov ecx, dword [ebx + 0x84]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x100385ff
mov eax, dword [ecx]
push esi
call dword [eax]
mov dword [esi + 0x24], eax
push 0
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.1004ebf0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10038642
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038638
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100386ac
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x1003868c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10038682
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100386b1
push edx
push ecx
call fcn.100f4a6f
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
call fcn.10131c3f
call fcn.10131c3f
int3
Function at 0x1003d000
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10156ce8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101a4494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1003d033
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp + 8], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x1003d064
push str.Unable_to_open_file_for_reading.
jmp 0x1003d078
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1003d09b
push str.Unable_to_get_file_size.
push 0x101ab548
call fcn.10038aa0
push eax
call fcn.1003c8b0
xorps xmm0, xmm0
add esp, 0xc
movlpd qword [ebp - 0x14], xmm0
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
jmp 0x1003d0a1
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
test esi, esi
je 0x1003d0ac
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10040470
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157387
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x101a4494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
lea ebx, [edi + 0x38]
mov dword [edi + 0x30], 0
mov byte [edi + 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp + 0x30]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x10040524
mov eax, dword [ecx]
push ebx
call dword [eax]
mov dword [ebx + 0x24], eax
mov al, byte [ebp + 0x34]
lea ecx, [edi + 0x68]
push 9
mov byte [ebp - 4], 5
mov byte [edi + 0x60], al
call fcn.10022260
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
mov byte [ebp - 4], 6
mov byte [ebp - 0xd], 1
test ecx, ecx
jns 0x10040562
mov eax, ecx
neg eax
je 0x10040562
mov eax, ecx
not eax
shr eax, 5
lea eax, [eax*4 + 4]
sub edx, eax
jmp 0x1004056a
mov eax, ecx
shr eax, 5
lea edx, [edx + eax*4]
lea eax, [ebp - 0xd]
and ecx, 0x1f
push eax
push 1
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [edi + 0x10]
call fcn.10027bb0
mov ecx, dword [ebp + 0x30]
test ecx, ecx
je 0x10040599
mov esi, dword [ecx]
lea eax, [ebp + 0xc]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x30
Function at 0x10044600
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015784b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x14]
lea eax, [ebp - 0xc0]
push 0x98
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.100090f0
push str.UI_wnd_on_close.
push eax
mov dword [ebp - 4], 0
call fcn.100086f0
add esp, 8
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x100446ad
lea eax, [ebp - 0xc0]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xbc]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0xc0]
call fcn.10009fa0
mov dword [esi], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100446e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015789b
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x36c]
test eax, eax
je 0x1004471f
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
push 0x98
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xf0]
call fcn.100090f0
push str.UI_wnd_on_destroy.
push eax
mov dword [ebp - 4], 0
call fcn.100086f0
add esp, 8
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x1004479d
lea eax, [ebp - 0xf0]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0xec]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x58]
call fcn.100098e0
lea ecx, [ebp - 0xf0]
call fcn.10009fa0
push 0x3564
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
push 5
push str.close
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.1000bb20
push 6
push str.window
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000bb20
mov ecx, dword [esi + 0x344]
mov byte [ebp - 4], 3
test ecx, ecx
je 0x10044825
mov edx, dword [ecx]
lea eax, [esi + 0x3cc]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [edx + 8]
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10044855
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004484b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100448b5
push edx
push ecx
call fcn.100f4a6f
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x10044897
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004488d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100448ba
push edx
push ecx
call fcn.100f4a6f
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0x10
call fcn.10131c3f
call fcn.10131c3f
int3
Function at 0x10046100
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10157acb
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
cmp bl, byte [edi + 0x314]
je 0x10046267
push 0x98
lea eax, [ebp - 0xc0]
mov byte [edi + 0x314], bl
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.100090f0
mov esi, eax
push str.show
push esi
mov dword [ebp - 4], 0
call fcn.100086f0
add esp, 8
mov ecx, esi
push ebx
call fcn.10041220
push str._x:
push esi
call fcn.100086f0
add esp, 8
mov ecx, esi
push dword [ebp + 0xc]
call fcn.10009d00
push str._y:
push esi
call fcn.100086f0
add esp, 8
mov ecx, esi
push dword [ebp + 0x10]
call fcn.10009d00
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x100461fd
lea eax, [ebp - 0xc0]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xbc]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0xc0]
call fcn.10009fa0
mov dword [ebp - 4], 0xffffffff
test bl, bl
jne 0x1004623b
push 0x51
push 0
push 0
push 0xfffe7961
push 0xfffe7961
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
mov ecx, edi
call fcn.1005f880
jmp 0x10046267
push 1
push ebx
mov ecx, edi
call fcn.1005f880
push dword [edi + 4]
call fcn.10018730
add esp, 4
push 0x51
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1004bef0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015784b
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xc0]
push 0x98
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.100090f0
push str.client_call_Quit
push eax
mov dword [ebp - 4], 0
call fcn.100086f0
add esp, 8
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x1004bf9d
lea eax, [ebp - 0xc0]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xbc]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0xc0]
call fcn.10009fa0
mov eax, dword [esi]
push esi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
Function at 0x1004c3c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101585ac
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
cmp byte [edi + 9], 0
jne 0x1004c5fc
push 0x98
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.100090f0
push str.tray_call_Stop
push eax
mov dword [ebp - 4], 0
call fcn.100086f0
add esp, 8
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 1
je 0x1004c478
lea eax, [ebp - 0xd8]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xd4]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0xd8]
call fcn.10009fa0
cmp dword [edi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 4], 0
je 0x1004c55d
cmp dword [edi + 0x18], 0
je 0x1004c55d
push 0x98
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.100090f0
push str.wait_Day_job_thread_msg_loop_create
push eax
mov dword [ebp - 4], 2
call fcn.100086f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.10009a70
push 0xbb8
push dword [edi + 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x98
lea eax, [ebp - 0xd8]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.100090f0
push str.quit_Day_job_thread
push eax
mov dword [ebp - 4], 3
call fcn.100086f0
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.10009a70
push 0
push 0
push 0x51d
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_PostThreadMessageW]
lea ecx, [edi + 0xc]
call fcn.1004ce30
push 0x98
lea eax, [ebp - 0x170]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0x170]
call fcn.100090f0
push str.call_product_tpi_quit
push eax
mov dword [ebp - 4], 4
call fcn.100086f0
add esp, 8
cmp dword [0x101aa314], 0
mov dword [ebp - 4], 5
je 0x1004c5db
lea eax, [ebp - 0x170]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x16c]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x40]
call fcn.100098e0
lea ecx, [ebp - 0x170]
call fcn.10009fa0
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.1000b5a0
mov byte [edi + 9], 1
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret 4
Function at 0x1004e1d0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101588e1
mov eax, dword fs:[0]
push eax
sub esp, 0x4b4
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x420]
call fcn.10040750
mov eax, dword [edi + 4]
mov dword [ebp - 0x428], eax
lea eax, [edi + 0x6c]
push eax
push dword [edi + 0x30]
mov dword [ebp - 4], 0
sub esp, 0x28
mov esi, esp
mov dword [ebp - 0x424], esi
mov dword [esi + 0x24], 0
mov ecx, dword [edi + 0x2c]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x1004e250
mov eax, dword [ecx]
push esi
mov eax, dword [eax]
call eax
mov dword [esi + 0x24], eax
push dword [ebp - 0x428]
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 0
call fcn.10043e60
cmp dword [edi + 0x30], 0x1004
jne 0x1004e28f
mov esi, dword [edi + 0x34]
lea eax, [edi + 0x54]
push eax
sub esp, 0x18
lea eax, [edi + 0x38]
mov ecx, esp
push eax
call fcn.1000da50
push esi
lea ecx, [ebp - 0x420]
call fcn.10045cc0
movaps xmm0, xmmword [0x101652c0]
lea ecx, [ebp - 0x420]
push 0
sub esp, 0x10
mov eax, esp
push 0
push 0
push 0
push dword [edi + 4]
movups xmmword [eax], xmm0
call fcn.1005f280
mov esi, dword [edi]
lea ecx, [ebp - 0x420]
call fcn.10054e40
push eax
mov ecx, esi
call fcn.1004e470
push 0x98
lea eax, [ebp - 0x4c0]
push 0
push eax
call fcn.1012e610
add esp, 0xc
lea ecx, [ebp - 0x4c0]
call fcn.100090f0
mov esi, eax
push str.CUIWndMgr::ShowGeeksUIWnd::_lambda_435ed966895f749ea459bdf34e9fc41e_::operator___
push esi
mov byte [ebp - 4], 2
call fcn.1000e150
push str._message_loop_quit
push esi
call fcn.100086f0
add esp, 0x10
cmp dword [0x101aa314], 0
mov byte [ebp - 4], 3
je 0x1004e34e
lea eax, [ebp - 0x4c0]
push eax
call fcn.10008a90
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x4bc]
push eax
call fcn.1000d2e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x28]
call fcn.100098e0
lea ecx, [ebp - 0x4c0]
call fcn.10009fa0
mov eax, dword [edi]
xor cl, cl
add eax, 0x34
xchg byte [eax], cl
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x420]
call fcn.10040f00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100f4dc3
mov esp, ebp
pop ebp
ret
Function at 0x10052361
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101a4494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffff
push edi
mov edi, ecx
cmp ax, bx
jne 0x10052386
xor eax, eax
jmp 0x100523e2
mov eax, dword [edi + 0x20]
push esi
mov ecx, dword [eax]
test ecx, ecx
je 0x100523b3
mov edx, dword [edi + 0x30]
mov esi, dword [edx]
lea eax, [ecx + esi*2]
cmp ecx, eax
jae 0x100523b3
lea ecx, [esi - 1]
mov dword [edx], ecx
mov edx, dword [edi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], bx
jmp 0x10052467
cmp dword [edi + 0x4c], 0
je 0x100523dc
mov ecx, edi
call fcn.10051f44
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x100523f2
push dword [edi + 0x4c]
push ebx
call fcn.100519ce
pop ecx
test al, al
movzx eax, bx
pop ecx
jne 0x100523e1
mov eax, 0xffff
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.100f4dc3
leave
ret 4
mov word [ebp - 0x28], bx
mov eax, dword [eax]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 4]
mov ecx, esi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [edi + 0x40]
push eax
call dword [0x10161684]
mov ecx, dword [ebp - 0x2c]
call esi
test eax, eax
js 0x100523dc
cmp eax, 1
jle 0x1005243a
cmp eax, 3
jne 0x100523dc
push dword [edi + 0x4c]
push dword [ebp - 0x28]
jmp 0x100523ce
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0x24]
sub esi, eax
je 0x10052457
push dword [edi + 0x4c]
push esi
push 1
push eax
call fcn.10139b9b
add esp, 0x10
cmp esi, eax
jne 0x100523dc
lea eax, [ebp - 0x28]
mov byte [edi + 0x3e], 1
cmp dword [ebp - 0x34], eax
je 0x100523dc
mov ax, bx
jmp 0x100523e1

Function at 0x10058ba0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10058bc1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x10058bd9
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x10058bf1
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x10058c07
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x10058c1f
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10078860
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0xc]
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x41
je 0x10078890
cmp dword [ebp - 8], 0x43
je 0x100788ce
cmp dword [ebp - 8], 0x58
je 0x10078904
jmp 0x10078938
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
je 0x100788cc
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x14]
call fcn.10078dc0
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.selectallkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.1005db90
jmp 0x10078938
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x10078902
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.copykey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.1005db90
jmp 0x10078938
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x10078938
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push str.cutkey
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
call fcn.1005db90
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1007e040
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x594], 0
je 0x1007e0ed
cmp dword [ebp + 8], 0x100
jne 0x1007e0bd
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x1007e0bd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59a]
test eax, eax
je 0x1007e096
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x1007e0bd
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x59b]
test eax, eax
jne 0x1007e0bd
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x44], 0
je 0x1007e0b9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x44]
call fcn.1005db90
xor eax, eax
jmp 0x1007e0f2
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x594]
call fcn.10076050
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x1007e0f2
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10