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

Disassembly:
push 0xffffffffffffffff
push 0x5d1938
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [0x647fdc]
mov dword [esp + 0x24], ebp
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41afbb
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.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41afed
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.004dc97c
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 0x41b0ba
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 0x41b0ac
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x41b096
cmp al, 0x42
je 0x41b096
push esi
call edi
cmp eax, 4
je 0x41b096
push esi
call edi
cmp eax, 5
je 0x41b096
push esi
call edi
cmp eax, 6
je 0x41b096
push esi
call edi
test eax, eax
je 0x41b096
push esi
call edi
cmp eax, 2
je 0x41b096
mov ecx, dword [esp + 0x4c]
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.004dcc33
push 0
push esi
call fcn.004f432d
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x41b058
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 0x41b13e
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, edi
test esi, esi
jl 0x41b353
cmp esi, eax
jge 0x41b353
mov eax, dword [esp + 0x48]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404ec0
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 0x41b12f
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jb 0x41b12f
mov eax, dword [esp + 0x2c]
ja 0x41b11d
cmp eax, edi
jbe 0x41b12f
lea edx, [esp + 0x18]
mov ebx, ecx
push edx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00404ec0
mov eax, dword [esp + 0x4c]
add esi, 1
cmp esi, eax
jl 0x41b0d0
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.004dcbfe
push 0x637
lea eax, [esp + 0x28]
push eax
call fcn.00422da0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.00404ec0
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 0x41b199
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.0041c6f0
push 0x6061ec
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x78], 4
call fcn.00404cc0
add esp, 0x18
lea ecx, [ebp + 0x3c]
push eax
mov byte [esp + 0x64], 5
call fcn.00404ec0
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 0x41b1f8
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 0x41b21d
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.00422da0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call fcn.00404ec0
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 0x41b260
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.0041c6f0
push 0x6061ec
push eax
lea ecx, [esp + 0x3c]
mov bl, 7
push ecx
mov byte [esp + 0x78], bl
call fcn.00404cc0
add esp, 0x18
lea ecx, [ebp + 0x40]
push eax
mov byte [esp + 0x64], 8
call fcn.00404ec0
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 0x41b2bf
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 0x41b2e4
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.004dca1a
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 0x41b317
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 0x41b33f
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.004d66ad