Function at 0x5753a0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x270
mov dword [esp + 0x18], edx
mov dword [esp + 0xc], ecx
mov eax, dword [0x5f3418]
xor eax, ebp
mov dword [esp + 0x268], eax
mov eax, dword [0x6bfd6c]
mov ecx, dword [0x5f75b4]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x575734
mov ecx, dword [0x6bfd68]
cmp dword [ecx + 8], 0
je 0x57557c
mov eax, dword [ecx]
mov dword [esp + 0x3c], eax
add ecx, 4
cmp eax, ecx
je 0x575562
xor edx, edx
dec edx
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
mov dword [esp + 0x1c], ecx
add eax, 0x10
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], edx
movdqa xmmword [esp + 0x50], xmm0
mov ecx, esi
push eax
call fcn.0056b370
movzx edx, byte [esp + 0x5b]
test dl, dl
mov dword [esp + 0x20], edx
jns 0x57544a
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
jmp 0x575451
and edx, 0x7f
mov dword [esp + 8], esi
mov ecx, dword [esp + 0xc]
movzx eax, byte [ecx + 0xb]
mov dword [esp + 0x10], ecx
test al, al
jns 0x57546b
mov ecx, dword [esp + 0xc]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
test edx, edx
je 0x575671
test al, al
jns 0x575480
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 4]
jmp 0x575483
and eax, 0x7f
cmp eax, edx
jl 0x575511
mov edi, dword [esp + 0x10]
lea ecx, [edi + eax*2]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 8]
movzx esi, word [ecx]
lea ecx, [edi + eax*2]
add ecx, 0xfffffffe
mov dword [esp + 0x28], ecx
mov word [esp + 0x16], si
mov ebx, eax
sub ebx, edx
inc ebx
je 0x575511
mov ecx, dword [esp + 0x28]
sub ecx, edi
inc eax
mov ebx, eax
mov eax, ecx
cmp word [edi], si
je 0x5754d0
add edi, 2
add eax, 0xfffffffe
dec ebx
cmp edx, ebx
jne 0x5754be
jmp 0x575511
test edi, edi
je 0x575511
xor ebx, ebx
mov esi, edx
movzx ecx, word [edi + ebx*2]
mov edx, dword [esp + 8]
cmp cx, word [edx + ebx*2]
jne 0x5754ef
inc ebx
mov edx, esi
cmp esi, ebx
jne 0x5754d6
jmp 0x575501
add edi, 2
sar eax, 1
mov edx, esi
cmp eax, esi
movzx esi, word [esp + 0x16]
jge 0x5754ac
jmp 0x575511
cmp edi, dword [esp + 0x24]
je 0x575511
cmp edi, dword [esp + 0x10]
je 0x575671
cmp byte [esp + 0x67], 0
mov eax, dword [esp + 0x20]
jns 0x57552c
push dword [esp + 0x5c]
call fcn.0050fc7c
add esp, 4
mov al, byte [esp + 0x5b]
test al, al
lea esi, [esp + 0x50]
jns 0x575540
push dword [esp + 0x50]
call fcn.0050fc7c
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.00551a10
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
mov edx, 0xffffffff
pcmpeqd xmm0, xmm0
jne 0x575416
xor ebx, ebx
mov ecx, dword [esp + 0x268]
xor ecx, ebp
call fcn.00512ee3
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xfffffff8
lea esi, [esp + 0x50]
lea ebx, [esp + 0x44]
push 0x20a
push 0
push esi
call fcn.005191b0
add esp, 0xc
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x4c], 0x1ffffff
lea eax, [edi + 0x69]
mov word [esp + 0x44], ax
mov word [esp + 0x46], 0
mov ecx, ebx
push 0x5df308
call fcn.0040d000
cmp byte [esp + 0x4f], 0
mov eax, ebx
jns 0x5755d1
mov eax, dword [esp + 0x44]
push 0x104
push esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
jne 0x5755fa
cmp byte [esp + 0x4f], 0
jns 0x5755f5
push dword [esp + 0x44]
call fcn.0050fc7c
add esp, 4
inc edi
jne 0x575589
jmp 0x575666
mov edx, dword [0x6bfd68]
mov dword [esp + 0x2c], esi
cmp byte [esp + 0x4f], 0
jns 0x575626
lea ecx, [esp + 0x30]
push dword [esp + 0x48]
push dword [esp + 0x48]
mov dword [esp + 0x10], edx
call fcn.0040ccc0
mov edx, dword [esp + 8]
jmp 0x57563b
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x30]
mov dword [ecx + 8], eax
movq xmm0, qword [esp + 0x44]
movq qword [ecx], xmm0
mov ecx, edx
lea edx, [esp + 0x3c]
lea eax, [esp + 0x2c]
push eax
call fcn.00576330
add esp, 4
cmp byte [esp + 0x3b], 0
jns 0x5755e2
push dword [esp + 0x30]
call fcn.0050fc7c
add esp, 4
jmp 0x5755e2
mov ecx, dword [0x6bfd68]
jmp 0x5753f6
mov esi, dword [esp + 0xc]
lea eax, [esi + 0xc]
lea ebx, [esp + 0x2c]
mov ecx, ebx
push eax
push 0xffffffffffffffff
push edx
push esi
call fcn.0040e560
movzx eax, byte [esp + 0x67]
test al, al
jns 0x57569b
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
jmp 0x5756a2
and eax, 0x7f
lea edx, [esp + 0x5c]
xor edi, edi
mov ecx, ebx
push eax
push edx
push edi
call fcn.0040f420
mov esi, dword [eax]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 7]
mov dword [esp + 0x47], edx
mov dword [esp + 0x44], ecx
mov bl, byte [eax + 0xb]
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov edx, dword [esp + 0x18]
cmp byte [edx + 0xb], 0
jns 0x5756e1
push dword [edx]
call fcn.0050fc7c
mov edx, dword [esp + 0x1c]
add esp, 4
mov dword [edx], esi
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x47]
mov dword [edx + 4], eax
mov dword [edx + 7], ecx
mov byte [edx + 0xb], bl
cmp byte [esp + 0x37], 0
jns 0x575707
push dword [esp + 0x2c]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x67], 0
jns 0x57571a
push dword [esp + 0x5c]
call fcn.0050fc7c
add esp, 4
cmp byte [esp + 0x5b], 0
jns 0x57572d
push dword [esp + 0x50]
call fcn.0050fc7c
add esp, 4
mov bl, 1
jmp 0x575564
push 0x6bfd6c
call fcn.00510c6d
add esp, 4
cmp dword [0x6bfd6c], 0xffffffff
jne 0x5753e6
push 0xc
call fcn.00510d64
add esp, 4
lea ecx, [eax + 4]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax], ecx
mov dword [0x6bfd68], eax
push 0x6bfd6c
call fcn.00510d9d
add esp, 4
jmp 0x5753e6