Function at 0x41a2f0
Capabilities:
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5149e8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [0x5737f4]
mov dword [esp + 0x24], ebp
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a33b
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x60], 0
call fcn.004c2ca4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41a36d
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.004caa87
push 0
mov byte [esp + 0x64], 2
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call edi
mov esi, eax
test esi, esi
je 0x41a43a
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
mov ebx, eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
push esi
push esi
push 0
push ebx
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call edi
mov al, byte [esi]
test al, al
je 0x41a42c
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x41a416
cmp al, 0x42
je 0x41a416
push esi
call edi
cmp eax, 4
je 0x41a416
push esi
call edi
cmp eax, 5
je 0x41a416
push esi
call edi
cmp eax, 6
je 0x41a416
push esi
call edi
test eax, eax
je 0x41a416
push esi
call edi
cmp eax, 2
je 0x41a416
mov ecx, dword [esp + 0x4c]
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.004cad3e
push 0
push esi
call fcn.004e22e6
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x41a3d8
mov edx, dword [esp + 0x20]
push edx
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x4c]
xor edi, edi
xor ebx, ebx
xor esi, esi
test eax, eax
jle 0x41a4be
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, edi
test esi, esi
jl 0x41a6d3
cmp esi, eax
jge 0x41a6d3
mov eax, dword [esp + 0x48]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404e60
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x44]
push eax
push ecx
call ebp
test eax, eax
je 0x41a4af
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jb 0x41a4af
mov eax, dword [esp + 0x2c]
ja 0x41a49d
cmp eax, edi
jbe 0x41a4af
lea edx, [esp + 0x18]
mov ebx, ecx
push edx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00404e60
mov eax, dword [esp + 0x4c]
add esi, 1
cmp esi, eax
jl 0x41a450
mov ebp, dword [esp + 0x24]
lea ecx, [ebp + 0x50]
lea edx, [esp + 0x1c]
mov dword [ebp + 0x64], 1
mov eax, dword [ecx + 8]
push edx
push eax
call fcn.004cad09
push 0x637
lea eax, [esp + 0x28]
push eax
call fcn.0041c760
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.00404e60
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a519
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0041ac70
push 0x52aec4
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x78], 4
call fcn.00404c80
add esp, 0x18
lea ecx, [ebp + 0x3c]
push eax
mov byte [esp + 0x64], 5
call fcn.00404e60
mov byte [esp + 0x60], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a578
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a59d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x638
lea ecx, [esp + 0x2c]
push ecx
call fcn.0041c760
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call fcn.00404e60
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a5e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.0041ac70
push 0x52aec4
push eax
lea ecx, [esp + 0x3c]
mov bl, 7
push ecx
mov byte [esp + 0x78], bl
call fcn.00404c80
add esp, 0x18
lea ecx, [ebp + 0x40]
push eax
mov byte [esp + 0x64], 8
call fcn.00404e60
mov byte [esp + 0x60], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41a63f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x60], 2
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a664
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x60], 1
call fcn.004cab25
mov byte [esp + 0x60], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a697
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a6bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
jmp fcn.004c463b