Function at 0x43f190
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c065
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b701c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x58]
push 4
push eax
call fcn.00483c80
sub esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00404570
lea eax, [ebp - 0x40]
push eax
call fcn.00485220
push 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 1
push 2
push eax
call fcn.00483c80
add esp, 0x28
lea ecx, [ebp - 0x58]
push eax
call fcn.00417060
mov edx, dword [ebp - 0x5c]
cmp edx, 8
jb 0x43f23d
mov ecx, dword [ebp - 0x70]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f233
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f41c
push edx
push ecx
call fcn.00453c42
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.00404570
lea eax, [ebp - 0x28]
push eax
call fcn.00485220
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x40]
lea esi, [ebp - 0x40]
mov edx, dword [ebp - 0x30]
add esp, 0x1c
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
movq qword [ebp - 0x78], xmm0
cmovae ecx, dword [ebp - 0x28]
cmp edi, 8
cmovae esi, ebx
cmp edx, dword [ebp - 0x18]
jne 0x43f2c9
test edx, edx
je 0x43f298
sub esi, ecx
mov ax, word [esi + ecx]
cmp ax, word [ecx]
jne 0x43f2c9
add ecx, 2
sub edx, 1
jne 0x43f287
lea ecx, [ebp - 0x78]
cmp edi, 8
push ecx
push 0
lea eax, [ebp - 0x40]
cmovae eax, ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x43f32b
cmp dword [ebp - 0x74], 0
ja 0x43f32b
jb 0x43f327
cmp dword [ebp - 0x78], 0x1f400000
jae 0x43f32b
xor esi, esi
jmp 0x43f330
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
lea ecx, [ebp - 0x78]
push ecx
push 0
cmp edi, 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, ebx
push eax
call esi
test eax, eax
je 0x43f32b
cmp dword [ebp - 0x74], 0
ja 0x43f2fc
jb 0x43f327
cmp dword [ebp - 0x78], 0xfa00000
jae 0x43f2fc
xor esi, esi
jmp 0x43f330
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x78]
push ecx
push 0
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push eax
call esi
test eax, eax
je 0x43f32b
cmp dword [ebp - 0x74], 0
ja 0x43f32b
jb 0x43f327
cmp dword [ebp - 0x78], 0xfa00000
jae 0x43f32b
xor esi, esi
jmp 0x43f330
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x43f36a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f360
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f421
push edx
push ecx
call fcn.00453c42
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x43f3b4
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f3aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f421
push edx
push ecx
call fcn.00453c42
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x43f3fe
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43f3f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43f421
push edx
push ecx
call fcn.00453c42
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00453c11
mov esp, ebp
pop ebp
ret
call fcn.004584af
call fcn.004584af
int3