Function at 0x426ab0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7ca9
mov eax, dword fs:[0]
push eax
sub esp, 0x150
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 edi, ecx
mov ebx, edx
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x60], ebx
lea ecx, [ebp + 0xc]
mov eax, edi
mov dword [ebp - 4], 1
call fcn.0042f4e0
test al, al
je 0x426b81
cmp byte [ebp + 0x3f], 0
jne 0x426b10
cmp byte [edi + 0x1926], 1
jne 0x426b81
sub esp, 0x38
lea eax, [ebp + 0xc]
mov esi, esp
mov dword [ebp - 0xc4], esp
call fcn.0040caa0
push 1
push ebx
push edi
call fcn.0042fc90
or eax, edx
jne 0x426b81
mov byte [ebp - 4], al
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 0x426b52
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 0x426b78
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
xor edx, edx
jmp 0x4274bc
mov al, byte [ebp + 0x3d]
lea edx, [eax - 1]
mov byte [ebp - 0x98], dl
cmp byte [edi + 0x1925], al
jne 0x42746d
mov eax, dword [edi + 0x1918]
mov esi, dword [edi + 0x191c]
or eax, esi
je 0x42746d
cmp dword [edi + 0x1974], 0
je 0x42746d
cmp ebx, 0xffffffff
je 0x42746d
cmp byte [ebp + 0x3e], 1
jne 0x426cf8
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
test eax, eax
jne 0x426be6
cmp ecx, 2
jb 0x426cf8
cmp eax, esi
jb 0x426c0b
ja 0x426bf4
cmp ecx, dword [edi + 0x1918]
jbe 0x426c0b
test esi, esi
ja 0x426cf8
jb 0x426c0b
cmp dword [edi + 0x1918], 2
ja 0x426cf8
mov ebx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x30]
mov ecx, ebx
or ecx, eax
mov dword [ebp - 0xec], ebx
mov dword [ebp - 0xe8], eax
je 0x427457
test eax, eax
jne 0x426cf8
cmp ebx, 0xffffffff
jae 0x426cf8
movzx eax, dl
mov ecx, dword [edi + eax*4 + 0x1830]
imul eax, eax, 0x68
mov edi, dword [eax + edi + 0x184]
mov dl, byte [ecx + 0xd]
xor ecx, ecx
mov eax, edi
or eax, ecx
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0xe0], ecx
je 0x426cf8
test dl, dl
je 0x426cf8
movzx esi, dl
push ecx
mov eax, esi
cdq
push edi
push edx
push eax
call fcn.005af0e0
mov ecx, dword [ebp + 0x30]
push edx
push eax
push ecx
push ebx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
call fcn.005bd2c0
or ecx, ebx
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
je 0x426cae
add dword [ebp - 0x74], 1
mov ebx, 0
adc dword [ebp - 0x70], ebx
jmp 0x426cb0
xor ebx, ebx
imul esi, edi
push esi
mov dword [ebp - 0xc4], esi
call fcn.004898a6
mov esi, eax
add esp, 4
mov dword [ebp - 0x64], esi
cmp esi, ebx
je 0x426cf8
mov eax, dword [ebp - 0x60]
push ebx
lea edx, [ebp - 0x108]
push edx
push ebx
push eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x426d0d
push esi
call fcn.0048989b
add esp, 4
lea eax, [ebp + 0xc]
call fcn.004017f0
lea ecx, [ebp + 8]
call fcn.00432bf0
jmp 0x4274b6
xor ebx, ebx
push 0x27
lea ecx, [ebp - 0x47]
push ebx
push ecx
mov dword [ebp - 0xc8], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x48], bl
call fcn.005afd80
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
add esp, 0xc
lea esi, [ebp - 0x15c]
mov dword [ebp - 0xbc], edx
mov dword [ebp - 0xb8], eax
call fcn.00425400
lea edi, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.00445b40
mov edi, dword [ebp - 0x80]
mov ecx, dword [edi + 0x1918]
mov edx, dword [edi + 0x191c]
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], edx
cmp byte [ebp + 0x3f], bl
je 0x426d90
cmp dword [ebp + 0x28], ebx
ja 0x426d90
cmp dword [ebp + 0x24], 0x10000
jb 0x426dae
mov esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
mov eax, esi
add eax, 1
mov dword [ebp - 0xa4], eax
mov eax, ebx
adc eax, 0
mov dword [ebp - 0xa0], eax
jmp 0x426db4
mov esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], eax
cmp ebx, dword [ebp - 0xa0]
ja 0x427440
jb 0x426de0
cmp esi, dword [ebp - 0xa4]
jae 0x427440
lea esp, [esp]
cmp byte [0x64440b], 2
je 0x427440
mov ecx, dword [ebp - 0x6c]
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x68]
push eax
push ecx
lea edx, [ebp - 0x48]
push 0x60aec4
push edx
call fcn.005acd60
add esp, 0x10
add dword [ebp - 0x6c], 1
lea ecx, [ebp - 0x58]
adc dword [ebp - 0x68], 0
call fcn.00432c10
mov byte [ebp - 4], 3
cmp byte [ebp - 0x129], 0
je 0x426ffd
cmp dword [ebp + 0x28], 0
ja 0x426ffd
jb 0x426e60
cmp dword [ebp + 0x24], 0x10000
jae 0x426ffd
mov eax, dword [ebp - 0xac]
or eax, dword [ebp - 0xa8]
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], ebx
jne 0x426e97
mov ecx, dword [edi + 0x1974]
lea eax, [ecx + esi*4]
mov eax, dword [eax]
xor ecx, ecx
or eax, ecx
jne 0x426e97
mov dword [ebp - 0xac], esi
mov dword [ebp - 0xa8], ebx
mov edx, dword [edi + 0x1974]
lea eax, [edx + esi*4]
mov eax, dword [eax]
xor ecx, ecx
or eax, ecx
jne 0x426f81
sub esp, 0x38
lea eax, [ebp - 0x15c]
mov esi, esp
mov dword [ebp - 0x5c], esp
call fcn.0040caa0
push edi
call fcn.00428e90
xor ebx, ebx
cmp eax, ebx
je 0x426f83
mov eax, dword [ebp - 0x8c]
add eax, 1
adc dword [ebp - 0x88], ebx
mov dword [ebp - 0x8c], eax
cmp eax, 1
jne 0x426ef5
cmp dword [ebp - 0x88], ebx
je 0x426fff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.00431b20
add esp, 0xc
lea ecx, [ebp + 0x40]
push ecx
push eax
lea edx, [ebp - 0xf0]
push edx
mov byte [ebp - 4], 4
call fcn.00431010
add esp, 0xc
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.004327f0
lea ecx, [ebp - 0xf0]
call fcn.00432bf0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 3
call fcn.00432bf0
mov edx, dword [ebp - 0x58]
mov ecx, dword [edx - 8]
mov eax, 1
sub eax, dword [edx - 4]
or ecx, eax
jge 0x426f69
push ebx
lea ecx, [ebp - 0x58]
call fcn.00432990
mov edx, dword [ebp - 0x58]
push ebx
push ebx
push 1
push ebx
push 3
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
jmp 0x427002
xor ebx, ebx
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
shld eax, ecx, 0x10
shl ecx, 0x10
add ecx, dword [ebp - 0xbc]
adc eax, dword [ebp - 0xb8]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], eax
cmp eax, dword [edi + 0x191c]
jb 0x426fec
ja 0x426fb4
cmp ecx, dword [edi + 0x1918]
jb 0x426fec
mov ecx, dword [ebp - 0x8c]
or ecx, dword [ebp - 0x88]
jne 0x427438
mov eax, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa8]
mov edx, eax
or edx, ecx
jne 0x426fde
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x5c], edx
jmp 0x427005
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00432bf0
jmp 0x4273ce
xor ebx, ebx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
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 - 0x118], esp
mov esi, esp
push eax
mov byte [ebp - 0x20], 0
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xd8], ebx
mov dword [ebp - 0xdc], ebx
mov dword [ebp - 0x104], 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
je 0x4273f1
lea ecx, [ebp - 0x104]
push ecx
lea edx, [ebp - 0xdc]
push edx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov edx, edi
push edx
call sub.KERNEL32.dll_GetDiskFreeSpaceA
nop
cmp eax, ebx
je 0x42732c
mov eax, dword [ebp - 0xdc]
mul dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xc0]
push 0
push ecx
push edx
push eax
call fcn.005af0e0
mov edi, dword [ebp - 0xec]
mov ebx, eax
mov eax, dword [ebp - 0xe8]
mov esi, edi
add esi, 0xa00000
mov ecx, eax
adc ecx, 0
cmp edx, ecx
jb 0x427424
ja 0x4270d2
cmp ebx, esi
jb 0x427424
cmp dword [ebp - 0x5c], 0xffffffff
je 0x42736d
mov ebx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd4]
push ebx
push esi
push eax
push edi
call fcn.005c43b0
mov ecx, edx
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x94], eax
or eax, ecx
mov dword [ebp - 0xf8], edx
mov dword [ebp - 0x90], ecx
jne 0x42711b
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], ebx
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x70], eax
jb 0x42736d
ja 0x42714c
cmp dword [ebp - 0x74], eax
jbe 0x42736d
jmp 0x42714c
mov ebx, dword [ebp - 0xd0]
mov esi, dword [ebp - 0xd4]
cmp byte [0x64440b], 2
je 0x42736d
mov edx, dword [ebp - 0xc4]
mov eax, dword [ebp - 0x64]
push edx
push 0
push eax
call fcn.005afd80
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x70]
add esp, 0xc
add edi, 0xffffffff
adc eax, 0xffffffff
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x7c], edi
jne 0x4271da
mov ecx, eax
cmp dword [ebp - 0x78], ecx
jne 0x4271da
cmp dword [ebp - 0x94], esi
jne 0x42719c
cmp dword [ebp - 0x90], ebx
je 0x4271da
mov edx, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
push edx
push esi
push eax
push ecx
call fcn.005bd2c0
or ecx, ebx
je 0x4271c7
add eax, 1
adc edx, 0
mov ecx, dword [ebp - 0xe0]
push ecx
push esi
push edx
push eax
call fcn.005af0e0
mov esi, eax
mov ebx, edx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x80]
push ebx
push esi
push 0
push 0
push edx
mov edx, dword [ebp - 0x64]
push eax
push 3
push ecx
mov cl, byte [ebp - 0x98]
call fcn.0040bad0
and eax, edx
cmp eax, 0xffffffff
je 0x4273f1
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb0], ebx
cmp dword [ebp - 0x7c], edi
jne 0x427241
mov edx, dword [ebp - 0x110]
cmp dword [ebp - 0x78], edx
jne 0x427241
mov eax, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xf8]
mov edx, eax
or edx, ecx
je 0x427241
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0x64]
mov ebx, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xb4]
mov esi, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0xc8]
mov edi, ebx
call fcn.0042e910
test eax, eax
je 0x427432
mov eax, dword [ebp - 0xc8]
xor ecx, ecx
cmp eax, dword [ebp - 0xb4]
jne 0x427432
cmp ecx, dword [ebp - 0xb0]
jne 0x427432
mov edi, dword [ebp - 0x54]
mov esi, dword [ebp - 0x50]
add edi, 1
adc esi, ecx
cmp byte [ebp + 0x3f], cl
je 0x4272c8
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x98]
push ecx
push edx
push eax
push ebx
call fcn.00409ef0
cmp eax, dword [ebp - 0x54]
jne 0x4272b5
cmp edx, dword [ebp - 0x50]
je 0x4272c2
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x427343
mov eax, edi
mov edx, esi
jmp 0x427343
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov cl, byte [ebp - 0x98]
push edx
push eax
push 0
push ebx
call fcn.0040a2e0
mov ecx, eax
and ecx, edx
cmp ecx, 0xffffffff
jne 0x427343
mov edx, dword [ebx + 0x191c]
mov eax, dword [ebx + 0x1918]
mov dword [ebp - 0x124], eax
cmp esi, edx
ja 0x42732c
jb 0x427303
cmp edi, eax
jae 0x42732c
mov ebx, dword [ebx + 0x1974]
lea esp, [esp]
mov eax, dword [ebx + edi*4]
xor ecx, ecx
or eax, ecx
je 0x427335
add edi, 1
adc esi, ecx
cmp esi, edx
ja 0x42732c
jb 0x427310
cmp edi, dword [ebp - 0x124]
jb 0x427310
mov eax, dword [ebp - 0x64]
push eax
jmp 0x4273f5
mov eax, edi
mov edx, esi
cmp edi, dword [ebp - 0x54]
jne 0x427343
cmp esi, dword [ebp - 0x50]
je 0x42732c
add dword [ebp - 0x7c], 1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x78]
adc eax, 0
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x78], eax
cmp eax, dword [ebp - 0x70]
jb 0x427140
ja 0x42736d
mov edx, dword [ebp - 0x74]
cmp dword [ebp - 0x7c], edx
jb 0x427140
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
shld ecx, eax, 0x10
shl eax, 0x10
add eax, dword [ebp - 0xbc]
adc ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], ecx
cmp eax, dword [ebp - 0x60]
je 0x4273a0
cmp eax, 0xffffffff
je 0x4273a0
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0x3f], 0
je 0x427438
cmp dword [ebp + 0x28], 0
ja 0x427438
jb 0x4273bf
cmp dword [ebp + 0x24], 0x10000
jae 0x427438
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00432bf0
mov edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0xa0]
ja 0x427440
jb 0x4273e6
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0xa4]
jae 0x427440
mov esi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
jmp 0x426de0
mov edx, dword [ebp - 0x64]
push edx
call fcn.0048989b
mov eax, dword [ebp - 0x5c]
add esp, 4
cmp eax, dword [ebp - 0x60]
je 0x42740c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x58]
call fcn.00432bf0
lea eax, [ebp - 0x15c]
call fcn.004017f0
jmp 0x426cf8
push 0
push 0
push 0x60aea0
call fcn.00494a09
mov ecx, dword [ebp - 0x64]
push ecx
jmp 0x4273f5
lea ecx, [ebp - 0x58]
call fcn.00432bf0
mov edx, dword [ebp - 0x64]
push edx
call fcn.0048989b
add esp, 4
lea eax, [ebp - 0x15c]
call fcn.004017f0
lea eax, [ebp + 0xc]
call fcn.004017f0
lea ecx, [ebp + 8]
call fcn.00432bf0
xor eax, eax
xor edx, edx
jmp 0x4274bc
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 0x427490
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 0x4274b6
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