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

Disassembly:
push ebp
lea ebp, [esp - 0x458]
sub esp, 0x458
push 0xffffffffffffffff
push 0x4edd09
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x53b098]
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 - 0x10], esi
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
lea ecx, [ebp + 0x24]
mov dword [ebp - 0x14], 0
call fcn.00404d40
mov dword [ebp - 4], 1
test esi, esi
jne 0x41e2e3
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.00405a70
jmp 0x41e6b5
push str.Kernel32.dll
lea ecx, [ebp - 0x5c]
call fcn.00404d00
mov byte [ebp - 4], 2
lea eax, [ebp - 0x5c]
push eax
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov esi, eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x5c]
call fcn.004049a0
push str.Psapi.dll
lea ecx, [ebp - 0x44]
call fcn.00404d00
mov byte [ebp - 4], 3
lea eax, [ebp - 0x44]
push eax
call fcn.0040ee30
mov ecx, eax
call fcn.0040eef0
mov edi, eax
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004049a0
test edi, edi
je 0x41e6aa
test esi, esi
je 0x41e6aa
lea eax, [ebp + 0x334]
push eax
call fcn.004072e0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
cmp dword [ebp + 0x338], 6
jb 0x41e3e7
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x41e3e7
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.004c5c20
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 - 0x10]
call esi
test eax, eax
je 0x41e3e7
mov eax, dword [ebp + 0x3c]
cmp eax, 0x208
jae 0x41e3ce
add eax, eax
cmp eax, 0x412
jae 0x41e6ed
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.004051b0
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00405050
lea ecx, [ebp + 0x24]
call fcn.00404c10
test al, al
je 0x41e5ff
push str.GetProcessImageFileNameW
push dword [ebp - 0x1c]
call edi
mov esi, eax
test esi, esi
jne 0x41e417
push str.GetProcessImageFileNameW
push dword [ebp - 0x20]
call edi
mov esi, eax
test esi, esi
je 0x41e470
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push dword [ebp - 0x10]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x41e470
add eax, eax
cmp eax, 0x412
jae 0x41e6ed
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.004051b0
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00405050
lea ecx, [ebp + 0x24]
call fcn.00404c10
test al, al
jne 0x41e5ff
push 0x410
call fcn.004c3e0d
push 0x410
mov ebx, eax
push 0
push ebx
call fcn.004c5c20
add esp, 0x10
mov dword [ebp + 0x20], 0
xorps xmm0, xmm0
lea ecx, [ebp + 0x18]
movq qword [ebp + 0x18], xmm0
call fcn.00404b00
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x18]
call fcn.00424d20
lea ecx, [ebp + 0x18]
mov dword [ebp + 0x3c], 0
call fcn.00404a60
test eax, eax
je 0x41e5e7
lea ecx, [ebp + 0x18]
call fcn.00404e90
xor esi, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], esi
mov edi, dword [eax]
add edi, esi
mov ecx, edi
call fcn.00405040
cmp eax, 3
jb 0x41e51d
mov ecx, edi
call fcn.00404e90
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x41e509
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x41e51d
cmp edx, 8
jb 0x41e517
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push ebx
mov ecx, edi
call fcn.00404c20
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x41e538
mov word [ebx], ax
mov esi, ebx
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41e540
sub esi, ecx
sar esi, 1
je 0x41e574
lea ecx, [ebp + 0x24]
call fcn.00405040
cmp esi, eax
jae 0x41e574
push esi
push ebx
lea ecx, [ebp + 0x24]
call fcn.00404c20
push eax
call fcn.004cca6a
add esp, 0xc
test eax, eax
je 0x41e598
mov edi, dword [ebp + 0x3c]
lea ecx, [ebp + 0x18]
mov esi, dword [ebp - 0x18]
inc edi
add esi, 0x18
mov dword [ebp + 0x3c], edi
mov dword [ebp - 0x18], esi
call fcn.00404a60
cmp edi, eax
jae 0x41e5e1
mov eax, dword [ebp - 0x24]
jmp 0x41e4e6
lea ecx, [ebp]
call fcn.00404d40
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x24]
call fcn.00404c20
mov ecx, edi
lea eax, [eax + esi*2]
push eax
call fcn.00404c20
push eax
lea eax, [ebp]
push str._s_s
push eax
call fcn.00408200
add esp, 0x10
lea eax, [ebp]
lea ecx, [ebp + 0x24]
push eax
call fcn.004144c0
mov byte [ebp - 4], 4
lea ecx, [ebp]
call fcn.004049a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
call fcn.004c3c0d
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x18]
call fcn.00404b70
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp + 0x24]
call fcn.00404c10
test al, al
je 0x41e686
push str.GetModuleFileNameExW
push dword [ebp - 0x1c]
call edi
mov esi, eax
test esi, esi
jne 0x41e62b
push str.GetModuleFileNameExW
push dword [ebp - 0x20]
call edi
mov esi, eax
test esi, esi
je 0x41e686
push 0x412
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.004c5c20
add esp, 0xc
lea eax, [ebp + 0x40]
push 0x208
push eax
push 0
push dword [ebp - 0x10]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x41e686
add eax, eax
cmp eax, 0x412
jae 0x41e6ed
xor ecx, ecx
mov word [ebp + eax + 0x40], cx
lea eax, [ebp + 0x40]
push eax
call fcn.004051b0
add esp, 4
lea ecx, [ebp + 0x24]
push eax
lea eax, [ebp + 0x40]
push eax
call fcn.00405050
lea edx, [ebp + 0x24]
lea ecx, [ebp - 0x44]
call fcn.00415040
mov byte [ebp - 4], 6
lea ecx, [ebp + 0x24]
push eax
call fcn.00404cc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004049a0
lea eax, [ebp + 0x24]
mov ecx, ebx
push eax
call fcn.00405a70
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x24]
call fcn.004049a0
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.004c35a5
lea esp, [ebp + 0x458]
pop ebp
ret
call fcn.004c3d33
int3