Function at 0x10038899
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100736eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x16c
and dword [ebp - 0xa0], 0
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0x3c], 0
jmp 0x100388df
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe3
jl 0x1003897d
mov dword [ebp - 0x88], 8
push 1
lea ecx, [ebp - 0xf8]
call fcn.10024d89
and dword [ebp - 4], 0
mov dword [ebp - 0x44], 0
jmp 0x10038914
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 1
jge 0x10038930
push dword [ebp - 0x44]
lea ecx, [ebp - 0xf8]
call fcn.10024e10
mov dword [eax], 1
jmp 0x1003890d
cmp dword [ebp - 0x3c], 0
je 0x10038944
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xc0], eax
jmp 0x10038961
push 0
lea eax, [ebp - 0xf8]
push eax
lea eax, [ebp - 0x88]
push eax
push 0x692c
call fcn.100391ad
add esp, 0x10
push 0
call fcn.1003b7d5
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf8]
call fcn.10024e0b
jmp 0x100388d8
lea ecx, [ebp - 0x170]
call fcn.1003e211
mov dword [ebp - 4], 1
mov dword [ebp - 0xec], 0xfffffff9
mov dword [ebp - 0xe8], 0xfffffff9
mov dword [ebp - 0xe4], 0xfffffff9
mov dword [ebp - 0xe0], 0xfffffff9
lea ecx, [ebp - 0x59]
call fcn.10009032
push eax
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp - 0x178]
call fcn.10024e1f
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x144]
call fcn.10024de5
mov byte [ebp - 4], 2
push 1
lea ecx, [ebp - 0xd4]
call fcn.10024d89
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 0
jmp 0x10038a0e
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jge 0x10038a27
push dword [ebp - 0x50]
lea ecx, [ebp - 0xd4]
call fcn.10024e10
or dword [eax], 0xffffffff
jmp 0x10038a07
push 0
lea ecx, [ebp - 0xd4]
call fcn.10024e10
mov dword [eax], 3
jmp 0x10038a57
push 0
lea ecx, [ebp - 0xd4]
call fcn.10024e10
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x6c]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0xd4]
call fcn.10024e10
cmp dword [eax], 0
jl 0x10038b5c
mov dword [ebp - 0x34], 0x2751c76d
mov dword [ebp - 0xd8], 0xbe8f2100
mov dword [ebp - 0x10c], 0x33c2251
mov dword [ebp - 0x11c], 0x23ccde6b
mov dword [ebp - 0x124], 0xbf2465cd
mov dword [ebp - 0x34], 3
jmp 0x10038aac
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jl 0x10038b57
mov dword [ebp - 0x14c], 0xa82a10aa
push 2
lea ecx, [ebp - 0x134]
call fcn.10024d89
mov byte [ebp - 4], 4
mov dword [ebp - 0xb0], 0x351a9382
mov dword [ebp - 0x4c], 0
jmp 0x10038aeb
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 2
jge 0x10038b07
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x134]
call fcn.10024e10
mov dword [eax], 0x4c38b6b0
jmp 0x10038ae4
push 0
push 0x1a48
lea eax, [ebp - 0xd8]
push eax
push 0x7a93
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.10038818
add esp, 0x18
push 0xc09
lea eax, [ebp - 0xb0]
push eax
push 0
call fcn.10039156
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x134]
call fcn.10024e0b
jmp 0x10038aa5
jmp 0x10038a3c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd4]
call fcn.10024e0b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x144]
call fcn.10024e0b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x170]
call fcn.10032388
mov dword [ebp - 0x2c], 0xbe8e56f9
mov dword [ebp - 0x48], 0
jmp 0x10038b9f
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 1
jge 0x10038bb2
mov eax, dword [ebp - 0x48]
mov dword [ebp + eax*4 - 0x60], 0x6bdde0bc
jmp 0x10038b98
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x10038bc8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov dword [ebp - 0x2c], 0
jmp 0x10038bd8
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10038d6c
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x80], 0x6b8642e5
mov dword [ebp - 0x1c], 0
jmp 0x10038c00
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jg 0x10038d67
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], 0
jmp 0x10038c21
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jg 0x10038d55
mov dword [ebp - 0x84], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x14], 0
jg 0x10038c50
mov dword [ebp - 0x94], 1
jmp 0x10038c57
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x60]
cmp eax, dword [ebp - 0x94]
jne 0x10038c72
mov dword [ebp - 0xb4], 1
jmp 0x10038c79
and dword [ebp - 0xb4], 0
cmp dword [ebp - 0x14], 0xea28c7ff
jbe 0x10038c8b
mov dword [ebp - 0x74], 1
jmp 0x10038c8f
and dword [ebp - 0x74], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
add eax, dword [ebp - 0x74]
cmp eax, dword [ebp - 0x84]
jne 0x10038cb0
mov dword [ebp - 0x8c], 1
jmp 0x10038cb7
and dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0xff5ecce3
jb 0x10038cd5
mov eax, 0x12a2ef7e
test eax, eax
je 0x10038cd5
mov dword [ebp - 0x7c], 1
jmp 0x10038cd9
and dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x7c], eax
jl 0x10038ced
mov dword [ebp - 0x9c], 1
jmp 0x10038cf4
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x9c]
sub eax, dword [ebp - 0x84]
je 0x10038d06
cmp dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1c], eax
jge 0x10038d17
mov dword [ebp - 0x68], 1
jmp 0x10038d1b
and dword [ebp - 0x68], 0
cmp dword [ebp - 0x68], 2
jne 0x10038d2a
mov dword [ebp - 0x70], 1
jmp 0x10038d2e
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x60]
cmp eax, dword [ebp - 0x70]
jg 0x10038d43
mov dword [ebp - 0x78], 1
jmp 0x10038d47
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x78]
mov dword [ebp - 0x80], eax
jmp 0x10038c1a
lea eax, [ebp - 0x80]
push eax
push 0
call fcn.1003936c
pop ecx
pop ecx
jmp 0x10038bf9
jmp 0x10038bd1
and dword [ebp - 0x30], 0
jmp 0x10038d79
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp + 0xc]
jae 0x10038f40
mov dword [ebp - 0x58], 0
mov dword [ebp - 0xc4], 0xffffffff
mov dword [ebp - 0x128], 0xf3d37a5b
mov dword [ebp - 0xfc], 0x8e9646b8
mov dword [ebp - 0x58], 0
jmp 0x10038dba
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 6
jne 0x10038eeb
push 2
lea ecx, [ebp - 0x158]
call fcn.10024d89
mov byte [ebp - 4], 5
mov dword [ebp - 0x40], 0x446df37d
mov dword [ebp - 0x110], 0x872d9ee1
mov dword [ebp - 0x54], 0x9cdc345f
mov dword [ebp - 0x28], 1
push 0
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100390e6
add esp, 0xc
mov dword [ebp - 0x38], 0
jmp 0x10038e19
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 1
jge 0x10038e2f
mov eax, dword [ebp - 0x38]
mov dword [ebp + eax*4 - 0x114], 6
jmp 0x10038e12
mov dword [ebp - 0x40], 0
jmp 0x10038e3f
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 1
jg 0x10038e6c
mov dword [ebp - 0x118], 0xc9ed9ba0
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
jmp 0x10038e38
mov dword [ebp - 0x28], 0
jmp 0x10038e7c
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2c
jne 0x10038ed7
cmp dword [ebp - 0x40], 0
je 0x10038eb6
mov dword [ebp - 0x54], 0xb
jmp 0x10038e98
mov eax, dword [ebp - 0x54]
dec eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 7
jle 0x10038eb4
mov byte [ebp - 0x20], 0
movzx eax, byte [ebp - 0x20]
test eax, eax
je 0x10038eb2
push 0
call fcn.1003b822
pop ecx
jmp 0x10038e91
jmp 0x10038ed5
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x10038eca
push 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0xc4], 0
je 0x10038ed5
jmp 0x10038e75
jmp 0x10038e75
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x158]
call fcn.10024e0b
jmp 0x10038db3
mov byte [ebp - 0x1f], 0
movzx eax, byte [ebp - 0x1f]
test eax, eax
je 0x10038eff
push 0
call fcn.1003c14f
pop ecx
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x30]
xor edx, edx
div dword [0x106640d8]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, byte [eax + edx]
push eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
movzx eax, byte [ecx + eax]
push eax
call fcn.100323bf
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x170]
call fcn.1003e240
jmp 0x10038d72
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0xa927213e
mov dword [ebp - 0xb8], 0xec6f0d4a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10038f72
mov dword [ebp - 0x64], 1
jmp 0x10038f76
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x64]
jge 0x10038f8a
mov dword [ebp - 0x90], 1
jmp 0x10038f91
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0x90]
inc eax
inc eax
cmp eax, dword [ebp - 0x10]
jle 0x10038faa
mov dword [ebp - 0x98], 1
jmp 0x10038fb1
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x18], 0
je 0x1003902f
mov dword [ebp - 0x18], 8
jmp 0x10038fe2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x15
jne 0x1003902d
mov dword [ebp - 0xbc], 0x57e3b6f9
mov dword [ebp - 0x10], 0
jmp 0x10039002
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffea
jl 0x1003902b
push 1
lea eax, [ebp - 0x18]
push eax
push 0x7fe7
lea eax, [ebp - 0xbc]
push eax
push 0x7623
push 0x44
call fcn.10038818
add esp, 0x18
jmp 0x10038ffb
jmp 0x10038fdb
jmp 0x100390a8
mov dword [ebp - 0xa4], 0x7d96711d
mov dword [ebp - 0xa8], 0xffffffff
mov dword [ebp - 0xac], 0xffffffff
mov dword [ebp - 0xc8], 0xfffffffa
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0xa4]
push eax
push 0
lea eax, [ebp - 0xc8]
push eax
push 0x456b
push 0x3949
call fcn.1003b35c
add esp, 0x28
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x100390a8
call dword [sym.imp.GDI32.dll_GdiFlush]
lea eax, [ebp - 0x170]
push eax
mov ecx, dword [ebp + 8]
call fcn.10024c91
mov eax, dword [ebp - 0xa0]
or eax, 1
mov dword [ebp - 0xa0], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.10024cea
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret