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

Disassembly:
push 0xffffffffffffffff
push 0x5d1618
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [0x648fc4]
mov dword [esp + 0x24], ebp
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b38b
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.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b3bd
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.004dc5c5
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 0x41b48a
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 0x41b47c
mov edi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp al, 0x41
je 0x41b466
cmp al, 0x42
je 0x41b466
push esi
call edi
cmp eax, 4
je 0x41b466
push esi
call edi
cmp eax, 5
je 0x41b466
push esi
call edi
cmp eax, 6
je 0x41b466
push esi
call edi
test eax, eax
je 0x41b466
push esi
call edi
cmp eax, 2
je 0x41b466
mov ecx, dword [esp + 0x4c]
push esi
push ecx
lea ecx, [esp + 0x4c]
call fcn.004dc87c
push 0
push esi
call fcn.004f3fce
add eax, 1
mov esi, eax
mov al, byte [esi]
add esp, 8
test al, al
jne 0x41b428
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 0x41b50e
mov ebp, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edi, edi
test esi, esi
jl 0x41b723
cmp esi, eax
jge 0x41b723
mov eax, dword [esp + 0x48]
lea eax, [eax + esi*4]
push eax
lea ecx, [esp + 0x1c]
call fcn.00404f90
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 0x41b4ff
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jb 0x41b4ff
mov eax, dword [esp + 0x2c]
ja 0x41b4ed
cmp eax, edi
jbe 0x41b4ff
lea edx, [esp + 0x18]
mov ebx, ecx
push edx
lea ecx, [esp + 0x20]
mov edi, eax
call fcn.00404f90
mov eax, dword [esp + 0x4c]
add esi, 1
cmp esi, eax
jl 0x41b4a0
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.004dc847
push 0x637
lea eax, [esp + 0x28]
push eax
call fcn.00422af0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 3
call fcn.00404f90
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 0x41b569
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.0041c4d0
push 0x60622c
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x78], 4
call fcn.00404db0
add esp, 0x18
lea ecx, [ebp + 0x3c]
push eax
mov byte [esp + 0x64], 5
call fcn.00404f90
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 0x41b5c8
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 0x41b5ed
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.00422af0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 6
call fcn.00404f90
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 0x41b630
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.0041c4d0
push 0x60622c
push eax
lea ecx, [esp + 0x3c]
mov bl, 7
push ecx
mov byte [esp + 0x78], bl
call fcn.00404db0
add esp, 0x18
lea ecx, [ebp + 0x40]
push eax
mov byte [esp + 0x64], 8
call fcn.00404f90
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 0x41b68f
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 0x41b6b4
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.004dc663
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 0x41b6e7
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 0x41b70f
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.004d633a