Function at 0x10045cd8
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067416
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10045e18
mov dword [ebp - 0x58], 0x4eb6
mov dword [ebp - 0xa0], 0x1000b9f8
cmp dword [ebp - 0x58], 0x4fce
jle 0x10045da2
and dword [ebp - 0x28], 0
jmp 0x10045d30
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x6ad6
jge 0x10045da2
and dword [ebp - 0x2c], 0
jmp 0x10045d46
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x59f3
jge 0x10045da0
mov eax, dword [ebp - 0x28]
xor eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x120], edx
push dword [ebp - 0x120]
push dword [ebp - 0x124]
lea ecx, [ebp - 0x150]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x150]
call fcn.100130a8
jmp 0x10045d3f
jmp 0x10045d29
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x114], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x58], 0x4c11
jge 0x10045dc4
push dword [ebp - 0xa0]
call fcn.10050ebf
pop ecx
jmp 0x10045de0
or dword [ebp - 4], 0xffffffff
jmp 0x10045dea
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x98], eax
push 0x78fa
push dword [ebp - 0x114]
push dword [ebp - 0x98]
push 1
push 0x3b20
call fcn.10046398
add esp, 0x14
jmp 0x10046387
lea eax, [ebp + 0x28]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0x90], 0x5a48
mov dword [ebp - 0xb0], 0x1000ba6c
cmp dword [ebp - 0x90], 0x5db6
jle 0x10045f08
and dword [ebp - 0x24], 0
jmp 0x10045e96
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x2484
jge 0x10045f08
and dword [ebp - 0x34], 0
jmp 0x10045eac
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x613c
jge 0x10045f06
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x34]
cdq
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x12c], edx
push dword [ebp - 0x12c]
push dword [ebp - 0x130]
lea ecx, [ebp - 0x168]
call fcn.1000dcee
pop ecx
pop ecx
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
call fcn.100130b2
push eax
call fcn.10050ebf
pop ecx
lea ecx, [ebp - 0x168]
call fcn.100130a8
jmp 0x10045ea5
jmp 0x10045e8f
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x90], 0x56fd
jge 0x10045f30
push dword [ebp - 0xb0]
call fcn.10050ebf
pop ecx
jmp 0x10045f4c
or dword [ebp - 4], 0xffffffff
jmp 0x10045f56
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x128]
movzx eax, byte [eax]
test eax, eax
je 0x1004637d
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x4c], 0x1e52
mov dword [ebp - 0xe8], 0x1000ba98
cmp dword [ebp - 0x4c], 0x20c8
jle 0x1004608b
and dword [ebp - 0x30], 0
jmp 0x10046024
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x1a90
jge 0x1004608b
and dword [ebp - 0x18], 0
jmp 0x1004603a
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x470a
jge 0x10046089
and dword [ebp - 0x1c], 0
jmp 0x10046050
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x505b
jge 0x10046087
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x18]
or eax, dword [ebp - 0x1c]
cdq
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x108], edx
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
mov ecx, 0x10610838
call fcn.100130d2
jmp 0x10046049
jmp 0x10046033
jmp 0x1004601d
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 4
cmp dword [ebp - 0x4c], 0x1ac7
jge 0x100460b4
mov edx, dword [ebp - 0xe8]
mov ecx, 0x10610838
call fcn.100159ac
jmp 0x100460d0
or dword [ebp - 4], 0xffffffff
jmp 0x100460da
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xcc]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xfc], eax
mov eax, 0x389e
test eax, eax
je 0x10046157
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
je 0x10046157
mov dword [ebp - 0x50], 1
jmp 0x1004615b
and dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x138], eax
push 0
mov ecx, dword [ebp - 0x20]
call fcn.10013375
cmp dword [eax], 0
jne 0x10046195
push 1
mov ecx, dword [ebp - 0x20]
call fcn.10013375
cmp dword [eax], 0
jne 0x10046195
and dword [ebp - 0x78], 0
jmp 0x1004619c
mov dword [ebp - 0x78], 1
push 1
mov ecx, dword [ebp - 0x60]
call fcn.10013375
mov eax, dword [eax]
imul eax, dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xec]
push dword [eax]
mov ecx, dword [ebp - 0x60]
call fcn.10013375
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
push 2
mov ecx, dword [ebp - 0x68]
call fcn.10013375
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
imul esi, dword [ebp - 0x38]
push 0
mov ecx, dword [ebp - 0x20]
call fcn.10013375
add esi, dword [eax]
push 1
mov ecx, dword [ebp - 0x20]
call fcn.10013375
cmp esi, dword [eax]
jge 0x10046202
mov dword [ebp - 0x88], 1
jmp 0x10046209
and dword [ebp - 0x88], 0
cmp dword [ebp - 0x88], 0xfffffffa
jge 0x10046227
push 3
mov ecx, dword [ebp - 0x68]
call fcn.10013375
cmp dword [eax], 0
jne 0x10046227
and dword [ebp - 0x80], 0
jmp 0x1004622e
mov dword [ebp - 0x80], 1
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x80], eax
jl 0x10046241
mov dword [ebp - 0x70], 1
jmp 0x10046245
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x44]
mov ecx, 0xd2376568
sub ecx, dword [ebp - 0x70]
sub ecx, dword [eax]
jne 0x1004625d
mov dword [ebp - 0x3c], 1
jmp 0x10046261
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x3c]
neg eax
cmp dword [ebp - 0x50], eax
jle 0x1004627c
mov dword [ebp - 0x40], 1
jmp 0x10046280
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
cmp dword [ebp - 0x40], 0
je 0x100462a3
mov eax, 0xf21916dc
test eax, eax
je 0x100462a3
mov dword [ebp - 0x54], 1
jmp 0x100462a7
and dword [ebp - 0x54], 0
push 0
mov ecx, dword [ebp - 0xfc]
call fcn.10013375
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [eax]
je 0x100462c4
mov dword [ebp - 0x64], 1
jmp 0x100462c8
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x64], eax
jne 0x100462db
mov dword [ebp - 0x6c], 1
jmp 0x100462df
and dword [ebp - 0x6c], 0
push 1
mov ecx, dword [ebp - 0x74]
call fcn.10013375
mov ecx, dword [ebp - 0x6c]
imul ecx, dword [eax]
mov dword [ebp - 0x7c], ecx
push 2
mov ecx, dword [ebp - 0x74]
call fcn.10013375
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x7c]
add eax, 0x1dcc20ab
cmp eax, 0xf0ed
jg 0x10046321
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0
jne 0x10046321
and dword [ebp - 0x84], 0
jmp 0x1004632b
mov dword [ebp - 0x84], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x84]
sub edx, dword [ecx]
cmp edx, dword [eax]
je 0x10046349
mov dword [ebp - 0x8c], 1
jmp 0x10046350
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [eax]
cmp dword [ebp - 0x8c], eax
jg 0x10046369
mov dword [ebp - 0x94], 1
jmp 0x10046370
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x94]
mov dword [eax], ecx
jmp 0x10046387
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret