Function at 0x40aa9c
Capabilities:
Create thread
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x18], 0
jmp 0x40aabb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1ff
jge 0x40aad4
mov ecx, dword [ebp - 0x18]
mov dword [ecx*4 + 0x4514e0], 0
jmp 0x40aab2
mov dword [ebp - 0x18], 0
jmp 0x40aae6
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x24
jge 0x40aafc
mov eax, dword [ebp - 0x18]
mov dword [eax*4 + 0x451d00], 0
jmp 0x40aadd
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00424b50
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jle 0x40abb5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movsx eax, byte [ecx + edx - 8]
cmp eax, 0x5f
jne 0x40abb5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
movsx ecx, byte [edx + eax - 7]
cmp ecx, 0x43
jne 0x40abb5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
movsx edx, byte [eax + ecx - 6]
cmp edx, 0x4f
jne 0x40abb5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movsx eax, byte [ecx + edx - 5]
cmp eax, 0x4e
jne 0x40abb5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
movsx ecx, byte [edx + eax - 4]
cmp ecx, 0x53
jne 0x40abb5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
movsx edx, byte [eax + ecx - 3]
cmp edx, 0x4f
jne 0x40abb5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movsx eax, byte [ecx + edx - 2]
cmp eax, 0x4c
jne 0x40abb5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
movsx ecx, byte [edx + eax - 1]
cmp ecx, 0x45
jne 0x40abb5
mov dword [0x44d4e0], 1
cmp dword [0x44d4e0], 0
jne 0x40ac31
cmp dword [ebp - 0x14], 4
jle 0x40ac31
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
movsx edx, byte [eax + ecx - 4]
cmp edx, 0x2e
jne 0x40ac31
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
movsx eax, byte [ecx + edx - 3]
push eax
call fcn.00424ebb
add esp, 4
cmp eax, 0x65
jne 0x40ac31
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
movsx ecx, byte [edx + eax - 2]
push ecx
call fcn.00424ebb
add esp, 4
cmp eax, 0x78
jne 0x40ac31
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
movsx edx, byte [eax + ecx - 1]
push edx
call fcn.00424ebb
add esp, 4
cmp eax, 0x65
jne 0x40ac31
mov dword [0x44d4e4], 1
cmp dword [ebp + 8], 2
jl 0x40afe2
push 1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.00424b50
add esp, 4
add eax, 1
push eax
call fcn.00424fbb
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40ac78
push str.Main___Program_Buffer_Init_Error___exit_n
call fcn.00423851
add esp, 4
push 0
call fcn.00407ba3
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00424920
add esp, 8
mov edx, dword [ebp - 8]
push edx
call fcn.00424b50
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x40acdf
cmp dword [ebp - 0x18], 2
jne 0x40acd5
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
cmp ecx, 0x2f
jne 0x40acc9
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 1]
cmp eax, 0x68
jne 0x40acc9
push 3
call fcn.00407ba3
add esp, 4
jmp 0x40acd3
push 0
call fcn.00407ba3
add esp, 4
jmp 0x40acdf
push 0
call fcn.00407ba3
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
movsx edx, byte [ecx - 4]
cmp edx, 0x70
je 0x40acf8
push 0
call fcn.00407ba3
add esp, 4
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x18]
movsx ecx, byte [eax - 3]
cmp ecx, 0x69
je 0x40ad11
push 0
call fcn.00407ba3
add esp, 4
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x18]
movsx eax, byte [edx - 2]
cmp eax, 0x70
je 0x40ad2a
push 0
call fcn.00407ba3
add esp, 4
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x18]
movsx edx, byte [ecx - 1]
cmp edx, 0x65
je 0x40ad43
push 0
call fcn.00407ba3
add esp, 4
cmp dword [ebp - 0x18], 0x15
jle 0x40ae6f
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 9]
cmp ecx, 0x5b
jne 0x40ae6f
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0xf]
cmp eax, 0x5d
jne 0x40ae6f
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0x10]
cmp edx, 0x2d
jne 0x40ae6f
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0xa]
cmp ecx, 0x30
jl 0x40ae6f
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0xa]
cmp eax, 0x39
jg 0x40ae6f
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0xb]
cmp edx, 0x30
jl 0x40ae6f
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0xb]
cmp ecx, 0x39
jg 0x40ae6f
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0xc]
cmp eax, 0x30
jl 0x40ae6f
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0xc]
cmp edx, 0x39
jg 0x40ae6f
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0xd]
cmp ecx, 0x30
jl 0x40ae6f
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0xd]
cmp eax, 0x39
jg 0x40ae6f
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx + 0xe]
cmp edx, 0x30
jl 0x40ae6f
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0xe]
cmp ecx, 0x39
jg 0x40ae6f
mov dword [0x44d4d0], 1
push 5
mov edx, dword [ebp - 8]
add edx, 0xa
push edx
push 0x450340
call fcn.00424a20
add esp, 0xc
mov byte [0x450345], 0
push 0x450340
call fcn.00425644
add esp, 4
mov dword [0x44f2e0], eax
mov eax, dword [ebp - 0x18]
sub eax, 0x15
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x11
push ecx
push 0x450340
call fcn.00424a20
add esp, 0xc
mov edx, dword [ebp - 0x18]
mov byte [edx + 0x45032b], 0
cmp dword [ebp + 8], 3
jl 0x40af9a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 2
jmp 0x40ae92
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x40aeb8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.00424b50
add esp, 4
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax + 1]
mov dword [ebp - 0x18], eax
jmp 0x40ae89
push 1
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00424fbb
add esp, 8
mov dword [0x453d2c], eax
cmp dword [0x453d2c], 0
jne 0x40aef0
push str.Main___Argument_Buffer_Init_Error___exit_n
call fcn.00423851
add esp, 4
push 0
call fcn.00407ba3
add esp, 4
jmp 0x40af98
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
push eax
mov ecx, dword [0x453d2c]
push ecx
call fcn.00424920
add esp, 8
mov dword [ebp - 0x10], 3
jmp 0x40af18
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jge 0x40af4f
push 0x448494
mov ecx, dword [0x453d2c]
push ecx
call fcn.00424930
add esp, 8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + edx*4]
push ecx
mov edx, dword [0x453d2c]
push edx
call fcn.00424930
add esp, 8
jmp 0x40af0f
mov eax, dword [0x453d2c]
push eax
call fcn.00424b50
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0
jmp 0x40af72
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jge 0x40af98
mov eax, dword [0x453d2c]
add eax, dword [ebp - 0x10]
movsx ecx, byte [eax]
cmp ecx, 0x1d
jne 0x40af96
mov edx, dword [0x453d2c]
add edx, dword [ebp - 0x10]
mov byte [edx], 0x20
jmp 0x40af69
jmp 0x40afe0
push 1
push 1
call fcn.00424fbb
add esp, 8
mov dword [0x453d2c], eax
cmp dword [0x453d2c], 0
jne 0x40afcd
push str.Main___Argument_Buffer_Init_Error_2___exit_n
call fcn.00423851
add esp, 4
push 0
call fcn.00407ba3
add esp, 4
jmp 0x40afe0
push 0x44d67c
mov eax, dword [0x453d2c]
push eax
call fcn.00424920
add esp, 8
jmp 0x40afec
push 0
call fcn.00407ba3
add esp, 4
cmp dword [0x44d4e4], 0
je 0x40b001
mov dword [0x44e564], 0
jmp 0x40b059
push 1
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00424b50
add esp, 4
add eax, 1
push eax
call fcn.00424fbb
add esp, 8
mov dword [0x44e564], eax
cmp dword [0x44e564], 0
jne 0x40b044
push str.Main___Function_Buffer_Init_Error___exit_n
call fcn.00423851
add esp, 4
push 0
call fcn.00407ba3
add esp, 4
jmp 0x40b059
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [0x44e564]
push edx
call fcn.00424920
add esp, 8
cmp dword [0x44d4e0], 0
je 0x40b094
mov eax, dword [0x44e564]
add eax, dword [ebp - 0x14]
mov byte [eax - 8], 0
call dword [sym.imp.KERNEL32.dll_FreeConsole]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, dword [0x44e564]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
push str._START__n
call fcn.00423851
add esp, 4
push 0
push 0x40000000
push 3
push 0
push 0
push 0xc0000000
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4514a0], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x40b0e0
push str._SYSTEM__Main___System_busy__waiting_for_a_Connection_instance..._n
call fcn.0040762a
add esp, 4
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov dword [ebp - 4], eax
jmp 0x40b0ef
xor ecx, ecx
cmp dword [0x4514a0], 0xffffffff
sete cl
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x40b104
push str._SYSTEM__Main___Connection_Failed_.._Exit_n
call fcn.0040762a
add esp, 4
jmp 0x40b171
push 0x452600
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4514c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x450c80
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x452ee0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x4525e0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x450320
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0x452e20
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x44d634], 0
push 0
push 0
push 0x409ffb
call fcn.00425eba
add esp, 0xc
call fcn.00408e36
mov esp, ebp
pop ebp
ret