Function at 0x477f40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x519761
mov eax, dword fs:[0]
push eax
sub esp, 0x1b8
mov eax, dword [0x549e00]
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
mov esi, ecx
cmp dword [ebp + 8], 0x565
mov ebx, dword [ebp + 0xc]
jne 0x47814d
lea eax, [esi + 0x10ccc]
xor edi, edi
mov dword [ebp - 0x16c], eax
nop
cmp ebx, eax
jne 0x477fa2
push edi
mov ecx, esi
call fcn.004770f0
mov eax, dword [ebp - 0x16c]
inc edi
add eax, 0x30c
mov dword [ebp - 0x16c], eax
cmp edi, 8
jl 0x477f90
lea eax, [esi + 0x139dc]
cmp ebx, eax
jne 0x477fcb
mov ecx, esi
call fcn.004755c0
xor eax, eax
jmp 0x478080
lea eax, [esi + 0x12b44]
cmp ebx, eax
jne 0x478057
lea ecx, [ebp - 0x1c4]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KIniFile::constructor_void_]
push str._settingsGameSetting.ini
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 4], 0
call dword [sym.imp.Engine.dll_public:_int___thiscall_KIniFile::Load_char_const__]
test eax, eax
je 0x478042
push 0x104
lea eax, [ebp - 0x114]
push eax
push 0x51f5b1
push str.PrePaid
push 0x527744
lea ecx, [ebp - 0x1c4]
call dword [sym.imp.Engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
push 1
push 0
push 0
lea eax, [ebp - 0x114]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.Engine.dll_public:_void___thiscall_KIniFile::destructor_void_]
jmp 0x478070
lea eax, [esi + 0x1252c]
cmp ebx, eax
jne 0x47809e
mov eax, dword [esi + 0x13e68]
inc eax
push eax
mov ecx, esi
call fcn.004773e0
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
push eax
push ebx
push edi
mov ecx, esi
call fcn.0041cda0
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.0048a3c9
mov esp, ebp
pop ebp
ret 0xc
lea eax, [esi + 0x12838]
cmp ebx, eax
jne 0x4780b1
mov eax, dword [esi + 0x13e68]
dec eax
jmp 0x478068
lea eax, [esi + 0x130b8]
cmp ebx, eax
jne 0x4780cc
mov eax, dword [esi + 0x13e6c]
mov ecx, esi
inc eax
push eax
call fcn.00477350
jmp 0x478070
lea eax, [esi + 0x133c4]
cmp ebx, eax
jne 0x4780e7
mov eax, dword [esi + 0x13e6c]
mov ecx, esi
dec eax
push eax
call fcn.00477350
jmp 0x478070
lea eax, [esi + 0x136d0]
cmp ebx, eax
jne 0x478070
cmp dword [esi + 0x13e88], 0
lea edi, [esi + 0x13e88]
je 0x478070
push 0x54
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.004b0500
mov ecx, dword [0x54d3d0]
lea edx, [ebp - 0x168]
add esp, 0xc
mov eax, dword [ecx]
push edx
push edi
push 0x19
call dword [eax + 0x6c]
test eax, eax
je 0x478070
lea eax, [ebp - 0x168]
push eax
push edi
call fcn.00476d20
add esp, 8
jmp 0x478070
mov edi, dword [ebp + 8]
cmp edi, 0x100
jne 0x47817b
cmp ebx, 0x1b
jne 0x478073
cmp dword [0x5509e8], 2
je 0x4781ab
push 2
mov ecx, 0x5509c8
call fcn.00428e20
jmp 0x478073
cmp edi, 0x501
jne 0x478073
cmp ebx, 1
jne 0x478073
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x478076
mov dword [esi + 0x13e88], eax
mov dword [esi + 0x13e8c], 0xffffffff
call fcn.004755c0
jmp 0x478073