Function at 0x404638
Capabilities:
Get disk size

Disassembly:
mov eax, 0x603088
call fcn.00465b38
sub esp, 0x24
push ebx
push esi
push edi
push 1
pop edi
mov esi, ecx
push edi
call fcn.005eb3d6
xor ebx, ebx
cmp dword [esi + 0x9c], ebx
je 0x40482a
mov eax, dword [esi + 0x90]
cmp eax, dword [esi + 0x8c]
je 0x404898
push ebx
mov ecx, esi
call fcn.004044f2
test eax, eax
je 0x40482a
mov eax, dword [0x682534]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x90]
mov byte [ebp - 4], 1
cmp eax, dword [esi + 0x8c]
jb 0x40482e
lea edi, [esi + 0xa0]
lea eax, [ebp - 0x18]
push 2
push eax
mov ecx, edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00483240
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x18]
call fcn.00480a70
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
push 0x14
pop ecx
call fcn.00466330
cmp dword [esi + 0x90], eax
jae 0x404842
lea ecx, [esi + 0x94]
push 0x44a
call fcn.005edf3b
push ebx
push 0x44f
mov ecx, esi
call fcn.005ebffc
mov ecx, eax
call fcn.005ec41a
push ebx
mov ecx, esi
call fcn.005eb3d6
push dword [esi + 0x90]
mov edi, dword [edi]
mov ecx, dword [esi + 0x9c]
push edi
call fcn.0044730e
test eax, eax
je 0x40479f
push 0x67
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0x44b
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0x40
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
mov eax, dword [esi + 0x90]
mov dword [esi + 0x8c], eax
push eax
lea eax, [esi + 0x98]
push str._lu_MB
push eax
call fcn.005e20b1
mov eax, dword [esi + 0x8c]
add esp, 0xc
mov dword [esi + 0x90], eax
push 1
pop edi
jmp 0x404800
push 0xc2
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0x44c
lea ecx, [ebp - 0x10]
call fcn.005edf3b
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x18]
push eax
call fcn.005ecafe
mov edi, dword [ebp - 0x18]
push ebx
push ebx
mov byte [ebp - 4], 2
call fcn.00446d5f
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.005e20b1
add esp, 0xc
mov ecx, esi
push 0x10
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
lea ecx, [ebp - 0x18]
xor edi, edi
mov byte [ebp - 4], 1
call fcn.005ecd91
lea ecx, [esi + 0x94]
call fcn.005ecd19
push 1
push 0x44f
mov ecx, esi
call fcn.005ebffc
mov ecx, eax
call fcn.005ec41a
push ebx
mov ecx, esi
call fcn.005eb3d6
jmp 0x404881
xor edi, edi
jmp 0x404898
push 0xc2
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0x449
jmp 0x404854
push 0xc2
lea ecx, [ebp - 0x14]
call fcn.005edf3b
push 0x451
lea ecx, [ebp - 0x10]
call fcn.005edf3b
push 0x10
mov ecx, esi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.005ea6ed
mov eax, dword [esi + 0x8c]
push ebx
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.005eb3d6
xor edi, edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005ecd91
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.005ecd91
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret