Function at 0x426530
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7cfb
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x63a800]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x60], esi
mov dword [ebp - 4], 1
mov cl, byte [ebp + 0x3d]
lea edx, [ecx - 1]
mov byte [ebp - 0x50], dl
cmp byte [ebx + 0x1925], cl
jne 0x426a35
mov eax, dword [ebx + 0x1918]
mov edi, dword [ebx + 0x191c]
mov ecx, eax
or ecx, edi
je 0x426a35
cmp dword [ebx + 0x1974], 0
je 0x426a35
cmp esi, 0xffffffff
je 0x426a35
cmp byte [ebp + 0x3e], 1
jne 0x4266c6
mov ecx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x24]
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], ecx
test ecx, ecx
jne 0x4265d3
cmp esi, 2
jb 0x4266c6
cmp ecx, edi
jb 0x4265f0
ja 0x4265dd
cmp esi, eax
jbe 0x4265f0
test edi, edi
ja 0x4266c6
jb 0x4265f0
cmp eax, 2
ja 0x4266c6
mov ecx, dword [ebp + 0x2c]
mov esi, dword [ebp + 0x30]
mov dword [ebp - 0x2c], ecx
or ecx, esi
mov dword [ebp - 0x28], esi
je 0x426a1f
movzx esi, dl
mov ecx, dword [ebx + esi*4 + 0x1830]
movzx ecx, byte [ecx + 0x6d]
mov eax, 1
xor edx, edx
call fcn.005b3a30
imul esi, esi, 0x68
mov esi, dword [esi + ebx + 0x184]
mov edi, eax
xor eax, eax
mov ecx, esi
or ecx, eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], eax
je 0x4266c6
mov ecx, edi
or ecx, edx
je 0x4266c6
push edx
push edi
push eax
push esi
call fcn.005af0e0
push edx
push eax
mov dword [ebp - 0x58], edx
mov edx, dword [ebp + 0x30]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x2c]
push edx
push eax
call fcn.005bd2c0
or ecx, ebx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
je 0x42667c
add dword [ebp - 0x34], 1
mov ebx, 0
adc dword [ebp - 0x30], ebx
jmp 0x42667e
xor ebx, ebx
imul edi, esi
push edi
mov dword [ebp - 0x88], edi
call fcn.004898a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
cmp esi, ebx
je 0x4266c6
mov edx, dword [ebp - 0x60]
push ebx
lea ecx, [ebp - 0xa0]
push ecx
push ebx
push edx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x4266db
push esi
call fcn.0048989b
add esp, 4
lea eax, [ebp + 0xc]
call fcn.004017f0
lea ecx, [ebp + 8]
call fcn.00432bf0
jmp 0x426a7e
lea esi, [ebp - 0xec]
mov dword [ebp - 0x64], ebx
call fcn.00425400
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov byte [ebp - 0x17], al
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x38], esp
mov esi, esp
push eax
mov byte [ebp - 0x20], bl
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x98], ebx
lea edi, [ebp - 0x20]
call fcn.00432780
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004467d0
add esp, 4
cmp al, 0xff
jne 0x42674f
mov eax, dword [ebp - 0x24]
push eax
call fcn.0048989b
add esp, 4
lea eax, [ebp - 0xec]
call fcn.004017f0
jmp 0x4266c6
lea ecx, [ebp - 0x98]
push ecx
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x20]
push edx
call sub.KERNEL32.dll_GetDiskFreeSpaceA
nop
test eax, eax
je 0x426733
mov eax, dword [ebp - 0x6c]
mul dword [ebp - 0x68]
mov ecx, dword [ebp - 0x70]
push ebx
push ecx
push edx
push eax
call fcn.005af0e0
mov esi, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
add esi, 0xa00000
adc ecx, ebx
cmp edx, ecx
ja 0x4267ac
jb 0x42679a
cmp eax, esi
jae 0x4267ac
push ebx
push ebx
push 0x60aea0
call fcn.00494a09
mov edx, dword [ebp - 0x24]
push edx
jmp 0x426737
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push edi
push esi
push eax
push ecx
call fcn.005bd2c0
mov dword [ebp - 0x84], eax
mov eax, ecx
mov dword [ebp - 0x94], ecx
mov ecx, ebx
mov dword [ebp - 0x2c], eax
or eax, ecx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x28], ecx
jne 0x4267ea
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x30], eax
jb 0x426a08
ja 0x426810
cmp dword [ebp - 0x34], eax
jbe 0x426a08
jmp 0x426810
cmp byte [0x64440b], 2
je 0x426a08
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x24]
push edx
push 0
push eax
call fcn.005afd80
mov eax, dword [ebp - 0x30]
mov ebx, esi
mov esi, dword [ebp - 0x34]
add esp, 0xc
add esi, 0xffffffff
adc eax, 0xffffffff
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0x3c], esi
jne 0x426889
cmp dword [ebp - 0x38], eax
jne 0x426889
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x5c]
jne 0x42685d
cmp dword [ebp - 0x28], edi
je 0x426889
mov ecx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x28]
push ecx
push edi
push edx
push eax
call fcn.005bd2c0
or ecx, ebx
je 0x426879
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 0x78]
push ecx
push edi
push edx
push eax
call fcn.005af0e0
mov ebx, eax
mov edi, edx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
push edi
push ebx
push 0
push 0
push edx
mov edx, dword [ebp - 0x24]
push eax
push 3
push ecx
mov cl, byte [ebp - 0x50]
call fcn.0040ade0
and eax, edx
cmp eax, 0xffffffff
je 0x4269ff
mov dword [ebp - 0x80], edi
cmp dword [ebp - 0x3c], esi
jne 0x4268dd
mov edx, dword [ebp - 0xa8]
cmp dword [ebp - 0x38], edx
jne 0x4268dd
mov eax, dword [ebp - 0x94]
mov ecx, dword [ebp - 0x90]
mov edx, eax
or edx, ecx
je 0x4268dd
mov ebx, eax
mov dword [ebp - 0x80], ecx
mov eax, dword [ebp - 0x24]
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
mov ecx, ebx
call fcn.0042e910
test eax, eax
je 0x4269ff
xor ecx, ecx
cmp dword [ebp - 0x64], ebx
jne 0x4269ff
cmp ecx, dword [ebp - 0x80]
jne 0x4269ff
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x40]
mov esi, edi
add esi, 1
mov ebx, eax
adc ebx, ecx
push eax
push edi
cmp byte [ebp + 0x3f], cl
je 0x42694f
mov ecx, dword [ebp - 0x50]
push ecx
push edx
call fcn.00409ef0
cmp eax, edi
jne 0x426939
cmp edx, dword [ebp - 0x48]
je 0x426946
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x4269d2
mov eax, esi
mov edx, ebx
jmp 0x4269d2
mov cl, byte [ebp - 0x50]
push 0
push edx
call fcn.0040a2e0
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x4269d2
mov ecx, dword [ebp - 0x40]
mov eax, dword [ecx + 0x191c]
mov edx, dword [ecx + 0x1918]
mov dword [ebp - 0xb4], edx
cmp ebx, eax
ja 0x426733
jb 0x426990
cmp esi, edx
jae 0x426733
lea ebx, [ebx]
cmp byte [0x64440b], 2
je 0x4267a6
mov edx, dword [ecx + 0x1974]
cmp dword [edx + esi*4], 0
je 0x4269c1
add esi, 1
adc ebx, 0
cmp ebx, eax
ja 0x426733
jb 0x426990
cmp esi, dword [ebp - 0xb4]
jmp 0x426984
mov eax, esi
mov edx, ebx
cmp esi, edi
jne 0x4269d2
cmp ebx, dword [ebp - 0x48]
je 0x426733
add dword [ebp - 0x3c], 1
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
adc eax, 0
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x30]
ja 0x426a08
jb 0x4269f4
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x34]
jae 0x426a08
mov edi, dword [ebp - 0x58]
mov esi, dword [ebp - 0x5c]
jmp 0x426810
mov ecx, dword [ebp - 0x24]
push ecx
jmp 0x426737
mov edx, dword [ebp - 0x24]
push edx
call fcn.0048989b
add esp, 4
lea eax, [ebp - 0xec]
call fcn.004017f0
lea eax, [ebp + 0xc]
call fcn.004017f0
lea ecx, [ebp + 8]
call fcn.00432bf0
xor eax, eax
xor edx, edx
jmp 0x426a84
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a58
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x426a7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005ac396
mov esp, ebp
pop ebp
ret 0x3c