Function at 0x40a850
Capabilities:
Get disk information
Link many functions at runtime
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x426580
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x433178]
xor eax, esp
mov dword [esp + 0x5c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x433178]
xor eax, esp
push eax
lea eax, [esp + 0x5d8]
mov dword fs:[0], eax
mov eax, edx
mov dword [esp + 0x18], eax
mov edi, ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0
xor ecx, ecx
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x24], edi
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], 0
mov word [esp + 0x5c], cx
mov dword [esp + 0x5e0], 1
test eax, eax
jne 0x40a8ea
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00402d90
jmp 0x40af03
push 0xc
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
push str.Kernel32.dll
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00403030
mov byte [esp + 0x5e0], 2
mov eax, dword [0x435cfc]
test al, 1
jne 0x40a966
or eax, 1
mov dword [0x435cfc], eax
mov byte [esp + 0x5e0], 3
mov dword [0x435cf8], 0
call fcn.00407850
push 0x427750
call fcn.00416aff
add esp, 4
mov byte [esp + 0x5e0], 2
lea eax, [esp + 0x28]
mov ecx, 0x435cf8
push eax
call fcn.00407a10
mov ebp, eax
mov dword [esp + 0x40], ebp
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x3c], 8
jb 0x40a996
push dword [esp + 0x28]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x3c], 7
push 9
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x5c], eax
push str.Psapi.dll
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
mov dword [esp + 0x60], 7
mov dword [esp + 0x5c], eax
mov word [esp + 0x4c], ax
call fcn.00403030
mov byte [esp + 0x5e0], 4
mov eax, dword [0x435cfc]
test al, 1
jne 0x40aa1b
or eax, 1
mov dword [0x435cfc], eax
mov byte [esp + 0x5e0], 5
mov dword [0x435cf8], 0
call fcn.00407850
push 0x427750
call fcn.00416aff
add esp, 4
mov byte [esp + 0x5e0], 4
lea eax, [esp + 0x44]
mov ecx, 0x435cf8
push eax
call fcn.00407a10
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x58], 8
jb 0x40aa4b
push dword [esp + 0x44]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], 0
mov word [esp + 0x44], ax
test esi, esi
je 0x40aef7
test ebp, ebp
je 0x40aef7
lea ecx, [esp + 0x9c]
call fcn.0040c4b0
cmp dword [esp + 0xa0], 6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x40ab18
push str.QueryFullProcessImageNameW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40ab14
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.00418720
add esp, 0xc
mov dword [esp + 0x74], 0x208
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x1c0]
push eax
push 0
push dword [esp + 0x24]
call esi
test eax, eax
je 0x40ab14
mov eax, dword [esp + 0x74]
cmp eax, 0x208
jae 0x40ab03
add eax, eax
cmp eax, 0x412
jae 0x40ac52
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00402e70
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x6c], 0
jne 0x40ae60
push str.GetProcessImageFileNameW
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x40ab3f
push str.GetProcessImageFileNameW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40aba5
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.00418720
add esp, 0xc
lea eax, [esp + 0x1bc]
push 0x208
push eax
push dword [esp + 0x20]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x40aba5
add eax, eax
cmp eax, 0x412
jae 0x40ac52
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00402e70
cmp dword [esp + 0x6c], 0
je 0x40add9
push 0x410
call fcn.00416376
add esp, 4
mov ebx, eax
push 0x410
push 0
push ebx
call fcn.00418720
xorps xmm0, xmm0
mov dword [esp + 0x8c], 0
movq qword [esp + 0x84], xmm0
add esp, 0xc
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov byte [esp + 0x5e0], 6
lea ecx, [esp + 0x78]
call fcn.00412b70
mov ecx, dword [esp + 0x7c]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x78]
xor ebp, ebp
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x74], eax
je 0x40ad78
mov edi, esi
jmp 0x40ac40
cmp dword [edi + 0x10], 3
jb 0x40ac71
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x40ac57
mov eax, dword [edi]
jmp 0x40ac59
call fcn.00417410
mov eax, edi
cmp word [eax + 4], 0x5c
jne 0x40ac71
cmp ecx, 8
jb 0x40ac69
mov eax, dword [edi]
jmp 0x40ac6b
mov eax, edi
xor ecx, ecx
mov word [eax + 4], cx
cmp dword [edi + 0x14], 8
jb 0x40ac7b
mov eax, dword [edi]
jmp 0x40ac7d
mov eax, edi
push 0x208
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x40ac91
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x40ac96
sub esi, ecx
sar esi, 1
je 0x40acca
cmp esi, dword [esp + 0x6c]
jae 0x40acca
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push esi
cmovae eax, dword [esp + 0x60]
push ebx
push eax
call fcn.004175d1
add esp, 0xc
test eax, eax
je 0x40acdd
inc ebp
add edi, 0x18
cmp ebp, dword [esp + 0x74]
jb 0x40ac40
jmp 0x40ad70
xor eax, eax
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
mov byte [esp + 0x5e0], 7
lea eax, [esp + 0x5c]
cmp dword [esp + 0x70], 8
cmovae eax, dword [esp + 0x5c]
cmp dword [edi + 0x14], 8
jb 0x40ad31
mov edi, dword [edi]
lea eax, [eax + esi*2]
push eax
push edi
lea eax, [esp + 0x8c]
push str._s_s
push eax
call fcn.00403c90
add esp, 0x10
lea eax, [esp + 0x84]
lea ecx, [esp + 0x5c]
push eax
call fcn.0040b010
mov byte [esp + 0x5e0], 6
lea ecx, [esp + 0x84]
call fcn.00402e40
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
push ebx
call fcn.004171e3
add esp, 4
mov byte [esp + 0x5e0], 1
test esi, esi
je 0x40adc4
push dword [esp + 0x24]
mov edx, dword [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00406600
push esi
call fcn.00416b36
add esp, 0xc
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x40ae60
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [esp + 0x40]
push str.GetModuleFileNameExW
push dword [esp + 0x18]
call ebx
mov esi, eax
test esi, esi
jne 0x40adf8
push str.GetModuleFileNameExW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x40ae60
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.00418720
add esp, 0xc
lea eax, [esp + 0x1bc]
push 0x208
push eax
push 0
push dword [esp + 0x24]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x40ae60
add eax, eax
cmp eax, 0x412
jae 0x40ac52
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00402e70
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x84]
call fcn.00408480
mov esi, eax
mov byte [esp + 0x5e0], 8
lea eax, [esp + 0x5c]
cmp eax, esi
je 0x40aeb6
cmp dword [esp + 0x70], 8
jb 0x40ae95
push dword [esp + 0x5c]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
push esi
lea ecx, [esp + 0x60]
mov dword [esp + 0x70], 0
mov word [esp + 0x60], ax
call fcn.00402ef0
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x98], 8
jb 0x40aed7
push dword [esp + 0x84]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x98], 7
mov dword [esp + 0x94], 0
mov word [esp + 0x84], ax
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00402d90
mov dword [esp + 0x1c], 1
mov byte [esp + 0x5e0], 0
cmp dword [esp + 0x70], 8
jb 0x40af26
push dword [esp + 0x5c]
call fcn.00416b36
add esp, 4
xor eax, eax
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], eax
mov word [esp + 0x5c], ax
mov eax, edi
mov ecx, dword [esp + 0x5d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c0]
xor ecx, esp
call fcn.0041637f
add esp, 0x5d0
ret