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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bec04
mov eax, dword fs:[0]
push eax
sub esp, 0x4a8
mov eax, dword [0x4fe280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x478], esi
mov edi, ecx
mov dword [ebp - 0x480], edi
mov dword [ebp - 0x468], edi
mov dword [ebp - 0x49c], edi
mov ecx, 0x5030e3
mov dword [ebp - 0x47c], 0
call fcn.004b99c5
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
mov dword [ebp - 0x46c], eax
mov dword [ebp - 4], 1
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
mov dword [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
mov word [ebp - 0x440], ax
mov dword [ebp - 4], 5
test esi, esi
jne 0x414797
lea eax, [ebp - 0x440]
mov ecx, edi
push eax
call fcn.00409b80
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 6
lea ecx, [ebp - 0x440]
call fcn.004048c0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
jmp 0x414da5
push str.Kernel32.dll
lea ecx, [ebp - 0x4b4]
call fcn.00404530
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x4b4]
push eax
call fcn.004305e0
mov ecx, eax
call fcn.004306d0
mov esi, eax
mov dword [ebp - 0x468], esi
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x4b4]
call fcn.004048c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x4b4]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x498]
push str.Psapi.dll
call fcn.00404530
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x498]
push eax
call fcn.004305e0
mov ecx, eax
call fcn.004306d0
mov dword [ebp - 0x474], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x498]
call fcn.004048c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x498]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x474], 0
je 0x414d68
test esi, esi
je 0x414d68
lea ecx, [ebp - 0x130]
call fcn.00411940
cmp dword [ebp - 0x12c], 6
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x41490d
push str.QueryFullProcessImageNameW
push esi
call eax
mov esi, eax
test esi, esi
je 0x414908
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0044ba00
add esp, 0xc
mov dword [ebp - 0x428], 0x208
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push dword [ebp - 0x478]
call esi
test eax, eax
je 0x414908
mov eax, dword [ebp - 0x428]
cmp eax, 0x208
jae 0x4148dd
add eax, eax
cmp eax, 0x412
jae 0x414dc9
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4148e6
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404990
mov eax, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [ebp - 0x430], 0
jne 0x414cb4
push 0x4df818
push dword [ebp - 0x474]
call eax
mov esi, eax
test esi, esi
jne 0x414944
push 0x4df818
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4149c2
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0044ba00
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push eax
push dword [ebp - 0x478]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x4149c2
add eax, eax
cmp eax, 0x412
jae 0x414dc9
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4149a0
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404990
cmp dword [ebp - 0x430], 0
je 0x414c0d
push 0x410
call fcn.004497e2
push 0x410
push 0
push eax
mov dword [ebp - 0x428], eax
call fcn.0044ba00
xorps xmm0, xmm0
mov dword [ebp - 0x444], 0
movq qword [ebp - 0x44c], xmm0
add esp, 0x10
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x44c]
call fcn.0042c020
mov esi, dword [ebp - 0x44c]
xor ecx, ecx
mov dword [ebp - 0x470], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x448]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x414be3
xor edi, edi
mov dword [ebp - 0x46c], edi
add edi, esi
cmp dword [edi + 0x10], 3
jb 0x414a8d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x414a78
mov eax, dword [edi]
cmp word [eax + 4], 0x5c
jne 0x414a8d
push 2
mov ecx, edi
call fcn.0040a0c0
xor ecx, ecx
mov word [eax], cx
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x414a97
mov eax, dword [edi]
mov esi, dword [ebp - 0x428]
push 0x208
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x414ab1
mov word [esi], ax
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x414ab4
sub esi, ecx
sar esi, 1
je 0x414af5
cmp esi, dword [ebp - 0x430]
jae 0x414af5
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
push esi
cmovae eax, dword [ebp - 0x440]
push dword [ebp - 0x428]
push eax
call fcn.00467a9c
add esp, 0xc
test eax, eax
je 0x414b3a
mov ecx, dword [ebp - 0x448]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x44c]
sub ecx, esi
mov edi, dword [ebp - 0x46c]
inc dword [ebp - 0x470]
add edi, 0x18
imul ecx
mov dword [ebp - 0x46c], edi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x470], eax
jb 0x414a66
jmp 0x414bdd
lea ecx, [ebp - 0x464]
call fcn.004045e0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
cmovae eax, dword [ebp - 0x440]
cmp dword [edi + 0x14], 8
jb 0x414b65
mov edi, dword [edi]
lea eax, [eax + esi*2]
push eax
push edi
lea eax, [ebp - 0x464]
push str._s_s
push eax
call fcn.00412670
movups xmm0, xmmword [ebp - 0x464]
add esp, 0x10
movups xmm1, xmmword [ebp - 0x440]
movq xmm2, qword [ebp - 0x430]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [ebp - 0x454]
movq qword [ebp - 0x430], xmm0
movups xmmword [ebp - 0x464], xmm1
movq qword [ebp - 0x454], xmm2
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x464]
call fcn.004048c0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x464]
mov dword [ebp - 0x46c], eax
mov byte [ebp - 4], 0x18
mov edi, dword [ebp - 0x480]
push dword [ebp - 0x428]
call fcn.004494c5
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x44c]
call fcn.0040a940
cmp dword [ebp - 0x430], 0
jne 0x414cb4
push str.GetModuleFileNameExW
push dword [ebp - 0x474]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x414c3b
push str.GetModuleFileNameExW
push dword [ebp - 0x468]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x414cb4
push 0x412
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.0044ba00
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x208
push eax
push 0
push dword [ebp - 0x478]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x414cb4
add eax, eax
cmp eax, 0x412
jae 0x414dc9
xor ecx, ecx
mov word [ebp + eax - 0x424], cx
lea ecx, [ebp - 0x424]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414c92
sub ecx, edx
lea eax, [ebp - 0x424]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00404990
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x498]
call fcn.004203a0
mov esi, eax
mov byte [ebp - 4], 0x22
lea eax, [ebp - 0x440]
cmp eax, esi
je 0x414d06
mov ecx, eax
call fcn.004048c0
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x498]
call fcn.004048c0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x498]
mov dword [ebp - 0x468], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x440]
push eax
mov ecx, edi
call fcn.00409b80
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0x27
lea ecx, [ebp - 0x440]
call fcn.004048c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
jmp 0x414da5
lea eax, [ebp - 0x440]
mov ecx, edi
push eax
call fcn.00409b80
mov dword [ebp - 0x47c], 1
mov dword [ebp - 4], 0x14
lea ecx, [ebp - 0x440]
call fcn.004048c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x440]
mov dword [ebp - 0x468], eax
mov dword [ebp - 4], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00448da0
mov esp, ebp
pop ebp
ret
call fcn.004495f4
int3