Function at 0x4452b0
Capabilities:
Create pipe
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500a80
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x54e938]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
push eax
lea ecx, [ebp - 0x5c]
push ecx
xor ebx, ebx
mov ecx, esi
xor edi, edi
mov dword [ebp - 0x5c], ebx
call fcn.00444a90
test al, al
je 0x445302
lea edi, [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x10]
sub eax, ebx
je 0x4453f2
dec eax
je 0x445323
mov eax, 8
jmp 0x4454f3
lea edx, [esi + 0x48]
push edx
lea eax, [ebp - 0x2c]
push eax
call fcn.00444c40
add esp, 8
mov eax, dword [ebp - 0x2c]
mov edi, 8
mov dword [ebp - 4], 1
cmp dword [ebp - 0x18], edi
jae 0x44534a
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x445371
cmp dword [ebp - 0x18], edi
jb 0x445367
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
mov eax, 4
jmp 0x4454f3
cmp dword [ebp + 8], ebx
je 0x4453d6
cmp dword [esi + 0xa0], ebx
je 0x4453d6
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x445389
lea eax, [ebp - 0x2c]
call fcn.00444480
mov edi, eax
mov dword [ebp - 0x50], ebx
cmp edi, 0xffffffff
je 0x4453d1
mov eax, dword [esi + 0xa0]
lea edx, [ebp - 0x50]
push edx
push edi
call eax
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4453d1
mov eax, dword [ebp - 0x50]
cmp dword [ebp + 8], eax
je 0x4453d1
cmp dword [ebp - 0x4c], eax
je 0x4453d1
lea ecx, [ebp - 0x2c]
call fcn.0040a2c0
mov eax, 0xb
jmp 0x4454f3
mov edi, 8
cmp dword [ebp - 0x18], edi
jb 0x4454dd
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00406ec9
add esp, 4
xor eax, eax
jmp 0x4454f3
mov bl, byte [ebp + 0xc]
push 0
push 0
push 1
push 0
mov byte [esi + 0xc], bl
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 8], eax
test eax, eax
je 0x44549e
lea edx, [esi + 0x48]
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.00444c40
add esp, 8
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [esi + 0x80]
mov dword [ebp - 4], 0
call fcn.00406960
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x445447
lea eax, [ebp - 0x48]
push edi
push 0x3e8
push 0
push 0
push 1
push 6
push 0x80003
push eax
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x445479
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x58], 0
cmp dword [esi + 0x2c], 0xffffffff
jne 0x4454a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x48]
cmp eax, 5
jne 0x445499
call fcn.0040a2c0
mov eax, 3
jmp 0x4454f3
call fcn.0040a2c0
mov eax, 2
jmp 0x4454f3
mov eax, dword [esi + 8]
mov edx, dword [ebp + 8]
push eax
mov dword [esi], edx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test bl, bl
je 0x4454e1
lea ecx, [ebp - 0x4c]
push ecx
push 0
push esi
push fcn.00444dd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0x48]
test eax, eax
je 0x445499
call fcn.0040a2c0
xor eax, eax
jmp 0x4454f3
push esi
call fcn.00444dd0
lea ecx, [ebp - 0x48]
mov esi, eax
call fcn.0040a2c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401316
mov esp, ebp
pop ebp
ret 0xc