joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401730
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58ac16
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CXElement.0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x401777
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x40179e
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi + 0xc], eax
lea esi, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004040f0
mov dword [esi], eax
xorps xmm0, xmm0
mov eax, dword fs:[0x2c]
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov ecx, dword [eax]
movq qword [edi + 0x28], xmm0
mov dword [edi + 0x28], edi
mov dword [edi + 0x24], vtable.TGeneralObserverObj_class_CXElement_.0
mov eax, dword [0x5f250c]
cmp eax, dword [ecx + 4]
jle 0x40184b
push 0x5f250c
call fcn.0050ec35
add esp, 4
cmp dword [0x5f250c], 0xffffffff
jne 0x40184b
push 0x5a0420
mov dword [0x5eae04], 0x64
mov dword [0x5eae08], 0x64
mov byte [0x5eae0c], 0
call fcn.0050ea8a
push 0x5f250c
call fcn.0050ebf6
add esp, 8
mov dword [edi + 0x30], 0x5eae04
mov eax, edi
mov dword [edi + 8], 0
mov dword [edi + 0x2c], 0x401ee0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x406f85
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x406fc6
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x406fc2
nop word [eax + eax]
cmp esi, edx
jae 0x406fc6
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x406fb0
cmp esi, edx
jb 0x406fcb
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x41d8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, ecx
push esi
push edi
cmp byte [ebx + 0xb4], 0
je 0x41da4b
mov eax, dword [ebx + 0xbc]
test eax, eax
je 0x41d948
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push ecx
push 0x18
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x34]
je 0x41da2c
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x30]
je 0x41da2c
push dword [ebx + 0xbc]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xbc], 0
push dword [ebx + 0xb8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x41da4b
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebx + 0xb8]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromFile]
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push ecx
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.gdiplus.dll_GdipGetImagePixelFormat]
mov ecx, dword [ebp + 0x14]
lea edx, [ebp - 4]
sub ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 8]
push edx
push 0
push dword [ebp - 8]
mov dword [ebp - 0x20], vtable.Gdiplus::Bitmap.0
push 0
push ecx
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov edi, dword [ebp + 0x10]
lea ecx, [ebp - 4]
mov esi, dword [ebp + 0x14]
sub edi, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
push ecx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov eax, dword [ebp - 4]
push 7
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.gdiplus.dll_GdipSetInterpolationMode]
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 0x10]
push 0
push 0
push edi
push esi
call dword [sym.imp.gdiplus.dll_GdipDrawImageRectI]
push ecx
mov edx, 1
lea ecx, [ebp - 0x20]
call fcn.00419220
add esp, 4
mov dword [ebx + 0xbc], eax
push esi
test eax, eax
je 0x41da37
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDisposeImage]
call esi
push edi
call esi
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x422c20
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 + 0xcc]
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 + 0x134]
sub ecx, dword [esi + 0x130]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x422d36
xor edi, edi
nop dword [eax + eax]
mov eax, dword [esi + 0x130]
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 0x422cfb
mov eax, dword [esi + 0x130]
cmp dword [eax + edi + 0x20], 0
je 0x422cfb
mov eax, dword [ebp + 0x14]
push 1
push 0
push 0
mov dword [eax], 1
mov eax, dword [esi + 0x130]
push dword [eax + edi + 0x24]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esi + 0x134]
mov eax, 0x2e8ba2e9
sub ecx, dword [esi + 0x130]
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 0x422d2e
mov ebx, dword [esp + 0x10]
jmp 0x422cb0
mov eax, dword [ebp + 0x14]
cmp dword [eax], 0
jne 0x422d43
mov eax, dword [esi]
mov ecx, esi
push esi
push 0x384
call dword [eax + 0x2c]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42b3d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x42b3ea
mov eax, dword [ecx]
push edi
call dword [eax + 0x100]
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [esi + 0xe4], 0
je 0x42b473
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x42b473
test edi, edi
je 0x42b41d
push 5
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
push 0
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xe4], 0
je 0x42b440
mov eax, dword [esi + 0xe0]
test eax, eax
je 0x42b440
push dword [eax + 0x38]
jmp 0x42b443
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x42b473
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b473
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42b473
mov ecx, esi
call fcn.0042b950
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x42b480
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x58]
test ecx, ecx
je 0x42b4a3
mov eax, dword [ecx]
call dword [eax + 0x24]
cmp dword [esi + 0xe4], 0
je 0x42b559
cmp dword [esi + 0xe0], 0
je 0x42b559
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x42b535
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42b535
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b559
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 ecx, dword [esi + 0xe0]
lea eax, [ebp - 0x14]
sub dword [ebp - 0x14], 5
add ecx, 0x38
sub dword [ebp - 0x10], 3
add dword [ebp - 0xc], 5
add dword [ebp - 8], 7
push 1
push eax
call fcn.0042f840
jmp 0x42b559
mov eax, dword [esi + 0xe0]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42b559
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 + 0x54]
mov ecx, dword [ebp - 4]
xor eax, eax
mov dword [edi], 0
xor ecx, ebp
pop edi
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret 0x10
Function at 0x435da0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0x14]
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x435dc9
mov eax, dword [ecx]
call dword [eax + 4]
push 0x104
lea eax, [ebp - 0x20c]
mov dword [esi + 0x154], 1
push eax
push dword [esi + 0x134]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [esi + 0x160]
lea ecx, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x435e1d
test dx, dx
je 0x435e19
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x435e1d
add eax, 4
add ecx, 4
test dx, dx
jne 0x435df7
xor eax, eax
jmp 0x435e22
sbb eax, eax
or eax, 1
test eax, eax
jne 0x435e3d
push 0x5b9c34
push dword [esi + 0x134]
mov dword [esi + 0x15c], 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.0050ed39
mov esp, ebp
pop ebp
ret 0x10

Function at 0x437800
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 0x43787c
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 0x437835
push edi
mov ecx, esi
call fcn.00407400
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 0x43785d
mov ecx, dword [esi]
test ecx, ecx
je 0x437861
push dword [ecx - 8]
push ecx
call fcn.005506ae
add esp, 8
mov ecx, eax
test ecx, ecx
js 0x43787c
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x43787c
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.00407ba0
int3
Function at 0x439030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d9b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x5f1318]
test eax, eax
je 0x439081
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x439081
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00560ea3
add esp, 4
call fcn.00560e82
mov esi, eax
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x4390ac
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push str.x_GeneralNotify_lu
push eax
call fcn.0041ee80
mov esi, dword [ebp - 0x10]
mov ecx, 0x5f1110
mov edi, esi
add esp, 0xc
mov edx, 0x104
sub edi, ecx
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4390ff
movzx eax, word [edi + ecx]
test ax, ax
je 0x4390ff
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4390e1
lea eax, [ecx - 2]
mov dword [ebp - 0x40], 0x30
test edx, edx
push 0x2c
cmovne eax, ecx
xor ecx, ecx
push ecx
mov word [eax], cx
lea eax, [ebp - 0x3c]
push eax
call fcn.00533670
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0x5f1110
mov dword [ebp - 0x38], 0x439010
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x2c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push str.CGeneralObserverMgrWnd
push dword [ebp - 0x18]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5f1318], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4391a0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x444450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x2c
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], 0x30
push 0
push eax
call fcn.00533670
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
call fcn.00444be0
test eax, eax
mov dword [ebp - 0x28], 0x4440e0
mov ecx, 0x5f1460
cmove ecx, dword [ebp - 8]
push 0
mov dword [ebp - 8], ecx
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [ebp - 0x1c]
push 0
push 0xfffffffffffffffd
push 0x64
push 0x64
push 0
push 0
push 0
push 0x5bd8b0
push dword [ebp - 8]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0
push eax
mov dword [0x5f1454], eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x5f1df4]
mov eax, 0x2aaaaaab
sub ecx, dword [0x5f1df0]
imul ecx
mov dword [0x5eac00], 0
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x44451d
push 0
push 0x32
push 1
push dword [0x5f1454]
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [0x5eac00], 1
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x448cb0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58e7d8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
or ebx, 0xffffffff
cmp dword [0x5eadd8], ebx
jne 0x448d1b
push 0
lea eax, [ebp - 0x10]
push str.full.data
push eax
call fcn.0049fe80
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov dword [0x5eadd8], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x448d1b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x5eadd8], 1
mov edi, dword [ebp + 8]
jne 0x448d86
call fcn.00407fd0
mov ecx, eax
test ecx, ecx
jne 0x448d3c
push 0x80004005
call fcn.00407ba0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
push edi
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push str.ClientText:_s
push eax
call fcn.0041ee80
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x448d86
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [0x5f1e20]
test esi, esi
je 0x448e15
mov ebx, dword [0x5f1e28]
test ebx, ebx
je 0x448e15
cmp ebx, esi
je 0x448e15
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x448db0
mov ecx, edi
call fcn.004499a0
mov dword [ebp + 8], eax
lea ecx, [esi + 8]
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0044a1c0
mov eax, dword [ebp + 0xc]
cmp eax, dword [esi + 8]
je 0x448e15
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 8]
test eax, eax
jne 0x448dfe
push ecx
lea eax, [ebp + 8]
push eax
lea ecx, [ebx + 8]
call fcn.0044a170
mov eax, dword [ebp + 8]
cmp eax, dword [ebx + 8]
je 0x448e15
mov ecx, dword [ebp + 0xc]
lea esi, [eax + 0x14]
push esi
lea ecx, [ecx + 8]
call fcn.0044a310
mov eax, dword [esi]
mov eax, dword [eax + 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 8
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 8
Function at 0x4509e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.004094d0
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x450a16
push 5
call dword [eax + 0x134]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x134]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4

Function at 0x450a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
call fcn.00409590
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xd4]
test eax, eax
mov ecx, esi
mov eax, dword [esi]
je 0x450a66
push 5
call dword [eax + 0x134]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
push 0
call dword [eax + 0x134]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x457650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5ea110]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov eax, dword [edi + 4]
cmp dword [eax + 0x10], 0
je 0x457678
call fcn.004577a0
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x457697
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ed39
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [edi + 4]
push esi
call fcn.00457f30
test eax, eax
je 0x457683
push esi
lea eax, [ebp - 0x20c]
push 0x5bdee8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
test esi, esi
je 0x4576fc
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4576fc
lea eax, [ebp - 0x224]
push eax
push 0
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457775
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x20c]
call fcn.00457d80
test eax, eax
je 0x457775
mov eax, dword [ebp - 0x210]
cmp eax, dword [ebp - 0x218]
jne 0x457775
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp - 0x21c]
jne 0x457775
mov eax, dword [ebp - 0x220]
cmp eax, dword [ebp - 0x228]
jne 0x457775
mov eax, dword [ebp - 0x224]
cmp eax, dword [ebp - 0x22c]
jne 0x457775
mov ecx, dword [edi + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.00458670
test al, al
jne 0x457785
mov eax, dword [edi + 4]
mov ecx, edi
push dword [eax + 0xc]
push dword [eax + 0x10]
call fcn.00457990
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0050ed39
mov esp, ebp
pop ebp
ret 8

Function at 0x457840
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, edx
test esi, esi
jne 0x457851
mov dword [edi], ecx
pop edi
xor eax, eax
pop esi
ret
push 2
push 0
push esi
call fcn.0055fc8a
push esi
call fcn.005602c0
push 0
push 0
push esi
mov dword [edi], eax
call fcn.0055fc8a
mov eax, dword [edi]
add esp, 0x1c
test eax, eax
jle 0x45784c
push ebx
push eax
call fcn.00550865
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45789e
push esi
push 1
push dword [edi]
push ebx
call fcn.005604db
push 0
push 0
push esi
call fcn.0055fc8a
add esp, 0x1c
mov eax, ebx
pop ebx
pop edi
pop esi
ret
Function at 0x457f30
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 0x457f54
cmp dword [esi + 4], 0
je 0x457f4d
push eax
call fcn.0053e7d6
add esp, 4
mov dword [esi + 0x10], 0
push 0x5ba2b8
push dword [ebp + 8]
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
call fcn.0055f825
mov edi, eax
add esp, 8
test edi, edi
jne 0x457f7e
pop edi
pop esi
pop ebp
ret 4
push ebx
push 2
push 0
push edi
call fcn.0055fc8a
push edi
call fcn.005602c0
push 0
push 0
push edi
mov ebx, eax
call fcn.0055fc8a
add esp, 0x1c
test ebx, ebx
jle 0x457fbe
push ebx
mov ecx, esi
call fcn.00458040
mov eax, dword [esi + 0x10]
test eax, eax
je 0x457fbe
push edi
push 1
push ebx
push eax
call fcn.005604db
add esp, 0x10
push edi
call fcn.00560682
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 0x458670
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58fd16
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5ea110]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
mov eax, dword [ebx]
push dword [eax + 4]
call fcn.00459060
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 0x45872a
push 0x5ba2b8
push eax
call fcn.0055f825
mov edi, eax
add esp, 8
mov dword [ebp - 0x14], edi
test edi, edi
je 0x45872a
push edi
call fcn.005627e7
push eax
call fcn.005627d1
push edi
push 1
mov esi, eax
lea eax, [ebp - 0x20]
push 8
push eax
call fcn.005604db
add esp, 0x18
mov byte [ebp + 0xb], 0
cmp dword [ebp - 0x20], 0x78646972
jne 0x4587b3
cmp dword [ebp - 0x1c], 0x8000
jb 0x458740
push edi
call fcn.00560682
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.00550865
mov ebx, eax
add esp, 4
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x4587b3
push edi
push 1
push esi
push ebx
call fcn.005604db
lea edx, [ebx + esi]
mov ecx, ebx
xor ebx, ebx
mov dword [ebp + 8], edx
add esp, 0x10
cmp dword [ebp - 0x1c], ebx
jle 0x4587a1
mov edi, dword [ebp - 0x10]
mov esi, dword [ecx + 0xc]
add esi, 0x12
add esi, ecx
cmp esi, edx
ja 0x45879e
push dword [ecx + 8]
lea eax, [ecx + 0x10]
push dword [ecx + 4]
push dword [ecx]
mov ecx, edi
push eax
call fcn.004582c0
mov edx, dword [ebp + 8]
inc ebx
mov ecx, esi
cmp ebx, dword [ebp - 0x1c]
jl 0x458774
mov edi, dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0053e7d6
add esp, 4
cmp ebx, dword [ebp - 0x1c]
sete byte [ebp + 0xb]
push edi
call fcn.00560682
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