joyce8/EMBER2024-capa huggingface dataset:
Function at 0x567bd0
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8509
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x567c0f
xor eax, eax
jmp 0x567d6d
push str.Fancy3D
lea ecx, [ebp - 0x28]
call fcn.004068d0
mov dword [ebp - 4], 0
push 1
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00617dc0
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00405ef0
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx edx, al
test edx, edx
je 0x567c6e
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x2c]
jmp 0x567d6d
push 0x7f73a4
lea ecx, [ebp - 0x10]
call fcn.004036b0
push 0x7f73a8
lea ecx, [ebp - 0x10]
call fcn.004036b0
push 0
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
mov ecx, dword [ebp + 8]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x567cd3
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x30]
jmp 0x567d6d
lea ecx, [ebp - 0x19]
call fcn.0064a350
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
lea ecx, [ebp - 0x14]
call fcn.0064a370
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.0064a380
test eax, eax
je 0x567d3d
push str.DllRegisterServer
lea ecx, [ebp - 0x14]
call fcn.0064a380
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x567d3d
call dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
xor eax, eax
cmp dword [ebp - 0x24], 0
sete al
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.0064a540
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x19]
call sub.ole32.dll_CoUninitialize
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x568af0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8765
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push str.Utils_fancygame.ocx
lea eax, [ebp - 0x10]
push eax
call fcn.00619b70
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x568b71
push 0x7f7794
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp + 8]
jmp 0x568b98
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405d50
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x568c50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b87bb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00568d30
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x568ccc
push 0x7f7798
mov ecx, dword [ebp + 8]
call fcn.004068d0
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov eax, dword [ebp + 8]
jmp 0x568d13
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00618340
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405d50
mov edx, dword [ebp - 0x18]
or edx, 1
mov dword [ebp - 0x18], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x568f00
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8826
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.00568080
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x568f6d
push 7
call fcn.00569100
mov ecx, eax
call fcn.0055a420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405ef0
jmp 0x568fe4
push 5
call fcn.00569100
mov ecx, eax
call fcn.0055a420
lea ecx, [ebp - 0x14]
push ecx
call fcn.00567bd0
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x568fa0
push 7
call fcn.00569100
mov ecx, eax
call fcn.0055a420
jmp 0x568fd5
push 6
call fcn.00569100
mov ecx, eax
call fcn.0055a420
call fcn.005688e0
test eax, eax
je 0x568fc7
push 8
call fcn.00569100
mov ecx, eax
call fcn.0055a420
jmp 0x568fd5
push 7
call fcn.00569100
mov ecx, eax
call fcn.0055a420
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x56baf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1070
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1070], ecx
mov dword [ebp - 0x100c], 0
mov eax, dword [ebp + 8]
push eax
call fcn.006124f0
add esp, 4
test eax, eax
jne 0x56bb2e
xor eax, eax
jmp 0x56bc8c
mov dword [ebp - 0x1068], 0
push 0x40
push 0
lea ecx, [ebp - 0x1064]
push ecx
call fcn.007202b0
add esp, 0xc
push 0x44
push 0
lea edx, [ebp - 0x1068]
push edx
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x1068], 0x44
lea eax, [ebp - 0x1068]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x103c], 1
mov ecx, 1
mov word [ebp - 0x1038], cx
mov dword [ebp - 0x101c], 0
xor edx, edx
mov dword [ebp - 0x1018], edx
mov dword [ebp - 0x1014], edx
mov dword [ebp - 0x1010], edx
push 0x10
push 0
lea eax, [ebp - 0x101c]
push eax
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x106c], 0x800
xor ecx, ecx
mov word [ebp - 0x1008], cx
push 0xffe
push 0
lea edx, [ebp - 0x1006]
push edx
call fcn.007202b0
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x56bc09
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x7f7c38
lea edx, [ebp - 0x1008]
push edx
call fcn.0056c290
add esp, 0x10
jmp 0x56bc21
mov eax, dword [ebp + 8]
push eax
push 0x7f7c48
lea ecx, [ebp - 0x1008]
push ecx
call fcn.0056c290
add esp, 0xc
lea edx, [ebp - 0x101c]
push edx
lea eax, [ebp - 0x1068]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x1008]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1020], eax
cmp dword [ebp - 0x1020], 0
je 0x56bc72
mov edx, dword [ebp - 0x1018]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x101c]
mov dword [ebp - 0x100c], eax
lea ecx, [ebp - 0x1008]
push ecx
push str.Launch_SoftMgrInst.exe__cmd___s
call fcn.006090a0
add esp, 8
mov eax, dword [ebp - 0x100c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 8
Function at 0x56d030
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b8f76
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CSoftItem.0
mov ecx, dword [ebp - 0x10]
add ecx, 8
call fcn.00405e90
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00405e90
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x10], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00405e90
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x18
call fcn.00405e90
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00405e90
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.00405e90
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.00405e90
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x28], 0
mov dword [edx + 0x2c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x38], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x40], 0
mov ecx, dword [ebp - 0x10]
fldz
fstp qword [ecx + 0x48]
mov ecx, dword [ebp - 0x10]
add ecx, 0x50
call fcn.00405e90
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00405e90
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x58], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x5c], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x60], 0
mov dword [ecx + 0x64], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x68], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x6c
call fcn.00645430
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x56dbe0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b90e1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
call fcn.00403670
push 0x7f7ddc
lea ecx, [ebp - 0x1c]
push ecx
call fcn.004bb400
mov ecx, eax
call fcn.0043e2b0
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403a70
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x20]
add eax, 0x18
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.00617f50
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x56dcb1
mov dword [ebp - 0x18], 0
push 0
push 0
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x20]
push eax
push 0x56cfa0
mov ecx, dword [ebp - 0x20]
add ecx, 0x6c
mov edx, dword [ebp - 0x20]
mov eax, dword [edx + 0x6c]
mov edx, dword [eax + 4]
call edx
jmp 0x56dcc0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x1c
call fcn.00403670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x570c10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b96cd
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push 0xc
call fcn.00704930
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0
je 0x570c63
lea eax, [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.005725c0
mov dword [ebp - 0x24], eax
jmp 0x570c6a
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push 0
push 0
mov edx, dword [ebp - 0x10]
push edx
push 0x570cc0
push 0
push 0
call fcn.007263d8
add esp, 0x18
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x570d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b96f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add eax, 0x54
push eax
lea ecx, [ebp - 0x14]
call fcn.00418220
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x570d7c
mov ecx, dword [ebp - 0x18]
call fcn.00570db0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00570e40
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00418250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x570db0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.00403b90
movzx eax, al
test eax, eax
je 0x570dcd
jmp 0x570e3b
push 0
push 0x80
push 1
push 0
push 6
push 0x40000000
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x570e05
jmp 0x570e3b
mov ecx, 0xfeff
mov word [ebp - 4], cx
xor edx, edx
mov word [ebp - 0xc], dx
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push 2
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x572b60
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.007202b0
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
lea ecx, [ebp - 0x210]
push ecx
call fcn.0072073b
add esp, 4
test eax, eax
jne 0x572bc9
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x210]
push eax
call fcn.0072073b
add esp, 4
cmp eax, 2
jb 0x572cb9
movzx ecx, word [ebp - 0x20e]
cmp ecx, 0x3a
jne 0x572cb9
xor edx, edx
mov word [ebp - 0x218], dx
xor eax, eax
mov dword [ebp - 0x216], eax
mov word [ebp - 0x212], ax
mov cx, word [ebp - 0x210]
mov word [ebp - 0x218], cx
mov edx, 0x3a
mov word [ebp - 0x216], dx
mov eax, 0x5c
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 3
je 0x572c5e
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x228], 0
xor eax, eax
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x228]
push ecx
push 0
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x224]
cmp eax, dword [0x89f5ec]
ja 0x572cb9
jb 0x572ca6
mov ecx, dword [ebp - 0x228]
cmp ecx, dword [0x89f5e8]
ja 0x572cb9
push 0
push 0
push 0x465
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret

Function at 0x572db0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b99fb
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
mov dword [0x89f5e8], eax
mov ecx, dword [ebp + 0xc]
mov dword [0x89f5ec], ecx
mov dword [0x89f5f0], 1
lea edx, [ebp - 0x10]
push edx
call fcn.004bb400
mov ecx, eax
call fcn.0043e1b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov edx, dword [ebp - 0x18]
cmp edx, dword [0x89f5ec]
ja 0x572e57
jb 0x572e45
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x89f5e8]
ja 0x572e57
mov dword [0x89f5f0], 0
mov ecx, dword [ebp - 0x24]
call fcn.00572e90
mov ecx, dword [0x89f5f0]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x574740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ecx
mov ecx, dword [ebp - 0x214]
call fcn.00574670
test eax, eax
jne 0x57476f
xor eax, eax
jmp 0x574854
mov ecx, dword [ebp - 0x214]
add ecx, 0xc
call fcn.00403b90
movzx eax, al
test eax, eax
je 0x57478b
xor eax, eax
jmp 0x574854
mov ecx, dword [ebp - 0x214]
add ecx, 4
call fcn.00403b90
movzx ecx, al
test ecx, ecx
je 0x5747a7
xor eax, eax
jmp 0x574854
mov ecx, dword [ebp - 0x214]
add ecx, 4
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5747c7
xor eax, eax
jmp 0x574854
push 0
mov ecx, dword [ebp - 0x214]
add ecx, 4
call fcn.00405e80
push eax
call fcn.00612480
add esp, 8
test eax, eax
jne 0x5747e8
xor eax, eax
jmp 0x574854
push 0x208
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.007202b0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x214]
add ecx, 4
call fcn.00405e80
push eax
mov ecx, dword [ebp - 0x214]
call fcn.00574870
test eax, eax
jne 0x57482c
xor eax, eax
jmp 0x574854
mov ecx, dword [ebp - 0x214]
add ecx, 0xc
call fcn.00405e80
push eax
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x214]
call fcn.00574ba0
neg eax
sbb eax, eax
add eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret
Function at 0x574870
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4018
call fcn.00725f60
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x4018], ecx
cmp dword [ebp + 8], 0
je 0x5748a2
cmp dword [ebp + 0xc], 0
je 0x5748a2
cmp dword [ebp + 0x10], 0x104
jge 0x5748a9
xor eax, eax
jmp 0x5749c8
mov ax, word [0x7f8798]
mov word [ebp - 0x4008], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4006]
push ecx
call fcn.007202b0
add esp, 0xc
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x400c], eax
cmp dword [ebp - 0x400c], 0
je 0x5748f4
cmp dword [ebp - 0x400c], 0x3fff
jbe 0x5748fb
xor eax, eax
jmp 0x5749c8
lea ecx, [ebp - 0x4008]
push ecx
mov edx, dword [ebp - 0x400c]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x5749c6
lea ecx, [ebp - 0x4014]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x7f879c
lea eax, [ebp - 0x4008]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x5749c6
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.007202b0
add esp, 0xc
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x7f87a0
mov eax, dword [ebp + 0x10]
sub eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00574cd0
add esp, 0x1c
mov eax, 1
jmp 0x5749c8
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x5750a0
Capabilities:
Check if file exists
Copy file
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b9e78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp - 0x34]
mov dword [eax + 0x24], 2
push 0
mov ecx, dword [ebp - 0x34]
add ecx, 0x3c
call fcn.00405e80
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x1c], str.update.exe
mov dword [ebp - 0x18], str.Safelive.dll
mov dword [ebp - 0x14], 0x7f8954
mov dword [ebp - 0x20], 0
jmp 0x57510f
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 3
jae 0x575214
mov edx, dword [ebp - 0x34]
add edx, 0x30
push edx
lea ecx, [ebp - 0x24]
call fcn.00405d50
mov dword [ebp - 4], 0
push 0x7f89e4
lea ecx, [ebp - 0x24]
call fcn.004036b0
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x1c]
push ecx
lea ecx, [ebp - 0x24]
call fcn.004036b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + edx*4 - 0x1c]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x3c
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.00403a70
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x57519a
push 0
lea ecx, [ebp - 0x28]
call fcn.00405e80
push eax
lea ecx, [ebp - 0x24]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
jmp 0x5751f4
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp + eax*4 - 0x1c]
push ecx
mov edx, dword [ebp - 0x34]
add edx, 0x30
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00403a70
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x3c]
push edx
lea ecx, [ebp - 0x24]
call fcn.00403670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405ef0
push 0
lea ecx, [ebp - 0x28]
call fcn.00405e80
push eax
lea ecx, [ebp - 0x24]
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405ef0
jmp 0x575106
push 0x7f89f4
mov eax, dword [ebp - 0x34]
add eax, 0x3c
push eax
lea ecx, [ebp - 0x10]
push ecx
call fcn.00403a70
add esp, 0xc
mov dword [ebp - 4], 3
push 0x7f89f8
lea ecx, [ebp - 0x10]
call fcn.004036b0
push 0
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 0x34
call fcn.00405e80
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4