Function at 0x100174ed
Capabilities:
Create pipe
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xf8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x44]
test eax, eax
je 0x10017662
lea eax, [ebp + 0x20]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xd4], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
movzx eax, byte [eax]
test eax, eax
je 0x10017609
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call fcn.1000bf79
mov dword [ebp - 0x4c], eax
lea ecx, [ebp - 0xf0]
call fcn.10006479
and dword [ebp - 4], 0
push 0x755a
push 0x50b7
push 0x1b4d
push 0x2f93
push 0x3994
push 1
push 1
push 0x762f
push dword [ebp - 0x2c]
push 1
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0xf0]
push eax
push 0x1f33
push 0x4204
push 0x72af
push 0x44bf
call fcn.10016ba3
add esp, 0x40
lea eax, [ebp - 0xf0]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.1001a169
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.100069fb
jmp 0x1001797b
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10017640
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 3
jge 0x1001765d
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x64]
call fcn.100067a4
mov dword [eax], 0xbacc5d9b
jmp 0x10017635
jmp 0x1001797b
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xe4]
movzx eax, byte [eax]
test eax, eax
je 0x100176d3
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1001797b
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0x38], 0x529b
mov dword [ebp - 0xd0], str.ootd_xdt_kwuulcst_nzozht_qhd
cmp dword [ebp - 0x38], 0x53de
jle 0x10017881
and dword [ebp - 0x20], 0
jmp 0x100177a3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x741e
jge 0x10017859
and dword [ebp - 0x28], 0
jmp 0x100177bd
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6c31
jge 0x10017854
and dword [ebp - 0x24], 0
jmp 0x100177d7
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7402
jge 0x1001784f
and dword [ebp - 0x18], 0
jmp 0x100177ed
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2e0
jge 0x1001784d
mov eax, dword [ebp - 0x20]
xor eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x24]
or eax, dword [ebp - 0x18]
cdq
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], edx
push dword [ebp - 0xd8]
push dword [ebp - 0xdc]
lea ecx, [ebp - 0x108]
call fcn.10001a84
pop ecx
pop ecx
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
call fcn.1000614a
push eax
call fcn.1004823d
pop ecx
lea ecx, [ebp - 0x108]
call fcn.10006140
jmp 0x100177e6
jmp 0x100177d0
jmp 0x100177b6
jmp 0x1001779c
push 0
push 0xead
push 0xfc2
push 0x234c
push 0x178c
push 0x265
push 0x26c2
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0
jmp 0x10017897
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0xffffffe9
jl 0x10017939
mov dword [ebp - 0x90], 0xfffffffe
lea eax, [ebp - 0x90]
push eax
push 0x1735
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
push 1
push dword [ebp - 0x34]
push dword [ebp - 0xa8]
push dword [ebp - 0xb0]
push dword [ebp - 0xb8]
push dword [ebp - 0x30]
push 0x2353
push dword [ebp - 0xc0]
push 0
push dword [ebp - 0xc8]
push 0
push 0x4f0
call fcn.10012813
add esp, 0x40
push dword [ebp - 0x34]
push 0x52e6
push dword [ebp - 0x30]
push 0
push 0x42bd
push 0x4ac3
push 0x48e3
push 0x56ac
push 0x674a
push 0x463
call fcn.100141e2
add esp, 0x28
jmp 0x1001788c
mov dword [ebp - 4], 1
cmp dword [ebp - 0x38], 0x50c0
jge 0x10017955
push dword [ebp - 0xd0]
call fcn.1004823d
pop ecx
jmp 0x10017971
or dword [ebp - 4], 0xffffffff
jmp 0x1001797b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret