Function at 0x415870
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov dword [ebp - 0x20], 0x9c44
mov dword [ebp - 0x60], 0x148b3
mov dword [ebp - 0x78], 0xc797
mov dword [ebp - 4], 0x11e5d
mov dword [ebp - 0x40], 0x3fc4
mov dword [ebp - 0x44], 0x14733
mov dword [ebp - 0x1c], 0x1868e
mov dword [ebp - 0x10], 0xdaab
mov dword [ebp - 0x6c], 0x139e2
mov dword [ebp - 0x3c], 0x6bb1
mov dword [ebp - 0x7c], 0x178d1
mov dword [ebp - 0x80], 0x10a9
mov dword [ebp - 0x18], 0x12f89
mov dword [ebp - 0x2c], 0x5b6f
mov dword [ebp - 0x38], 0x752d
mov dword [ebp - 0x5c], 0x1229c
mov dword [ebp - 0x68], 0x25d7
mov dword [ebp - 0x70], 0x17173
mov dword [ebp - 0x74], 0xda6b
mov dword [ebp - 0x48], 0x177f1
mov dword [ebp - 0x58], 0x178b8
mov dword [ebp - 8], 0x14672
mov dword [ebp - 0x64], 0x3538
mov dword [ebp - 0x34], 0x1045e
mov dword [ebp - 0xc], 0x555b
mov eax, dword [ebp - 0x58]
sub eax, 0x529b
push eax
call fcn.00406940
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x41594b
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x38]
sub edx, 0x752c
cmp dword [ebp - 0x14], edx
jge 0x415964
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
jmp 0x415942
mov ecx, dword [ebp + 0x18]
sub ecx, 0xe795
push ecx
mov edx, dword [ebp + 0x20]
add edx, 0x70bb
push edx
mov eax, dword [ebp - 0xc]
add eax, 0x2299
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x60c7
push ecx
mov edx, dword [ebp - 0x60]
sub edx, 0x13ebd
push edx
mov eax, dword [ebp + 0x1c]
sub eax, 0x5ef0
push eax
mov ecx, dword [ebp - 0x2c]
sub ecx, 0x869
push ecx
call fcn.00416330
add esp, 0x1c
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x44]
jge 0x4159c1
mov dword [ebp - 0x28], 1
jmp 0x4159c8
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
xor ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x28]
je 0x415b9d
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x3c]
jne 0x415b9d
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 4]
jne 0x415b9d
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [ebp + 0x14]
jge 0x415a09
mov dword [ebp - 0x30], 1
jmp 0x415a10
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x2c]
xor edx, dword [ebp - 0x30]
je 0x415b76
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x48]
jne 0x415b76
mov ecx, dword [ebp + 0x20]
cmp ecx, dword [ebp + 0x24]
jne 0x415b76
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jne 0x415b76
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x3c]
jne 0x415b76
mov ecx, dword [ebp + 0x1c]
cmp ecx, dword [ebp - 8]
jne 0x415b76
push 0x91c8
push 0x4888
push 0x27c7
push 0x5e38
push 0x5b6d
push 0x11130
push 0x1005e
push 0x16c91
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
add esp, 0x20
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp - 0x64]
jge 0x415b76
mov eax, dword [ebp + 0x2c]
cmp eax, dword [ebp + 8]
jne 0x415b76
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x40]
jne 0x415b76
mov edx, dword [ebp + 0x28]
cmp edx, dword [ebp + 8]
jne 0x415b76
mov eax, dword [ebp - 0x44]
cmp eax, dword [ebp - 0x48]
jge 0x415aca
mov dword [ebp - 0x4c], 1
jmp 0x415ad1
mov dword [ebp - 0x4c], 0
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x10]
jge 0x415aeb
mov dword [ebp - 0x50], 1
jmp 0x415af2
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x6c]
jge 0x415b06
mov dword [ebp - 0x54], 1
jmp 0x415b0d
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x4c]
and ecx, dword [ebp - 0x50]
and ecx, dword [ebp - 0x54]
je 0x415b76
mov edx, dword [ebp + 0x1c]
cmp edx, dword [ebp - 0x1c]
jne 0x415b76
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x10]
jne 0x415b76
mov ecx, dword [ebp + 0x18]
cmp ecx, dword [ebp - 0x10]
jne 0x415b76
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x70]
jne 0x415b76
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x74]
jne 0x415b76
push 0x815d
push 0x3fdd
push 0xa73e
push 0x1227a
push 0x8ff4
push 0x8bfa
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
add esp, 0x18
mov ecx, dword [ebp - 0x20]
sub ecx, 1
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_ZombifyActCtx]
push 0x7011
push 0xaca1
push 0x1329d
push 0x1018c
push 0x2e68
push 0x68bb
call dword [sym.imp.KERNEL32.dll_GetNamedPipeHandleStateW]
add esp, 0x18
mov dword [ebp - 0x24], 0
jmp 0x415baf
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x10]
sub eax, 0xdaaa
cmp dword [ebp - 0x24], eax
jge 0x415bc7
mov ecx, dword [ebp + 0x24]
add ecx, 1
mov dword [ebp + 0x24], ecx
jmp 0x415ba6
mov esp, ebp
pop ebp
ret