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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
je 0x47035f
mov eax, dword [esi + 4]
push 0
push 0
push 0x1008
push eax
call ebx
cmp eax, edi
je 0x470460
mov edi, dword [esi + 4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, edi
je 0x470460
push 0
push 0
push 0x1008
push edi
call ebx
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
je 0x4703a1
mov ecx, dword [esi + 4]
push 0
push 0
push 0x1008
push ecx
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp + 8], eax
call edi
test eax, eax
je 0x470454
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1001
push ecx
call ebx
mov edi, eax
neg edi
sbb edi, edi
inc edi
jne 0x4703e1
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2c]
test eax, 0x400
je 0x4703f3
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], edx
test eax, 0x800
je 0x470404
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [esi + 4]
push eax
mov dword [ebp - 0x30], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x28]
mov dword [ebp - 0x24], ecx
mov cx, word [esi + 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0xfffffa1f
mov dword [ebp - 0x20], edx
mov word [ebp - 0x1c], cx
mov dword [ebp - 0x18], 0x66ecc8
test edi, edi
jne 0x470441
mov dword [ebp - 0x18], 0x66ecc4
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x10]
push eax
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 8]
push 0x4e
push edx
call ebx
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x471620
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push edi
mov edi, ecx
mov eax, dword [edi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x471752
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
push ebx
push esi
mov ecx, 0x700724
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x4716a3
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401400
mov esi, dword [ebp - 0x10]
mov edx, dword [edi + 4]
push ebx
push esi
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
jne 0x4716b7
xor eax, eax
jmp 0x4716d5
mov eax, esi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4716c0
sub eax, edx
sar eax, 1
js 0x47176f
cmp eax, dword [esi - 8]
jg 0x47176f
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [edi + 4]
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [edi + 0x28]
mov edx, dword [edi + 0x24]
mov dword [ebp - 0x24], ecx
lea ecx, [ebp - 0x34]
push ecx
mov dword [ebp - 0x28], edx
mov dx, word [edi + 0x30]
push eax
mov word [ebp - 0x20], dx
mov edx, dword [ebp - 0x14]
push 0x4e
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0xfffffa1f
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x471750
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
pop esi
pop ebx
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004011d0
int3
Function at 0x471780
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64a80a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 4], edi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], edi
mov dword [ebp - 4], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [ebp - 4], 2
mov ebx, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [esi + 0x20], ebx
mov dword [ebp - 4], 4
mov dword [esi], vtable.CListCombo.0
mov dword [esi + 0x6c], edi
call fcn.0046ead0
mov dword [esi + 0x70], edi
mov byte [ebp - 4], 5
lea eax, [esi + 0x74]
lea ecx, [eax + 4]
mov dword [eax], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ecx + 0xc], edi
mov byte [ebp - 4], 7
mov ecx, 1
mov dword [eax + 0x14], 0x67277c
mov dword [eax + 0x18], ebx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edi
mov byte [ebp - 4], 8
or eax, 0xffffffff
xor edx, edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], edi
mov word [esi + 0x30], dx
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x34], ecx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4723d0
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x640e98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
push edi
lea edi, [ebx + 4]
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebx + 0x9c], 0
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472545
mov edx, dword [0x700724]
mov eax, dword [edx + 0xc]
push esi
mov ecx, 0x700724
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 1
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, dword [edi]
and eax, 3
cmp al, 3
jne 0x472473
push 0
push 0
push 0x147
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x4724dc
lea ecx, [ebp - 0x10]
push ecx
push eax
mov ecx, edi
call fcn.00471890
mov esi, dword [ebp - 0x10]
jmp 0x4724dc
push edx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x47249a
push ebx
lea ecx, [ebp - 0x10]
call fcn.00401400
mov esi, dword [ebp - 0x10]
mov eax, dword [edi]
push ebx
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
test esi, esi
jne 0x4724ad
xor eax, eax
jmp 0x4724c7
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4724b2
sub eax, edx
sar eax, 1
js 0x472562
cmp eax, dword [esi - 8]
jg 0x472562
mov ebx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov eax, dword [edi]
push eax
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov ecx, dword [ebx + 0x28]
mov edx, dword [ebx + 0x24]
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x2c], edx
mov dx, word [ebx + 0x30]
push eax
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x18]
push 0x4e
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 0xfffffa1f
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x472544
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
pop esi
mov ecx, dword [edi]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.004011d0
int3
Function at 0x4728a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64a988
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x4729f4
cmp byte [edi + 0x49], bl
je 0x4729f4
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
jne 0x4728f3
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov dword [ebp - 0x18], ecx
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x472918
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
push esi
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x472931
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x10]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x472977
dec eax
je 0x47297b
sub eax, 2
je 0x4729d2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041a2e0
pop esi
pop edi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x47298b
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x10]
sub esi, ecx
je 0x4729b4
cmp ebx, 0x10
jae 0x47299a
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.006161f6
add esp, 0x10
cmp esi, eax
jne 0x472955
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x4729d2
test esi, esi
jne 0x472925
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.00471de0
jmp 0x47291f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041a2e0
pop esi
pop edi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
pop edi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x474490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64ac5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], vtable.CDropTarget.0
push edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x24], eax
lea edi, [esi + 0xc]
push edi
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
push 0x69912c
mov dword [esi + 0x30], eax
push 1
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
push ebx
mov dword [esi + 0x3c], eax
push 0x6990fc
mov dword [esi + 0x40], eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x47450b
mov dword [edi], ebx
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x474f40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
sub esp, 0x260
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0x10]
push esi
mov dword [ebx + 0x28], ecx
mov ecx, dword [ebx + 4]
push edi
mov dword [ebx + 0x24], eax
xor eax, eax
push ecx
mov dword [ebx + 0x2c], edx
mov word [ebx + 0x30], ax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x474f7e
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp + 0x18]
mov edi, 0x40000080
test al, 0x60
je 0x474f8f
mov edi, 0x40000082
test al, 0x10
je 0x474f96
or edi, 8
test eax, 0x4000
je 0x474fa0
or edi, 0x20
push 0
push ecx
mov eax, esp
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov esi, dword [eax + 4]
mov eax, dword [eax]
push 0
push edi
sub ecx, 2
push 0
push ecx
add eax, 2
sub edx, 3
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
mov edx, dword [ebp + 8]
mov eax, esp
add esi, 3
lea ecx, [ebp - 0x10]
mov dword [ebp - 0xc], esi
mov dword [eax], ecx
push edx
mov ecx, ebx
call fcn.00473b70
test eax, eax
jne 0x474ff8
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push 0x5c
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.006100a0
push 0x1f0
lea ecx, [ebp - 0x25c]
push 0
push ecx
mov dword [ebp - 0x260], 0x1f4
call fcn.006100a0
add esp, 0x18
push 0
lea edx, [ebp - 0x260]
push edx
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
cmp dword [ebx + 0x34], 0
mov ecx, 0x17
lea esi, [ebp - 0xc8]
lea edi, [ebp - 0x6c]
rep movsd dword es:[edi], dword [esi]
je 0x475066
mov eax, dword [ebx + 0x34]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x475066
mov dword [ebx + 0x34], 0
lea ecx, [ebp - 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [ebx + 0x34], eax
test eax, eax
je 0x474fed
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
mov eax, dword [ebx + 4]
push 0x30
push eax
call esi
mov ecx, dword [ebx + 4]
push 0x50005
push 3
push 0xd3
push ecx
call esi
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebx + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebx + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call esi
mov eax, dword [ebx + 4]
push 0
push 0
push 0xb7
push eax
call esi
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x476590
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
push ebx
je 0x476687
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x476687
xor eax, eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi + 0x14]
push edi
mov edi, dword [esi + 0x10]
sub edx, edi
mov eax, 0x66666667
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ecx, ecx
test eax, eax
jle 0x476608
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x10]
mov dword [ebp + 0x10], edx
mov edx, edi
mov edi, dword [ebp + 0x10]
test dword [edx + 0x10], edi
je 0x476600
mov edi, dword [ebp + 0xc]
mov edi, dword [edi + 8]
cmp edi, dword [edx + 8]
jne 0x476600
mov edi, dword [ebp + 0xc]
mov di, word [edi]
cmp di, word [edx]
je 0x476614
inc ecx
add edx, 0x14
cmp ecx, eax
jl 0x4765e2
pop edi
pop esi
mov eax, 0x80040064
pop ebx
pop ebp
ret 0xc
mov edx, dword [esi + 0x20]
lea eax, [ecx + ecx*2]
cmp dword [edx + eax*4], 0
lea eax, [edx + eax*4]
jne 0x47666b
mov eax, dword [esi + 0x10]
mov edi, dword [esi]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*4]
xor eax, eax
cmp dword [esi + 0xc], eax
mov dword [ebp + 0xc], edx
setne al
inc eax
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov edx, dword [ebp + 0xc]
xor ecx, ecx
test ax, ax
mov eax, dword [edi + 0x34]
setns cl
push ecx
push ebx
push edx
mov ecx, esi
call eax
neg eax
sbb eax, eax
pop edi
and eax, 0x7ffbff9c
pop esi
add eax, 0x80040064
pop ebx
pop ebp
ret 0xc
lea edx, [ecx + ecx*4]
mov ecx, dword [esi + 0x10]
lea ecx, [ecx + edx*4]
push ecx
push eax
push ebx
mov ecx, esi
call fcn.00476440
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov eax, 0x80070057
pop ebx
pop ebp
ret 0xc
Function at 0x478060
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x64], 0
push edi
mov edi, dword [sym.imp.USER32.dll_ReleaseCapture]
je 0x478072
call edi
or eax, 0xffffffff
mov dword [esi + 0xe8], eax
mov dword [esi + 0xec], eax
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x478091
call edi
mov eax, dword [esi + 0x214]
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push eax
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x4780b6
mov ecx, dword [esi + 0x214]
push 0
push ecx
call edi
mov edx, dword [esi + 0x1dc]
push edx
call ebx
pop ebx
test eax, eax
je 0x4780cf
mov eax, dword [esi + 0x1dc]
push 0
push eax
call edi
or eax, 0xffffffff
pop edi
mov dword [esi + 0x100], eax
mov dword [esi + 0xfc], eax
pop esi
ret

Function at 0x4781f0
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
cmp eax, dword [esi + 0x214]
jne 0x478207
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x214]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x478227
mov ecx, dword [esi + 0x214]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [esi + 0x3a0], 0
pop esi
ret 0xc
Function at 0x478c00
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x652e58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [ebp + 0x10]
shr eax, 0x10
mov dword [ebp - 0x10], ecx
test eax, eax
je 0x478c49
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebp + 0x14], ebx
xor edi, edi
mov dword [ebp - 4], edi
push ebx
call dword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jle 0x478d96
push esi
push 0x30
lea edx, [ebp - 0x40]
push 0
push edx
call fcn.006100a0
push pe_nt_image_headers32
lea eax, [ebp - 0x150]
push 0
push eax
mov dword [ebp - 0x40], 0x30
call fcn.006100a0
add esp, 0x18
lea ecx, [ebp - 0x154]
push ecx
mov dword [ebp - 0x154], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x478cc4
mov eax, dword [ebp - 0x150]
cmp eax, 5
jae 0x478ccb
cmp eax, 4
jne 0x478cc4
cmp dword [ebp - 0x14c], 0x5a
jae 0x478ccb
mov dword [ebp - 0x40], 0x2c
lea eax, [ebp - 0x40]
push eax
push 1
push edi
lea edx, [ebp - 0x21c]
push ebx
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x3c], 0x3f
mov dword [ebp - 0x1c], edx
call dword [sym.imp.USER32.dll_GetMenuItemInfoW]
test dword [ebp - 0x38], 0x100
jne 0x478d85
push 0x10
call fcn.00611c8b
mov esi, eax
add esp, 4
test esi, esi
je 0x478d85
mov eax, dword [ebp - 0x38]
or eax, 0x100
mov dword [ebp - 0x38], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x478d2d
add ecx, 0xffffffdc
jmp 0x478d2f
xor ecx, ecx
push esi
lea edx, [ebp - 0x40]
push edx
call fcn.00477dc0
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.005fb5ce
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x478d74
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [ebp - 0x40]
push edx
push 1
push edi
push ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ebx
inc edi
call dword [sym.imp.USER32.dll_GetMenuItemCount]
cmp edi, eax
jl 0x478c66
pop esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp + 0x10]
push eax
add ecx, 0x20
mov dword [ebp + 0x10], ebx
call fcn.00594900
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x47ac40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64b6ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi], vtable.CDataObject.0
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [ebp - 4], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push 0x17
mov dword [esi + 8], edi
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 2
mov dword [esi], vtable.CDataObjectT_class_CListImpl_class_CListCtrlData_unsigned_long_int___.0
mov dword [esi + 0x30], edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x47b2d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp dword [esi + 0x54], 0
jne 0x47b2e8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
lea edi, [esi + 0x104]
push edi
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x108], 0xffffffff
mov dword [edi], 0xffffffff
mov dword [ebp - 4], 0
call fcn.00476250
test eax, eax
je 0x47b366
mov ecx, dword [edi]
lea eax, [ebp - 0x10]
push eax
push ecx
mov ecx, esi
call fcn.0047a2c0
test eax, eax
je 0x47b423
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
mov edi, dword [edi]
cdq
sub eax, edx
sar eax, 1
cmp dword [ebp + 8], eax
jl 0x47b347
inc edi
mov eax, dword [esi + 0xfc]
mov dword [esi + 0x108], edi
cmp edi, eax
je 0x47b35c
inc eax
cmp edi, eax
jne 0x47b366
mov dword [esi + 0x108], 0xffffffff
cmp dword [esi + 0x108], 0xffffffff
je 0x47b403
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xd0]
mov edi, dword [esi + 0x380]
mov dword [ebp - 0x14], eax
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x108]
cmp eax, edi
jl 0x47b3af
lea eax, [edi - 1]
lea ecx, [ebp - 0x30]
push ecx
push eax
mov ecx, esi
call fcn.0047a2c0
test eax, eax
je 0x47b3d5
cmp dword [esi + 0x108], edi
jge 0x47b3cf
mov edx, dword [ebp - 0x30]
mov dword [ebp - 8], edx
jmp 0x47b3d5
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov edx, dword [esi + 4]
lea ecx, [ebp - 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
push eax
lea ecx, [esi + 0x1d8]
push edx
call fcn.00476110
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x1dc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x47b423
mov ecx, dword [esi + 0x1dc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8