Function at 0x401d10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43db87
mov eax, dword fs:[0]
push eax
sub esp, 0x554
mov eax, dword [0x45d070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00420780
add esp, 4
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51]
add esp, 0xc
test al, 1
jne 0x401d7f
or eax, 1
push 0x4427b0
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51], eax
call fcn.0043be9d
add esp, 4
push sym.Gamebox.exe_class_COPathManager__public:_static_class_COPathManager____cdecl_oopa::CSingleton_class_COPathManager_::GetInstance_void_::_2::inst
push str.netsh_firewall_add_allowedprogram_program__sGameServer.exe__name_GameServer__modeenable
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.00401810
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x52c], 7
mov dword [ebp - 0x530], 0
mov word [ebp - 0x540], ax
cmp word [ebp - 0x218], ax
jne 0x401dc7
xor ecx, ecx
jmp 0x401ddf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401dd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x540]
call fcn.00405db0
lea edx, [ebp - 0x540]
lea ecx, [ebp - 0x558]
mov dword [ebp - 4], 0
call fcn.0041fe60
cmp dword [eax + 0x14], 0x10
jb 0x401e12
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp dword [ebp - 0x544], 0x10
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
jb 0x401e35
push dword [ebp - 0x558]
call esi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x52c], 8
mov dword [ebp - 0x544], 0xf
mov dword [ebp - 0x548], 0
mov byte [ebp - 0x558], 0
jb 0x401e6b
push dword [ebp - 0x540]
call esi
add esp, 4
push 0
push str.netsh_firewall_set_portopening_TCP_11325_ENABLE
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.MSVCR110.dll_memset
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51]
add esp, 0xc
test al, 1
jne 0x401eac
or eax, 1
push 0x4427b0
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOPathManager___oopa__SAPAVCOPathManager__XZ_51], eax
call fcn.0043be9d
add esp, 4
push sym.Gamebox.exe_class_COPathManager__public:_static_class_COPathManager____cdecl_oopa::CSingleton_class_COPathManager_::GetInstance_void_::_2::inst
push str._sGameServer.exe
lea eax, [ebp - 0x218]
push 0x208
push eax
call fcn.00401810
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOAppUtil___oopa__SAPAVCOAppUtil__XZ_51]
add esp, 0x10
test al, 1
jne 0x401ee8
or eax, 1
push 0x442790
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOAppUtil___oopa__SAPAVCOAppUtil__XZ_51], eax
call fcn.0043be9d
add esp, 4
push 0x444c54
call fcn.0041da20
test eax, eax
je 0x401f7f
xor eax, eax
mov dword [ebp - 0x52c], 7
mov dword [ebp - 0x530], 0
mov word [ebp - 0x540], ax
cmp word [ebp - 0x218], ax
jne 0x401f24
xor ecx, ecx
jmp 0x401f3f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x540]
call fcn.00405db0
lea ecx, [ebp - 0x540]
mov dword [ebp - 4], 1
call fcn.0042b7e0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x52c], 8
jb 0x401f7f
push dword [ebp - 0x540]
call esi
add esp, 4
call fcn.0041c230
mov ecx, eax
call fcn.0041c6b0
call fcn.0041c230
mov ecx, eax
call fcn.0041c2d0
test al, al
jne 0x402023
xor eax, eax
mov dword [ebp - 0x52c], 7
mov dword [ebp - 0x530], 0
mov word [ebp - 0x540], ax
cmp word [ebp - 0x218], ax
jne 0x401fc9
xor ecx, ecx
jmp 0x401fe1
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401fd2
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x540]
call fcn.00405db0
lea ecx, [ebp - 0x540]
mov dword [ebp - 4], 2
call fcn.0042b7e0
cmp dword [ebp - 0x52c], 8
jb 0x40222e
push dword [ebp - 0x540]
call esi
add esp, 4
jmp 0x40222e
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
cmp dword [0x45f650], 0
lea eax, [ebp - 0x558]
push eax
jne 0x402092
cmp dword [0x45f6c8], 0
jne 0x402076
call fcn.0041c230
mov ecx, eax
call fcn.0041cf30
cmp dword [eax + 0x14], 8
jb 0x40206e
mov eax, dword [eax]
push eax
push str._s_data_home.html
jmp 0x4020ac
call fcn.0041c230
mov ecx, eax
call fcn.0041cf30
cmp dword [eax + 0x14], 8
jb 0x40208a
mov eax, dword [eax]
push eax
push str._s_data_webgame.html
jmp 0x4020ac
call fcn.0041c230
mov ecx, eax
call fcn.0041cf30
cmp dword [eax + 0x14], 8
jb 0x4020a6
mov eax, dword [eax]
push eax
push str._s_data_play.html
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.00401810
add esp, 0x10
cmp dword [ebp - 0x544], 8
jb 0x4020d4
push dword [ebp - 0x558]
call esi
add esp, 4
cmp dword [0x45f6b0], 0
jne 0x402115
cmp word [ebp - 0x420], 0
jne 0x4020eb
xor ecx, ecx
jmp 0x402103
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4020f4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x420]
push eax
mov ecx, 0x45f6a0
call fcn.00405db0
sub esp, 0x18
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ebp - 0x460], 0
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x45f6a0
mov word [ecx], ax
call fcn.00405a30
push 0
lea ecx, [ebp - 0x528]
call fcn.00419740
lea eax, [ebp - 0x528]
mov dword [ebp - 4], 3
mov ecx, eax
mov dword [0x460544], eax
call dword [sym.imp.ouilibx.dll_public_virtual:_int___thiscall_OUI::COVDialog::DoModal_void_]
mov eax, dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOAppUtil___oopa__SAPAVCOAppUtil__XZ_51]
test al, 1
jne 0x402189
or eax, 1
push 0x442790
mov dword [sym.Gamebox.exe____B_1__GetInstance___CSingleton_VCOAppUtil___oopa__SAPAVCOAppUtil__XZ_51], eax
call fcn.0043be9d
add esp, 4
push 0x444c54
call fcn.0041da20
test eax, eax
je 0x4021cc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x558]
call fcn.00405eb0
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 4
call fcn.0042b7e0
cmp dword [ebp - 0x544], 8
jb 0x4021cc
push dword [ebp - 0x558]
call esi
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x448], 8
mov dword [ebp - method.CMainDlg.2.virtual_0], vtable.CMainDlg.2.0
mov dword [ebp - method.CMainDlg.1.virtual_0], vtable.CMainDlg.1.0
mov dword [ebp - method.CMainDlg.virtual_0], vtable.CMainDlg.0
jb 0x402205
push dword [ebp - 0x45c]
call esi
add esp, 4
xor eax, eax
lea ecx, [ebp - 0x528]
mov dword [ebp - 0x448], 7
mov dword [ebp - 0x44c], 0
mov word [ebp - 0x45c], ax
call dword [sym.imp.ouilibx.dll_public_virtual:_void___thiscall_OUI::COVDialog::destructor_void_]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043bd5c
mov esp, ebp
pop ebp
ret