Function at 0x430d20
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca878
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x524ee0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [0x526340]
mov dword [ebp - 4], 1
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x15
idiv ecx
cmp edx, 0xb
jne 0x430dbd
mov ax, word [0x4e3568]
movq xmm0, qword [str.8QPKzMxPhJ]
mov word [ebp - 0x10], ax
mov al, byte [0x4e356a]
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x18]
movq qword [ebp - 0x18], xmm0
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x430d95
sub eax, edx
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a7aa0
push eax
call fcn.004a98f0
add esp, 8
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x431021
lea eax, [ebp + 8]
push 0x4e330c
push eax
call fcn.0040b540
add esp, 8
test al, al
jne 0x431021
lea eax, [ebp + 8]
push 0x4e0b10
push eax
call fcn.0040b540
add esp, 8
test al, al
jne 0x431021
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x430fe4
lea eax, [ebp + 0xc]
push 0x4e330c
push eax
call fcn.0040b540
add esp, 8
test al, al
jne 0x430fe4
lea eax, [ebp + 0xc]
push 0x4e0b10
push eax
call fcn.0040b540
add esp, 8
test al, al
jne 0x430fe4
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x4e0560
call fcn.00401ff0
mov edx, dword [esi]
push ecx
push esp
mov ecx, esi
mov byte [ebp - 4], 2
call dword [edx + 0x14]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.004515b0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4e0560
mov byte [ebp - 4], 3
call fcn.00401ff0
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 4
call fcn.004047d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 3
call fcn.004515b0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x4e0560
mov byte [ebp - 4], 5
call fcn.00401ff0
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov byte [ebp - 4], 6
call fcn.004047d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 5
call fcn.004515b0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
sub eax, edx
and eax, 0xfffffffc
add esp, 0xc
cmp eax, 0x10
jne 0x430fc8
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
sub eax, ecx
and eax, 0xfffffffc
cmp eax, 0x10
jne 0x430fc8
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x2c]
and eax, 0xfffffffc
cmp eax, 0x10
jne 0x430fc8
mov ebx, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
xor edi, edi
lea esi, [eax - 1]
lea esp, [esp]
add ecx, edi
lea eax, [edi + edx]
push ecx
push eax
call fcn.00421150
add esp, 8
test al, al
jne 0x430fc8
call fcn.004312e0
test al, al
jne 0x430f5c
push 0
push 0
push 0
push 0
push 0
call ebx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x18]
add ecx, edi
add eax, edi
push ecx
push eax
call fcn.0042c2b0
add esp, 8
test al, al
jne 0x430fc8
mov ecx, dword [0x526340]
lea edx, [ecx + 1]
lea eax, [ecx + 2]
imul eax, edx
imul eax, ecx
cdq
idiv esi
cmp edx, 4
jne 0x430fb1
xor esi, esi
test ecx, ecx
je 0x430fa6
mov eax, ecx
and eax, 1
add esi, eax
mov eax, ecx
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
jne 0x430f94
mov dword [0x526340], esi
mov esi, 0xf
add edi, 4
cmp edi, 0x10
jge 0x430fc4
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x38]
jmp 0x430f30
mov bl, 1
jmp 0x430fca
xor bl, bl
lea ecx, [ebp - 0x2c]
call fcn.0042a870
lea ecx, [ebp - 0x38]
call fcn.0042a870
lea ecx, [ebp - 0x18]
call fcn.0042a870
jmp 0x431023
mov edx, dword [0x526340]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 5
idiv ecx
cmp edx, 2
jne 0x431021
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor bl, bl
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
or esi, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x431046
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp + 0xc]
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x431067
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8