Function at 0x410ab0
Capabilities:
Get disk information
Link many functions at runtime

Disassembly:
push ebp
lea ebp, [esp - 0x458]
sub esp, 0x458
push 0xffffffffffffffff
push 0x4b8d69
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4f5038]
xor eax, ebp
mov dword [ebp + 0x454], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], esi
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp + 0x24]
mov dword [ebp - 0x1c], 0
call fcn.004034e0
mov dword [ebp - 4], 1
test esi, esi
jne 0x410b4c
lea ecx, [ebp + 0x24]
call fcn.00403630
push eax
call fcn.00403cd0
add esp, 4
mov ecx, ebx
push eax
call fcn.00403ce0
mov byte [ebp - 0x14], 0
lea eax, [ebp + 0x24]
push dword [ebp - 0x14]
push eax
call fcn.00403cd0
add esp, 4
mov ecx, ebx
push eax
call fcn.00403980
jmp 0x410f45
push str.Kernel32.dll
lea ecx, [ebp - 0x5c]
call fcn.004034a0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
call fcn.0040a840
mov ecx, eax
call fcn.0040a900
mov esi, eax
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.00403400
push str.Psapi.dll
lea ecx, [ebp - 0x44]
call fcn.004034a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
call fcn.0040a840
mov ecx, eax
call fcn.0040a900
mov edi, eax
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00403400
test edi, edi
je 0x410f11
test esi, esi
je 0x410f11
lea eax, [ebp + 0x334]
push eax
call fcn.0040ff30
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
cmp dword [ebp + 0x338], 6
jb 0x410c50
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x410c50
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.00496a10
add esp, 0xc
mov dword [ebp + 0x3c], 0x208
lea eax, [ebp + 0x3c]
push eax
lea eax, [ebp + 0x40]
push eax
push 0
push dword [ebp - 0x18]
call esi
test eax, eax
je 0x410c50
mov eax, dword [ebp + 0x3c]
cmp eax, 0x208
jae 0x410c37
add eax, eax
cmp eax, 0x412
jae 0x410f7d
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.00403830
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004036d0
lea ecx, [ebp + 0x24]
call fcn.00403350
test al, al
je 0x410e66
push str.GetProcessImageFileNameW
push dword [ebp - 0x24]
call edi
mov esi, eax
test esi, esi
jne 0x410c80
push str.GetProcessImageFileNameW
push dword [ebp - 0x14]
call edi
mov esi, eax
test esi, esi
je 0x410cd9
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.00496a10
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push dword [ebp - 0x18]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x410cd9
add eax, eax
cmp eax, 0x412
jae 0x410f7d
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.00403830
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004036d0
lea ecx, [ebp + 0x24]
call fcn.00403350
test al, al
jne 0x410e66
push 0x410
call fcn.004946d9
push 0x410
mov ebx, eax
push 0
push ebx
call fcn.00496a10
add esp, 0x10
mov dword [ebp + 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp + 0x18]
movq qword [ebp + 0x18], xmm0
call fcn.00403270
mov byte [ebp - 4], 4
call fcn.00411540
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x3c], 0
call fcn.004031d0
test eax, eax
je 0x410e4e
call fcn.00403630
xor esi, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], esi
nop dword [eax]
mov edi, dword [eax]
add edi, esi
mov ecx, edi
call fcn.004036c0
cmp eax, 3
jb 0x410d87
mov ecx, edi
call fcn.00403630
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x410d73
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x410d87
cmp edx, 8
jb 0x410d81
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ebx
mov ecx, edi
call fcn.00403360
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x410da2
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x410da7
sub esi, ecx
sar esi, 1
je 0x410ddb
lea ecx, [ebp + 0x24]
call fcn.004036c0
cmp esi, eax
jae 0x410ddb
push esi
push ebx
lea ecx, [ebp + 0x24]
call fcn.00403360
push eax
call fcn.0049b11b
add esp, 0xc
test eax, eax
je 0x410dff
mov edi, dword [ebp + 0x3c]
lea ecx, [ebp + 0x18]
mov esi, dword [ebp - 0x20]
inc edi
add esi, 0x18
mov dword [ebp + 0x3c], edi
mov dword [ebp - 0x20], esi
call fcn.004031d0
cmp edi, eax
jae 0x410e48
mov eax, dword [ebp - 0x28]
jmp 0x410d50
lea ecx, [ebp]
call fcn.004034e0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x24]
call fcn.00403360
mov ecx, edi
lea eax, [eax + esi*2]
push eax
call fcn.00403360
push eax
lea eax, [ebp]
push str._s_s
push eax
call fcn.00404b90
add esp, 0x10
lea eax, [ebp]
lea ecx, [ebp + 0x24]
push eax
call fcn.0040b2e0
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.00403400
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call fcn.004944d9
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.004032c0
mov ebx, dword [ebp - 0x10]
lea ecx, [ebp + 0x24]
call fcn.00403350
test al, al
je 0x410eed
push str.GetModuleFileNameExW
push dword [ebp - 0x24]
call edi
mov esi, eax
test esi, esi
jne 0x410e92
push str.GetModuleFileNameExW
push dword [ebp - 0x14]
call edi
mov esi, eax
test esi, esi
je 0x410eed
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.00496a10
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push 0
push dword [ebp - 0x18]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x410eed
add eax, eax
cmp eax, 0x412
jae 0x410f7d
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.00403830
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.004036d0
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x44]
call fcn.0040be80
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x24]
push eax
call fcn.00403460
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00403400
lea ecx, [ebp + 0x24]
call fcn.00403630
push eax
call fcn.00403cd0
add esp, 4
mov ecx, ebx
push eax
call fcn.00403ce0
mov byte [ebp - 0x10], 0
lea eax, [ebp + 0x24]
push dword [ebp - 0x10]
push eax
call fcn.00403cd0
add esp, 4
mov ecx, ebx
push eax
call fcn.00403980
mov dword [ebp - 0x1c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.00403400
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x454]
xor ecx, ebp
call fcn.0049423f
lea esp, [ebp + 0x458]
pop ebp
ret
call fcn.004945ff
int3