Function at 0x1000b38d
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053bc1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1000b4f7
lea eax, [ebp + 0x20]
mov dword [ebp - 0x50], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1000b4e8
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x1006f864]
and eax, 1
jne 0x1000b41e
mov eax, dword [0x1006f864]
or eax, 1
mov dword [0x1006f864], eax
and dword [ebp - 4], 0
mov ecx, 0x1006f818
call fcn.1000be33
push 0x10054dbd
call fcn.1003dc2b
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, 0x1006f818
call fcn.1000beea
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x1006f818
call fcn.1000bef8
mov ecx, eax
call fcn.1000bf0d
movzx eax, al
test eax, eax
je 0x1000b479
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, 0x1006f818
call fcn.1000c21f
mov ecx, dword [ebp - 0x2c]
mov ax, word [eax]
mov word [ecx], ax
jmp 0x1000b67b
mov eax, dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x98]
push eax
call fcn.1000a7b2
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
call fcn.1000bcfc
mov ax, word [eax]
mov word [ebp - 0x14], ax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
call fcn.1000bc9d
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x74]
push eax
mov ecx, 0x1006f818
call fcn.1000c21f
mov cx, word [ebp - 0x14]
mov word [eax], cx
mov eax, dword [ebp - 0x2c]
mov cx, word [ebp - 0x14]
mov word [eax], cx
jmp 0x1000b67b
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
jmp 0x1000b67b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x58]
movzx eax, byte [eax]
test eax, eax
je 0x1000b529
push 0
push 0
push 0x210
push 0
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
jmp 0x1000b67b
mov dword [ebp - 0x30], 0x15cb
mov dword [ebp - 0x3c], str.qbt_xeffxfnai_numil
cmp dword [ebp - 0x30], 0x17e0
jle 0x1000b5f4
push 0
push 0x191d
push 0xcd9
push 0
push 0x414
push 0x18a0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
and dword [ebp - 0x20], 0
jmp 0x1000b571
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x6c9b
jge 0x1000b5f4
and dword [ebp - 0x1c], 0
jmp 0x1000b587
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x431e
jge 0x1000b5ef
and dword [ebp - 0x28], 0
jmp 0x1000b59d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x310d
jge 0x1000b5ed
mov eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov ecx, edx
sar eax, cl
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
lea ecx, [ebp - 0xb0]
call fcn.10002543
pop ecx
pop ecx
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
call fcn.1000b763
push eax
call fcn.1003de4c
pop ecx
lea ecx, [ebp - 0xb0]
call fcn.1000b724
jmp 0x1000b596
jmp 0x1000b580
jmp 0x1000b56a
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x12da
jge 0x1000b613
push dword [ebp - 0x3c]
call fcn.1003de4c
pop ecx
jmp 0x1000b62f
or dword [ebp - 4], 0xffffffff
jmp 0x1000b639
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1000b661
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 4
jge 0x1000b67b
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x5c]
call fcn.10001bf5
or dword [eax], 0xffffffff
jmp 0x1000b656
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret