Function at 0x636730
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x584
push ebp
mov ebp, ecx
lea ecx, [esp + 0x14]
call fcn.0068f980
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0
call fcn.00522800
push str.Starting_packet_router_process_n
call fcn.004068f0
add esp, 4
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov ecx, dword [0x821f70]
mov edx, dword [ecx]
call dword [edx + 0x48]
test eax, eax
jne 0x63678a
xor al, al
pop ebp
add esp, 0x584
ret 4
push esi
mov esi, dword [esp + 0x590]
test esi, esi
push edi
jne 0x636860
mov eax, dword [0xa27d98]
test eax, eax
jne 0x6367e1
mov ecx, dword [0x821f70]
push esi
mov eax, dword [ecx]
call dword [eax + 0x4c]
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 3]
mov dl, byte [eax + 2]
push ecx
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [eax + 1]
mov dl, byte [eax]
push ecx
push edx
lea eax, [esp + 0xa0]
push str.mph.exe__d._d._d._d
push eax
call fcn.0076d684
add esp, 0x18
jmp 0x6368d7
mov ecx, dword [0xa27d8c]
mov esi, dword [ecx]
add esi, 0x28
je 0x6368d7
lea edx, [esp + 0xc]
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, esi
call fcn.00522910
mov ecx, dword [esp + 0xf]
mov edx, dword [esp + 0xe]
mov eax, dword [esp + 0xd]
and ecx, 0xff
push ecx
mov ecx, dword [esp + 0x10]
and edx, 0xff
and eax, 0xff
push edx
and ecx, 0xff
push eax
push ecx
lea edx, [esp + 0xa0]
push str.mph.exe__d._d._d._d
push edx
call fcn.0076d684
mov eax, dword [esi]
add esp, 0x18
mov dword [0xa27ebf], eax
mov ecx, dword [esi + 4]
mov dword [0xa27ec3], ecx
mov dx, word [esi + 8]
mov word [0xa27ec7], dx
jmp 0x6368d7
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 3]
mov cl, byte [esi + 2]
push eax
xor edx, edx
mov dl, byte [esi + 1]
xor eax, eax
mov al, byte [esi]
push ecx
push edx
push eax
lea ecx, [esp + 0xa0]
push str.mph.exe__d._d._d._d
push ecx
call fcn.0076d684
mov edx, dword [0xa27d8c]
add esp, 0x18
mov ecx, dword [edx]
add ecx, 0x28
je 0x6368d7
lea eax, [esp + 0xc]
lea edx, [esp + 0x24]
push eax
push edx
call fcn.00522910
mov cl, byte [esi + 1]
mov dl, byte [esi + 2]
mov al, byte [esi]
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
lea ecx, [esp + 0xc]
mov byte [esp + 0xc], al
mov al, byte [esi + 3]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, 0xa27ebf
mov byte [esp + 0x17], al
call fcn.00522890
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x4c]
push eax
push ecx
push 0
push 0
push 0x200
push 0
push 0
lea edx, [esp + 0xac]
push 0
push edx
push str.mph.exe
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edi, eax
test edi, edi
jne 0x63692f
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateProcess_failed_with_error__d___s_n
call fcn.004068f0
add esp, 0xc
test edi, edi
pop edi
pop esi
setne al
pop ebp
add esp, 0x584
ret 4
mov eax, dword [esp + 0x3c]
push eax
push str.hRouterProcess___d_n
mov dword [ebp + 0x1c], eax
call fcn.004068f0
mov eax, dword [0xb0de30]
add esp, 8
push eax
call dword [sym.imp.USER32.dll_SetFocus]
lea ecx, [esp + 0x10]
call fcn.0068f980
mov ecx, dword [esp + 0x10]
mov esi, 0x708
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], esi
xor edi, edi
jmp 0x636976
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x18], 0xffffffff
je 0x636990
lea ecx, [esp + 0x1c]
call fcn.0068f980
sub eax, dword [esp + 0x18]
cmp eax, esi
jge 0x6369de
sub esi, eax
test esi, esi
je 0x6369de
call fcn.004821e0
lea edx, [esp + 0x2a]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
push eax
lea edx, [esp + 0x198]
push ecx
push edx
mov ecx, 0xa285a8
call fcn.00524540
test eax, eax
je 0x636972
cmp byte [esp + 0x190], 4
jne 0x636972
push str.Received_TALK_HELLO_from_router_n
mov edi, 1
call fcn.004068f0
add esp, 4
mov byte [ebp + 0x18], 1
test edi, edi
pop edi
pop esi
setne al
pop ebp
add esp, 0x584
ret 4