Function at 0x439d40
Capabilities:
Check if file exists
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee894
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [0x560094]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
push 0
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call fcn.00489a20
mov dword [ebp - 4], 0
mov esi, 0x63
lea eax, [ebp - 0x18]
mov dword [ebp - 0x16], 0x3a
push eax
mov word [ebp - 0x18], si
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x439f66
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
push 0
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call fcn.00489a20
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 1
push eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0xfde9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00485990
add esp, 0xc
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00489820
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 3
push eax
push str.disk_id
lea ecx, [ebp - 0x48]
call fcn.0048a330
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0x80]
call fcn.00489da0
mov edx, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x439e5c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x439e52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a0e0
push edx
push ecx
call fcn.0049fef8
add esp, 8
push dword [ebp - 0x64]
lea eax, [ebp - 0x1b]
push dword [ebp - 0x68]
push eax
call fcn.00436480
mov ecx, eax
mov dword [ebp - 0x70], 0
lea eax, [ebp - 0x1b]
mov dword [ebp - 0x6c], 0xf
add esp, 0xc
mov byte [ebp - 0x80], 0
cmp ecx, eax
je 0x439e95
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x80]
call fcn.0042b2e0
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x98]
call fcn.00489820
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 5
push eax
push str.free_space
lea ecx, [ebp - 0x48]
call fcn.0048a330
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0x98]
call fcn.00489da0
mov edx, dword [ebp - 0x6c]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x439f0a
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x439f00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a0e0
push edx
push ecx
call fcn.0049fef8
add esp, 8
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
push eax
lea ecx, [ebp - 0x98]
call fcn.00489890
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 6
push eax
push 0x4fd47c
lea ecx, [ebp - 0x48]
call fcn.0048a330
mov ecx, eax
call fcn.00489e10
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 1
call fcn.00489da0
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x60]
call fcn.0048ab80
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call fcn.00489da0
inc esi
cmp si, 0x7b
jb 0x439d95
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x98]
call fcn.0048c530
mov esi, eax
push 0
push 0x4fd17a
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.0042b2e0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x80]
mov ecx, esi
push eax
call fcn.0048d320
cmp dword [eax + 0x14], 0x10
mov byte [ebp - 4], 9
jb 0x439fc6
mov eax, dword [eax]
push 0xfde9
push eax
lea ecx, [ebp - 0x19c]
call fcn.00436530
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov byte [ebp - 4], 0xa
mov word [edi], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439ff5
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.0042b3e0
mov eax, dword [ebp - 0x19c]
lea ecx, [ebp - 0x198]
cmp eax, ecx
je 0x43a026
push eax
call fcn.004c4deb
add esp, 4
mov edx, dword [ebp - 0x6c]
cmp edx, 0x10
jb 0x43a05a
mov ecx, dword [ebp - 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43a050
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a0e0
push edx
push ecx
call fcn.0049fef8
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
cmp edx, 0x10
jb 0x43a09c
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43a092
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a0e5
push edx
push ecx
call fcn.0049fef8
add esp, 8
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
call fcn.00489da0
lea ecx, [ebp - 0x60]
call fcn.00489da0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a01a0
mov esp, ebp
pop ebp
ret 8
call fcn.004c4d9a
call fcn.004c4d9a
int3