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

Disassembly:
push 0xffffffffffffffff
push 0x47d6b0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c4
mov eax, dword [0x49f750]
xor eax, esp
mov dword [esp + 0x5c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49f750]
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 0x41571a
lea eax, [esp + 0x5c]
mov ecx, edi
push eax
call fcn.00403240
jmp 0x415d33
push 0xc
xor eax, eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x2c]
push 0x48e178
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
call fcn.00403a40
mov byte [esp + 0x5e0], 2
mov eax, dword [0x4a2a18]
test al, 1
jne 0x415796
or eax, 1
mov dword [0x4a2a18], eax
mov byte [esp + 0x5e0], 3
mov dword [0x4a2a14], 0
call fcn.0041b500
push 0x4867a0
call fcn.00461b1f
add esp, 4
mov byte [esp + 0x5e0], 2
lea eax, [esp + 0x28]
mov ecx, 0x4a2a14
push eax
call fcn.0041b6c0
mov ebp, eax
mov dword [esp + 0x40], ebp
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x3c], 8
jb 0x4157c6
push dword [esp + 0x28]
call fcn.00461b75
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.00403a40
mov byte [esp + 0x5e0], 4
mov eax, dword [0x4a2a18]
test al, 1
jne 0x41584b
or eax, 1
mov dword [0x4a2a18], eax
mov byte [esp + 0x5e0], 5
mov dword [0x4a2a14], 0
call fcn.0041b500
push 0x4867a0
call fcn.00461b1f
add esp, 4
mov byte [esp + 0x5e0], 4
lea eax, [esp + 0x44]
mov ecx, 0x4a2a14
push eax
call fcn.0041b6c0
mov esi, eax
mov dword [esp + 0x14], esi
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x58], 8
jb 0x41587b
push dword [esp + 0x44]
call fcn.00461b75
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 0x415d27
test ebp, ebp
je 0x415d27
lea ecx, [esp + 0x9c]
call fcn.00427430
cmp dword [esp + 0xa0], 6
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jb 0x415948
push str.QueryFullProcessImageNameW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x415944
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.004653d0
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 0x415944
mov eax, dword [esp + 0x74]
cmp eax, 0x208
jae 0x415933
add eax, eax
cmp eax, 0x412
jae 0x415a82
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00403320
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x6c], 0
jne 0x415c90
push str.GetProcessImageFileNameW
push esi
call ebx
mov esi, eax
test esi, esi
jne 0x41596f
push str.GetProcessImageFileNameW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x4159d5
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.004653d0
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 0x4159d5
add eax, eax
cmp eax, 0x412
jae 0x415a82
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00403320
cmp dword [esp + 0x6c], 0
je 0x415c09
push 0x410
call fcn.0045d6c6
add esp, 4
mov ebx, eax
push 0x410
push 0
push ebx
call fcn.004653d0
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.004275b0
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 0x415ba8
mov edi, esi
jmp 0x415a70
cmp dword [edi + 0x10], 3
jb 0x415aa1
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x415a87
mov eax, dword [edi]
jmp 0x415a89
call fcn.004620fd
mov eax, edi
cmp word [eax + 4], 0x5c
jne 0x415aa1
cmp ecx, 8
jb 0x415a99
mov eax, dword [edi]
jmp 0x415a9b
mov eax, edi
xor ecx, ecx
mov word [eax + 4], cx
cmp dword [edi + 0x14], 8
jb 0x415aab
mov eax, dword [edi]
jmp 0x415aad
mov eax, edi
push 0x208
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x415ac1
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x415ac6
sub esi, ecx
sar esi, 1
je 0x415afa
cmp esi, dword [esp + 0x6c]
jae 0x415afa
cmp dword [esp + 0x70], 8
lea eax, [esp + 0x5c]
push esi
cmovae eax, dword [esp + 0x60]
push ebx
push eax
call fcn.00462ea5
add esp, 0xc
test eax, eax
je 0x415b0d
inc ebp
add edi, 0x18
cmp ebp, dword [esp + 0x74]
jb 0x415a70
jmp 0x415ba0
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 0x415b61
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.004116b0
add esp, 0x10
lea eax, [esp + 0x84]
lea ecx, [esp + 0x5c]
push eax
call fcn.00415da0
mov byte [esp + 0x5e0], 6
lea ecx, [esp + 0x84]
call fcn.004032f0
mov esi, dword [esp + 0x78]
mov edi, dword [esp + 0x20]
push ebx
call fcn.0046222c
add esp, 4
mov byte [esp + 0x5e0], 1
test esi, esi
je 0x415bf4
push dword [esp + 0x24]
mov edx, dword [esp + 0x80]
push ecx
mov ecx, esi
call fcn.00408c40
push esi
call fcn.00461b75
add esp, 0xc
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
cmp dword [esp + 0x6c], 0
jne 0x415c90
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 0x415c28
push str.GetModuleFileNameExW
push ebp
call ebx
mov esi, eax
test esi, esi
je 0x415c90
xor eax, eax
push 0x410
push eax
mov word [esp + 0x1c4], ax
lea eax, [esp + 0x1c6]
push eax
call fcn.004653d0
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 0x415c90
add eax, eax
cmp eax, 0x412
jae 0x415a82
xor ecx, ecx
mov word [esp + eax + 0x1bc], cx
lea eax, [esp + 0x1bc]
push eax
lea ecx, [esp + 0x60]
call fcn.00403320
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x84]
call fcn.00409c60
mov esi, eax
mov byte [esp + 0x5e0], 8
lea eax, [esp + 0x5c]
cmp eax, esi
je 0x415ce6
cmp dword [esp + 0x70], 8
jb 0x415cc5
push dword [esp + 0x5c]
call fcn.00461b75
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.00403580
mov byte [esp + 0x5e0], 1
cmp dword [esp + 0x98], 8
jb 0x415d07
push dword [esp + 0x84]
call fcn.00461b75
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.00403240
mov dword [esp + 0x1c], 1
mov byte [esp + 0x5e0], 0
cmp dword [esp + 0x70], 8
jb 0x415d56
push dword [esp + 0x5c]
call fcn.00461b75
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.00461397
add esp, 0x5d0
ret