Function at 0x4847d0
Capabilities:
Check if file exists
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4eba93
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x670f1c]
xor eax, esp
mov dword [esp + 0xa4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x670f1c]
xor eax, esp
push eax
lea eax, [esp + 0xbc]
mov dword fs:[0], eax
mov esi, ecx
movzx ecx, word [esi + 0x196c4]
mov eax, dword [esi + 0x196ca]
push eax
push ecx
mov ecx, esi
call fcn.00437d10
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 7
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov word [ecx + 4], bx
call fcn.00401640
lea edx, [esp + 0xa4]
lea edi, [esi + 0x1916a]
push edx
mov ecx, edi
call fcn.0045fdf0
push 0xffffffffffffffff
lea eax, [esi + 0x19892]
push ebx
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
call fcn.00401640
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
movzx ecx, word [esi + 0x196c4]
mov eax, dword [esi + 0x196ca]
push eax
push ecx
mov ecx, edi
mov byte [esp + 0xcc], 2
call fcn.0045d040
cmp eax, ebx
je 0x4848e6
lea edx, [eax + 0x224]
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4848c2
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x50]
call fcn.00401930
mov ebp, 8
jmp 0x484999
mov eax, dword [esp + 0x84]
mov ebp, 8
cmp dword [esp + 0x98], ebp
jae 0x484902
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x484999
cmp dword [esp + 0x98], ebp
mov eax, dword [esp + 0x84]
push ebx
jae 0x484929
lea eax, [esp + 0x88]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401430
mov ecx, edi
call fcn.0046cb90
mov edx, dword [esi + 0x196ca]
movzx eax, word [esi + 0x196c4]
push edx
push eax
mov ecx, edi
call fcn.0045d040
cmp eax, ebx
je 0x484983
lea edx, [eax + 0x224]
mov eax, edx
lea ebp, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x484964
sub eax, ebp
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x50]
call fcn.00401930
mov ebp, 8
mov ecx, dword [esi + 0x196ca]
movzx edx, word [esi + 0x196c4]
push ecx
push edx
mov ecx, edi
call fcn.0046f880
mov ecx, dword [esp + 0x5c]
cmp ecx, ebx
je 0x484b39
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
jae 0x4849b3
lea eax, [esp + 0x4c]
push ecx
push eax
mov eax, dword [esp + 0x80]
push eax
push ebx
lea ecx, [esp + 0x74]
call fcn.00434b00
test eax, eax
je 0x484b24
push 0x50639c
lea ecx, [esp + 0xa0]
call fcn.00401430
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x5c]
push eax
sub ecx, eax
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0xd0], 3
call fcn.00415aa0
cmp dword [esp + 0xb4], ebp
mov ecx, dword [esp + 0xa0]
mov byte [esp + 0xc4], 4
jae 0x484a24
lea ecx, [esp + 0xa0]
mov edx, dword [esp + 0xb0]
push edx
push ecx
mov ecx, dword [eax + 0x14]
push ecx
push ebx
mov ecx, eax
call fcn.00434b00
test eax, eax
sete byte [esp + 0x17]
cmp dword [esp + 0x44], ebp
mov byte [esp + 0xc4], 3
jb 0x484a5b
mov edx, dword [esp + 0x30]
push edx
call fcn.004aef39
add esp, 4
cmp byte [esp + 0x17], bl
je 0x484b03
cmp dword [esi + 0x198aa], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
jb 0x484a7d
mov eax, dword [esi + 0x19896]
jmp 0x484a83
lea eax, [esi + 0x19896]
push ebx
push 0x10000000
push 3
push ebx
push 7
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x484ac2
mov eax, dword [esi + 0x19364]
cmp eax, 5
ja 0x484aae
jne 0x484abb
lea eax, [esp + 0x1c]
push eax
push edi
mov ecx, esi
call fcn.00436c30
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0x19872], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jb 0x484ada
mov eax, dword [esi + 0x1985e]
jmp 0x484ae0
lea eax, [esi + 0x1985e]
push ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
cmp dword [esp + 0x60], ebp
mov eax, dword [esp + 0x4c]
jae 0x484afc
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esp + 0xb4], ebp
mov byte [esp + 0xc4], 2
jb 0x484b24
mov edx, dword [esp + 0xa0]
push edx
call fcn.004aef39
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x19892]
push eax
lea ecx, [esi + 0x198ae]
call fcn.00401640
cmp dword [esp + 0x60], ebp
jb 0x484b4c
mov eax, dword [esp + 0x4c]
push eax
call fcn.004aef39
add esp, 4
cmp dword [esp + 0x7c], ebp
mov esi, 7
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov word [esp + 0x4c], bx
jb 0x484b71
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004aef39
add esp, 4
cmp dword [esp + 0x98], ebp
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
jb 0x484b97
mov edx, dword [esp + 0x84]
push edx
call fcn.004aef39
add esp, 4
mov ecx, dword [esp + 0xbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.004bfdfd
add esp, 0xb4
ret