Function at 0x4117b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x462698
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x47dac0]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47dac0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx - 0xc]
cmp eax, 3
jge 0x4117fe
lea eax, [ecx - 0x10]
jmp 0x4119e3
lea ecx, [esp + 0x40]
push ecx
call fcn.004040a0
mov ebx, dword [esp + 0x40]
mov eax, dword [ebx - 0xc]
test eax, eax
jl 0x41184b
push 0x46cc60
push ebx
call fcn.00448cc3
add esp, 8
test eax, eax
je 0x41184b
sub eax, ebx
sar eax, 1
cmp eax, 0xffffffff
je 0x41184b
lea eax, [ebx - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4119f8
mov eax, dword [ebx - 0xc]
test eax, eax
jge 0x41185c
push 0x80070057
call fcn.00401820
cmp eax, 1
movzx ecx, word [ebx]
jge 0x41186e
push 0x80070057
call fcn.00401820
cmp eax, 2
movzx edi, word [ebx + 2]
jge 0x411881
push 0x80070057
call fcn.00401820
movzx esi, word [ebx + 4]
movzx ecx, cx
push ecx
call fcn.00449992
add esp, 4
test eax, eax
je 0x4119e0
cmp di, 0x3a
jne 0x4119e0
cmp si, 0x5c
jne 0x4119e0
cmp dword [ebx - 0xc], 3
lea ecx, [esp + 0x40]
jne 0x4118c6
call fcn.00401a40
mov eax, 3
jmp 0x411a09
push 3
lea edx, [esp + 0x18]
push edx
call fcn.00403450
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x411903
lea ecx, [esp + 0x14]
call fcn.00401a40
lea ecx, [esp + 0x40]
call fcn.00401a40
mov eax, 2
jmp 0x411a09
push 3
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x48]
call fcn.00403420
mov byte [esp + 0x38], 2
mov edx, dword [str.:____]
mov eax, dword [0x46cc6c]
mov edi, dword [esp + 0x18]
mov ebp, dword [edi - 0xc]
mov ecx, dword [0x46cc70]
mov dword [esp + 0x1c], edx
mov edx, dword [0x46cc74]
mov dword [esp + 0x20], eax
xor eax, eax
test ebp, ebp
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
je 0x41197b
xor ecx, ecx
test eax, eax
jl 0x411852
cmp eax, ebp
jg 0x411852
movzx edx, word [edi + eax*2]
movzx esi, word [esp + ecx*2 + 0x1c]
cmp dx, si
je 0x41199a
add ecx, 1
cmp ecx, 8
jne 0x41194e
add eax, 1
cmp eax, ebp
jne 0x41194c
lea ecx, [esp + 0x18]
call fcn.00401a40
lea ecx, [esp + 0x14]
call fcn.00401a40
lea ecx, [esp + 0x40]
call fcn.00401a40
xor eax, eax
jmp 0x411a09
lea eax, [edi - 0x10]
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4119e0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.00448969
add esp, 0x28
ret 4