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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x505070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x436144
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x436278
cmp dword [esi + 0xe0], 0
je 0x436278
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x436267
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x436267
mov eax, dword [esi + 0xe0]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push dword [esi + 0x38]
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
cmp byte [eax + 4], 0
je 0x4361c4
mov eax, dword [eax]
cmp eax, 0x64
je 0x4361c4
push 0x64
push eax
push 5
call edi
jmp 0x4361c9
mov eax, 5
sub dword [ebp - 0x14], eax
mov eax, dword [esi + 0x30]
cmp byte [eax + 4], 0
je 0x4361e5
mov eax, dword [eax]
cmp eax, 0x64
je 0x4361e5
push 0x64
push eax
push 3
call edi
jmp 0x4361ea
mov eax, 3
mov ecx, dword [ebp - 0x10]
sub ecx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x10], ecx
cmp byte [eax + 4], 0
je 0x43620e
mov eax, dword [eax]
cmp eax, 0x64
je 0x43620e
push 0x64
push eax
push 5
call edi
mov ecx, dword [ebp - 0x10]
jmp 0x436213
mov eax, 5
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [esi + 0x30]
mov dword [ebp - 0xc], edx
cmp byte [eax + 4], 0
je 0x43623c
mov eax, dword [eax]
cmp eax, 0x64
je 0x43623c
push 0x64
push eax
push 7
call edi
mov edx, dword [ebp - 0xc]
mov edi, eax
mov ecx, dword [ebp - 0x10]
jmp 0x436241
mov edi, 7
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 8], eax
sub eax, ecx
push 1
push eax
mov eax, dword [ebp - 0x14]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
jmp 0x436278
mov eax, dword [esi + 0xe0]
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x50]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
mov dword [ebx], 0
xor ecx, ebp
pop ebx
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439cc0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
mov esi, ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x14]
sub eax, dword [esi + 0x5c]
mov ebx, dword [esp + 0x10]
sub ebx, dword [esi + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [eax], 0
mov eax, 0x2e8ba2e9
mov ecx, dword [esi + 0x130]
sub ecx, dword [esi + 0x12c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x439dd6
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x12c]
push dword [esp + 0x14]
add eax, 8
push ebx
add eax, edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x439d9b
mov eax, dword [esi + 0x12c]
cmp dword [eax + edi + 0x20], 0
je 0x439d9b
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x12c]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x130]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x12c]
add edi, 0x2c
mov ebx, dword [esp + 0xc]
imul ecx
inc ebx
sar edx, 3
mov eax, edx
mov dword [esp + 0xc], ebx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jae 0x439dce
mov ebx, dword [esp + 0x10]
jmp 0x439d50
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x439de3
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4471e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x505070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0x104
push eax
push dword [esi + 0x130]
mov dword [esi + 0x150], 1
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44724e
test dx, dx
je 0x44724a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44724e
add eax, 4
add ecx, 4
test dx, dx
jne 0x447228
xor eax, eax
jmp 0x447253
sbb eax, eax
or eax, 1
test eax, eax
jne 0x44726e
push 0x4e470c
push dword [esi + 0x130]
mov dword [esi + 0x158], eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], eax
xor ecx, ebp
pop edi
pop esi
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x447c90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
test edi, edi
js 0x447d0c
mov esi, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esi]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x447cc5
push edi
mov ecx, esi
call fcn.00405750
push edi
push dword [esi]
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, eax
mov ecx, edi
cmp edi, 0xffffffff
jne 0x447ced
mov ecx, dword [esi]
test ecx, ecx
je 0x447cf1
push dword [ecx - 8]
push ecx
call fcn.004afb42
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x447d0c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x447d0c
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov word [eax + ecx*2], dx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0x80070057
call fcn.00405cb0
int3
Function at 0x44d330
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce61a
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x505070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004205a0
mov dword [ebp - 4], 0
mov dword [edi], vtable.CXVScrollBar.0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 0
xorps xmm0, xmm0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x164], 0x1e
mov dword [edi + 0x168], 0
mov dword [edi + 0x16c], 0
mov dword [edi + 0x170], 0
mov dword [edi + 0x174], 0
mov dword [edi + 0x178], 0
mov dword [edi + 0x17c], 0
mov dword [edi + 0x180], 1
movq qword [edi + 0x188], xmm0
mov dword [edi + 0x190], 0
mov dword [edi + 0x188], edi
mov dword [edi + method.TXEventObserverObj_class_CWebImageCtrl_.virtual_0], vtable.TXEventObserverObj_class_CXVScrollBar_.0
mov byte [ebp - 4], 9
mov ebx, dword [edi + 0x30]
mov dword [edi + 0xb0], 1
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe0], 0x14
cmp byte [ebx + 4], 0
je 0x44d4fd
mov eax, dword [ebx]
cmp eax, 0x64
je 0x44d4fd
mov esi, dword [sym.imp.KERNEL32.dll_MulDiv]
push 0x64
push eax
push dword [edi + 0xdc]
call esi
push 0x64
mov dword [edi + 0xdc], eax
push dword [ebx]
push dword [edi + 0xe0]
call esi
mov dword [edi + 0xe0], eax
push 0x288
call fcn.0049f1e8
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0043b870
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x118], esi
je 0x44d546
test esi, esi
je 0x44d530
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x118]
mov dword [edi + 0x118], esi
test eax, eax
je 0x44d546
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x288
call fcn.0049f1e8
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.0043b870
mov esi, eax
mov byte [ebp - 4], 9
cmp dword [edi + 0x11c], esi
je 0x44d58f
test esi, esi
je 0x44d579
mov ecx, dword [esi]
push esi
call dword [ecx + 4]
mov eax, dword [edi + 0x11c]
mov dword [edi + 0x11c], esi
test eax, eax
je 0x44d58f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi + 0x18c], 0x44eb80
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
Function at 0x44e0c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x505070]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x168], 0
je 0x44e1d2
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x64]
mov eax, 0
sub edi, dword [esi + 0x5c]
mov edx, dword [esp + 0x18]
add edi, edx
mov ecx, dword [esi + 0x16c]
sub ecx, edx
add ecx, dword [esp + 0x20]
cmovs ecx, eax
mov eax, dword [esi + 0x150]
sub eax, dword [esi + 0x158]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x44e168
mov ecx, dword [esi + 0x150]
sub ecx, dword [esi + 0x158]
sub ecx, edx
add ecx, edi
mov eax, dword [esi + 0x160]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x44e17e
mov dword [esi + 0x160], ecx
jmp 0x44e1ac
mov eax, dword [esi + 0x150]
sub eax, dword [esi + 0x158]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x15c]
jne 0x44e19e
sub eax, edi
add eax, edx
jmp 0x44e1a6
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x160], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b0
mov ecx, esi
call dword [eax + 0x28]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x14c]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.0044e380
test eax, eax
je 0x44e224
cmp dword [esi + 0x138], 1
je 0x44e267
mov dword [esi + 0x138], 1
jmp 0x44e237
cmp dword [esi + 0x138], 0
je 0x44e267
mov dword [esi + 0x138], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
je 0x44e267
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x44e267
mov ecx, dword [esi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x30]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10

Function at 0x450f80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004217b0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x450fb6
push 5
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x450fd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00421840
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x451006
push 5
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x130]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x458c80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x12c]
test eax, eax
je 0x458cc5
cmp dword [ebp + 8], 0
jne 0x458ca8
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi]
call dword [eax + 0xd0]
test eax, eax
je 0x458cc5
mov eax, dword [esi + 0x12c]
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x45d3d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
mov eax, dword [0x505070]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x168], 0
je 0x45d4e2
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
mov dword [esp + 0x24], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x58]
mov ecx, esi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
call dword [eax + 0xc8]
push eax
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [esi + 0x60]
mov eax, 0
sub edi, dword [esi + 0x58]
mov edx, dword [esp + 0x14]
add edi, edx
mov ecx, dword [esi + 0x16c]
sub ecx, edx
add ecx, dword [esp + 0x1c]
cmovs ecx, eax
mov eax, dword [esi + 0x14c]
sub eax, dword [esi + 0x154]
sub eax, edx
add eax, edi
cmp ecx, eax
jle 0x45d478
mov ecx, edi
sub ecx, dword [esi + 0x154]
sub ecx, edx
add ecx, dword [esi + 0x14c]
mov eax, dword [esi + 0x160]
mov dword [esp + 0xc], eax
test ecx, ecx
jne 0x45d48e
mov dword [esi + 0x160], ecx
jmp 0x45d4bc
mov eax, dword [esi + 0x14c]
sub eax, dword [esi + 0x154]
sub eax, edx
add eax, edi
cmp ecx, eax
mov eax, dword [esi + 0x15c]
jne 0x45d4ae
sub eax, edi
add eax, edx
jmp 0x45d4b6
imul eax, ecx
sub edi, edx
cdq
idiv edi
mov dword [esi + 0x160], eax
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
push 0x4b2
mov ecx, esi
call dword [eax + 0x28]
xor eax, eax
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
movups xmm0, xmmword [esi + 0x14c]
sub esp, 0x10
mov ecx, esi
mov eax, esp
push dword [esp + 0x20]
movups xmmword [eax], xmm0
push dword [esp + 0x20]
call fcn.0045d690
test eax, eax
je 0x45d534
cmp dword [esi + 0x138], 1
je 0x45d577
mov dword [esi + 0x138], 1
jmp 0x45d547
cmp dword [esi + 0x138], 0
je 0x45d577
mov dword [esi + 0x138], 0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd0]
test eax, eax
je 0x45d577
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x98]
test eax, eax
je 0x45d577
mov ecx, dword [esi + 0x44]
sub esp, 0x10
movups xmm0, xmmword [esi + 0x58]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x30]
mov ecx, dword [esp + 0x24]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45f850
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x100]
mov dword [esi], vtable.CAnimateMgr.0
push edi
mov dword [esi + 0x34], vtable.CAnimateMgr.1.0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xf0]
push edi
mov dword [esi + 0xf4], eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x3e8
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x45f8b1
push 0
push dword [esi + 0xfc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 0xfc], 0
push edi
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x45f8f2
mov eax, dword [esi + 0xf8]
sub eax, ecx
sar eax, 2
push eax
push ecx
call fcn.00404800
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 0
mov dword [esi + 0xf8], 0
pop edi
mov ecx, esi
pop esi
jmp fcn.00433990

Function at 0x45f960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x45f979
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
push ebx
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf4]
lea ecx, [edi + 0xf0]
mov edx, dword [ecx]
cmp edx, eax
je 0x45f9af
nop dword [eax]
cmp dword [edx], esi
je 0x45f9ab
add edx, 4
cmp edx, eax
jne 0x45f9a0
cmp edx, eax
jne 0x45f9bb
lea eax, [ebp + 8]
push eax
call fcn.00428720
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0xfc], 0
pop ebx
jne 0x45f9ed
push 0
push 0
push edi
push 0x45f900
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xfc], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x461e90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x505070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
mov eax, dword [esi + 4]
cmp dword [eax + 0x10], 0
je 0x461eb8
call fcn.00461fb0
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x461ed7
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
push edi
call fcn.00462b70
test eax, eax
je 0x461ec3
push edi
lea eax, [ebp - 0x210]
push 0x4ec248
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x218]
push eax
push edi
call fcn.004622f0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x461f88
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.004622f0
test eax, eax
je 0x461f88
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x461f88
mov eax, dword [ebp - 0x218]
cmp eax, dword [ebp - 0x220]
jne 0x461f88
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x461f88
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x230]
jne 0x461f88
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x210]
push eax
call fcn.00462ea0
test al, al
jne 0x461f98
mov eax, dword [esi + 4]
mov ecx, esi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.00462040
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0049f1b4
mov esp, ebp
pop ebp
ret 8

Function at 0x462680
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x80]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x50b09c]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x51c1cc]
lea eax, [ebp - 4]
push eax
call fcn.00462ac0
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x4626d2
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xfc]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.00462a40
test eax, eax
je 0x4626f6
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x462b70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x10]
test eax, eax
je 0x462b94
cmp dword [esi + 4], 0
je 0x462b8d
push eax
call fcn.004a4b97
add esp, 4
mov dword [esi + 0x10], 0
push 0x4e8630
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.004b1482
mov edi, eax
add esp, 8
test edi, edi
jne 0x462bbe
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.004b17f8
push edi
call fcn.004b1d6a
push 0
push 0
push edi
mov ebx, eax
call fcn.004b17f8
add esp, 0x1c
test ebx, ebx
jle 0x462bfe
push ebx
mov ecx, esi
call fcn.00462c20
mov eax, dword [esi + 0x10]
test eax, eax
je 0x462bfe
push edi
push 1
push ebx
push eax
call fcn.004b1f41
add esp, 0x10
push edi
call fcn.004b2067
add esp, 4
xor eax, eax
cmp dword [esi + 0x10], eax
setne al
pop ebx
pop edi
pop esi
pop ebp
ret 4

Function at 0x462ea0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf4e6
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x505070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.00463450
mov eax, dword [ebx]
mov dword [eax + 4], eax
mov eax, dword [ebx]
mov dword [eax], eax
mov eax, dword [ebx]
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], 0
test eax, eax
je 0x462f60
push 0x4e8630
push eax
call fcn.004b1482
mov edi, eax
add esp, 8
mov dword [ebp - 0x18], edi
test edi, edi
je 0x462f60
push edi
call fcn.004b249f
add esp, 4
push eax
call fcn.004b2494
add esp, 4
mov esi, eax
lea eax, [ebp - 0x24]
push edi
push 1
push 8
push eax
call fcn.004b1f41
add esp, 0x10
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x24], 0x78646972
jne 0x462fef
cmp dword [ebp - 0x20], 0x8000
jb 0x462f76
push edi
call fcn.004b2067
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
add esi, 0xfffffff8
push esi
call fcn.004a8302
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x462fef
push edi
push 1
push esi
push ebx
call fcn.004b1f41
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x20], ebx
jle 0x462fdd
mov edi, dword [ebp - 0x14]
nop word [eax + eax]
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x462fda
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.00462ce0
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x20]
jl 0x462fb0
mov edi, dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.004a4b97
add esp, 4
cmp ebx, dword [ebp - 0x20]
sete byte [ebp + 0xb]
push edi
call fcn.004b2067
mov al, byte [ebp + 0xb]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x464bf0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf683
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x505070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0x51bac0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0x51bac0
mov byte [ebp - 4], 1
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
push 0
push 0x4e92a8
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], 0
mov byte [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00463be0
mov dword [esi + 0x40], 0
mov eax, esi
mov dword [esi + 0x3c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret