Function at 0x100446af
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007db11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
jmp 0x100446e9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x10044b93
mov dword [ebp - 0x48], 0x11af
mov dword [ebp - 0x60], 0x1000b7cc
cmp dword [ebp - 0x48], 0x1387
jle 0x1004477b
and dword [ebp - 0x2c], 0
jmp 0x1004471b
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x818
jge 0x1004477b
and dword [ebp - 0x30], 0
jmp 0x10044731
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x6e7a
jge 0x10044779
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x30]
cdq
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], edx
push dword [ebp - 0x70]
push dword [ebp - 0x74]
lea ecx, [ebp - 0xf8]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x50]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0xf8]
call fcn.1001d534
jmp 0x1004472a
jmp 0x10044714
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x100447ba
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xdbf
push 0xd5e
call fcn.10040a57
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10044b6a
mov dword [ebp - 0x14], 0x3ae35568
push 2
lea ecx, [ebp - 0x80]
call fcn.1001d86d
and dword [ebp - 4], 0
mov dword [ebp - 0xdc], 0xd66a0756
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x90], 0x1c17c774
mov dword [ebp - 0x98], 0x61b583dc
mov dword [ebp - 0x8c], 0xfffffffa
mov dword [ebp - 0xbc], 8
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x84], 0xffffffff
push 4
lea ecx, [ebp - 0xd8]
call fcn.1001d86d
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0
jmp 0x10044840
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jge 0x10044859
push dword [ebp - 0x10]
lea ecx, [ebp - 0x80]
call fcn.1001d90b
mov dword [eax], 1
jmp 0x10044839
mov dword [ebp - 0x10], 0
jmp 0x10044869
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x10044885
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd8]
call fcn.1001d90b
mov dword [eax], 1
jmp 0x10044862
mov dword [ebp - 0x14], 0
jmp 0x10044895
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jl 0x100448c2
mov dword [ebp - 0x68], 0xfffffff7
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x100448b8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
cmp dword [ebp - 0x68], 0
je 0x100448c0
jmp 0x1004488e
jmp 0x1004488e
mov dword [ebp - 0x14], 1
jmp 0x100448d2
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10044b1d
mov dword [ebp - 0x38], 0xe8588d0d
push 2
lea ecx, [ebp - 0xc8]
call fcn.1001d86d
mov byte [ebp - 4], 2
mov dword [ebp - 0x9c], 0x2076acb8
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x20], 0
jmp 0x10044915
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1004492e
push dword [ebp - 0x20]
lea ecx, [ebp - 0xc8]
call fcn.1001d90b
and dword [eax], 0
jmp 0x1004490e
mov dword [ebp - 0x38], 0
jmp 0x1004493e
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jg 0x10044a3a
mov dword [ebp - 0xcc], 0x615e
mov dword [ebp - 0xac], 0xc28cae2f
mov dword [ebp - 0xe0], 0xd7006986
push 4
lea ecx, [ebp - 0xb8]
call fcn.1001d86d
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0xa8]
call fcn.1001d86d
mov byte [ebp - 4], 4
mov dword [ebp - 0x3c], 0xfc33
mov dword [ebp - 0x18], 0
jmp 0x1004499f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x100449bb
push dword [ebp - 0x18]
lea ecx, [ebp - 0xb8]
call fcn.1001d90b
mov dword [eax], 0x98ab79ae
jmp 0x10044998
mov dword [ebp - 0x18], 0
jmp 0x100449cb
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x100449e7
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa8]
call fcn.1001d90b
mov dword [eax], 0x85e1
jmp 0x100449c4
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x80]
call fcn.1001d90b
imul eax, dword [eax], 0xfffe
cmp eax, 1
jle 0x10044a0d
mov dword [ebp - 0x44], 1
jmp 0x10044a11
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
call fcn.1001d8ef
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.1001d8ef
jmp 0x10044937
mov dword [ebp - 0x40], 0x729f
mov dword [ebp - 0x64], 0x1000b7f8
cmp dword [ebp - 0x40], 0x75b5
jle 0x10044ae3
and dword [ebp - 0x34], 0
jmp 0x10044a62
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x7b73
jge 0x10044ae3
and dword [ebp - 0x24], 0
jmp 0x10044a78
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x503
jge 0x10044ade
and dword [ebp - 0x28], 0
jmp 0x10044a8e
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x7c7d
jge 0x10044adc
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x24]
add edx, dword [ebp - 0x28]
mov eax, edx
cdq
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push dword [ebp - 0x58]
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x110]
call fcn.1001072e
pop ecx
pop ecx
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
call fcn.1001d53e
push eax
call fcn.10067b63
pop ecx
lea ecx, [ebp - 0x110]
call fcn.1001d534
jmp 0x10044a87
jmp 0x10044a71
jmp 0x10044a5b
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x10044af7
push 0
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
cmp dword [ebp - 0x40], 0x6ff5
jge 0x10044b09
push dword [ebp - 0x64]
call fcn.10067b63
pop ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.1001d8ef
jmp 0x100448cb
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.1001d8ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.1001d8ef
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x4c]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xdbf
push 0xd5e
call fcn.10040a57
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
cmp dword [ebp - 0x48], 0xfb1
jge 0x10044b7c
push dword [ebp - 0x60]
call fcn.10067b63
pop ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x10044b8e
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x10044b93
jmp 0x100446cf
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret