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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c88b4
mov eax, dword fs:[0]
push eax
sub esp, 0x4ac
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x46c], esi
mov ebx, ecx
mov dword [ebp - 0x47c], ebx
mov dword [ebp - 0x474], ebx
mov dword [ebp - 0x484], ebx
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x470], 0
call fcn.10004950
mov dword [ebp - 4], 1
test esi, esi
jne 0x1001d6cd
lea eax, [ebp - 0x450]
mov ecx, ebx
push eax
call fcn.10005830
jmp 0x1001db97
push str.Kernel32.dll
lea ecx, [ebp - 0x4b4]
call fcn.10004900
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4b4]
push eax
call fcn.1001ad80
mov ecx, eax
call fcn.1001ae40
mov esi, eax
mov dword [ebp - 0x474], esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4b4]
call fcn.100048a0
push str.Psapi.dll
lea ecx, [ebp - 0x49c]
call fcn.10004900
mov byte [ebp - 4], 3
lea eax, [ebp - 0x49c]
push eax
call fcn.1001ad80
mov ecx, eax
call fcn.1001ae40
mov edi, eax
mov dword [ebp - 0x480], edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x49c]
call fcn.100048a0
test edi, edi
je 0x1001db89
test esi, esi
je 0x1001db89
lea eax, [ebp - 0x138]
push eax
call fcn.1001c860
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
add esp, 4
cmp dword [ebp - 0x134], 6
jb 0x1001d80f
push str.QueryFullProcessImageNameW
push esi
call edi
mov esi, eax
test esi, esi
je 0x1001d80f
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10096b80
add esp, 0xc
mov dword [ebp - 0x42c], 0x208
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x428]
push eax
push 0
push dword [ebp - 0x46c]
call esi
test eax, eax
je 0x1001d80f
mov eax, dword [ebp - 0x42c]
cmp eax, 0x208
jae 0x1001d7ed
add eax, eax
cmp eax, 0x412
jae 0x1001dbce
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x450]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004af0
lea ecx, [ebp - 0x450]
call fcn.10004890
test al, al
je 0x1001dab0
push 0x100edef8
push dword [ebp - 0x480]
call edi
mov esi, eax
test esi, esi
jne 0x1001d848
push 0x100edef8
push dword [ebp - 0x474]
call edi
mov esi, eax
test esi, esi
je 0x1001d8b6
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x1001d8b6
add eax, eax
cmp eax, 0x412
jae 0x1001dbce
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x450]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004af0
lea ecx, [ebp - 0x450]
call fcn.10004890
test al, al
jne 0x1001dab0
push 0x410
call fcn.10094456
add esp, 4
mov edi, eax
push 0x410
push 0
push edi
call fcn.10096b80
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
movq qword [ebp - 0x438], xmm0
add esp, 0xc
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x438]
call fcn.100207a0
mov esi, dword [ebp - 0x438]
xor ecx, ecx
mov dword [ebp - 0x42c], ecx
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x434]
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1001da92
xor ebx, ebx
mov dword [ebp - 0x478], ebx
nop
add ebx, esi
mov ecx, ebx
call fcn.10004ae0
cmp eax, 3
jb 0x1001d995
mov ecx, ebx
call fcn.10004ad0
mov ecx, eax
mov edx, dword [eax + 0x14]
cmp edx, 8
jb 0x1001d981
mov ecx, dword [eax]
cmp word [ecx + 4], 0x5c
jne 0x1001d995
cmp edx, 8
jb 0x1001d98f
mov eax, dword [eax]
xor ecx, ecx
mov word [eax + 4], cx
push 0x208
push edi
mov ecx, ebx
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x1001d9b0
mov word [edi], ax
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1001d9b5
sub esi, ecx
sar esi, 1
je 0x1001d9ef
lea ecx, [ebp - 0x450]
call fcn.10004ae0
cmp esi, eax
jae 0x1001d9ef
push esi
push edi
lea ecx, [ebp - 0x450]
call fcn.10004ac0
push eax
call fcn.1009e0ef
add esp, 0xc
test eax, eax
je 0x1001da31
mov ecx, dword [ebp - 0x434]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x438]
sub ecx, esi
mov ebx, dword [ebp - 0x478]
inc dword [ebp - 0x42c]
add ebx, 0x18
imul ecx
mov dword [ebp - 0x478], ebx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x42c], eax
jb 0x1001d960
jmp 0x1001da8c
lea ecx, [ebp - 0x468]
call fcn.10004950
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x450]
call fcn.10004ac0
mov ecx, ebx
lea eax, [eax + esi*2]
push eax
call fcn.10004ac0
push eax
lea eax, [ebp - 0x468]
push str._s_s
push eax
call fcn.1000d000
add esp, 0x10
lea eax, [ebp - 0x468]
lea ecx, [ebp - 0x450]
push eax
call fcn.10013cf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x468]
call fcn.100048a0
mov ebx, dword [ebp - 0x47c]
push edi
call fcn.10093f36
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x438]
call fcn.1000c0a0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x450]
call fcn.10004890
test al, al
je 0x1001db59
push str.GetModuleFileNameExW
push dword [ebp - 0x480]
call edi
mov esi, eax
test esi, esi
jne 0x1001dae9
push str.GetModuleFileNameExW
push dword [ebp - 0x474]
call edi
mov esi, eax
test esi, esi
je 0x1001db59
push 0x412
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.10096b80
add esp, 0xc
lea eax, [ebp - 0x428]
push 0x208
push eax
push 0
push dword [ebp - 0x46c]
call esi
lea ecx, [eax - 1]
cmp ecx, 0x206
ja 0x1001db59
add eax, eax
cmp eax, 0x412
jae 0x1001dbce
xor ecx, ecx
mov word [ebp + eax - 0x428], cx
lea eax, [ebp - 0x428]
push eax
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x450]
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.10004af0
lea edx, [ebp - 0x450]
lea ecx, [ebp - 0x49c]
call fcn.1001c200
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x450]
push eax
call fcn.1000b110
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x49c]
call fcn.100048a0
lea eax, [ebp - 0x450]
mov ecx, ebx
push eax
call fcn.10005830
mov dword [ebp - 0x470], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x450]
call fcn.100048a0
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 - 0x10]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret
call fcn.100948c8
int3