Function at 0x40a59e
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x549fef
call fcn.0052fc27
call fcn.00418b84
push eax
lea ecx, [ebp - 0x18]
call fcn.004021f8
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00418b84
push eax
lea ecx, [ebp - 0x4c]
call fcn.004021f8
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push ecx
mov ecx, esp
push str.ProgramID
call fcn.00402305
mov ecx, dword [ebp + 8]
call fcn.00414724
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x40a600
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xb
jmp 0x40ac99
push dword [ebp + 0xc]
call fcn.00403e88
pop ecx
test eax, eax
je 0x40ac99
call fcn.00418b84
push eax
lea ecx, [ebp - 0x38]
call fcn.004021f8
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55ae2c
mov byte [ebp - 4], 2
call fcn.00402305
mov eax, dword [0x5b5a54]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 3
mov esi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esp], str.GRLAUNCHER_VERSION
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push str.GENERAL
push eax
mov byte [ebp - 4], 2
call fcn.00410d7e
add esp, 0x18
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00402900
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov esi, dword [ebp - 0x38]
cmp dword [esi - 0xc], 0
jne 0x40a69e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x40ac91
push str.1000
lea ecx, [ebp - 0x38]
call fcn.00404f1e
test eax, eax
je 0x40a6bd
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xc
jmp 0x40ac91
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55bb38
call fcn.00402282
mov eax, dword [0x5b5a54]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 5
mov edi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esp], str.MODULE_UPDATE_URL
mov dword [edi], eax
lea eax, [ebp - 0x3c]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
call fcn.00410d7e
add esp, 0x18
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
jne 0x40a720
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov dword [ecx], 0x46
jmp 0x40ac89
push 0x55ae2c
lea ecx, [ebp - 0x2c]
call fcn.00402305
push dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 7
push eax
mov eax, dword [ebp - 0x3c]
push ecx
add eax, 0xfffffff0
mov edi, esp
push eax
call fcn.00404ebf
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00405a71
add esp, 0xc
test eax, eax
jne 0x40a769
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [eax], 0x47
jmp 0x40ac7b
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55bb38
call fcn.00402282
mov eax, dword [ebp - 0x2c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 8
mov edi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esp], str.SETUP_URL
mov dword [edi], eax
lea eax, [ebp - 0x44]
push str.GENERAL
push eax
mov byte [ebp - 4], 7
call fcn.00410d7e
add esp, 0x18
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040de5e
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x94]
call fcn.00402900
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.00402900
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
call fcn.00402900
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.00402900
push 0x5b5a50
lea ecx, [ebp - 0x80]
call fcn.00402900
xor edi, edi
lea ecx, [ebp - 0xbc]
push edi
push edi
call fcn.00405a17
cmp eax, 1
je 0x40a836
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp + 0xc]
neg eax
mov dword [ebp - 0x10], edi
sbb eax, eax
add eax, 7
mov dword [ecx], eax
jmp 0x40ac5e
cmp dword [ebp + 0x10], edi
je 0x40a84b
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40ac5e
call fcn.00418b84
push eax
lea ecx, [ebp - 0x30]
call fcn.004021f8
mov byte [ebp - 4], 0xb
call fcn.00418b84
push eax
lea ecx, [ebp - 0x20]
call fcn.004021f8
mov byte [ebp - 4], 0xc
call fcn.00418b84
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021f8
mov byte [ebp - 4], 0xd
call fcn.00418b84
push eax
lea ecx, [ebp - 0x24]
call fcn.004021f8
mov byte [ebp - 4], 0xe
call fcn.00418b84
push eax
lea ecx, [ebp - 0x28]
call fcn.004021f8
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x55bb38
mov byte [ebp - 4], 0xf
call fcn.00402282
mov eax, dword [0x5b5a54]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
mov edi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esp], str.PATH_REG
mov dword [edi], eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
call fcn.00410d7e
add esp, 0x18
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.00402900
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov edi, 0x55ae2c
lea ecx, [ebp - 0x30]
push edi
call fcn.00404f1e
test eax, eax
jne 0x40a957
push 0x55b650
push str.IDS_INVALID_SERVER_VERSIONFILE
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417500
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.00402900
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x40aa51
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00411140
pop ecx
pop ecx
test eax, eax
jne 0x40a9a8
push 0x55b650
push str.IDS_CANT_GET_PROGRAM_PATH
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417500
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.00402900
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10
jmp 0x40aa51
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
call fcn.00402305
mov eax, dword [0x5b5a54]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
mov edi, esp
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esp], str.EXE_NAME
mov dword [edi], eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
call fcn.00410d7e
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.00402900
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov edi, 0x55ae2c
lea ecx, [ebp - 0x28]
push edi
call fcn.00404f1e
test eax, eax
jne 0x40aa5e
push 0x55b650
push str.IDS_NO_PROGRAM_EXE_NAME
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417500
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.00402900
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x11
mov edi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x40ac2a
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0052ea60
add esp, 0xc
call fcn.00418b84
push eax
lea ecx, [ebp - 0x10]
call fcn.004021f8
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x100], 0x44
call fcn.00402305
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
push ecx
mov ecx, esp
push str.CurrentMoviePath
call fcn.00402305
mov ecx, dword [ebp + 8]
call fcn.00414724
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], 0
je 0x40ab31
push eax
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55adbc
call fcn.00402305
mov edi, dword [ebp - 0x28]
push ecx
mov dword [ebp - 0x48], esp
mov esi, esp
mov byte [ebp - 4], 0x19
lea eax, [edi - 0x10]
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1a
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
pop ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.00410061
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x1b
push str.__s___s__open___s_
push eax
call fcn.00405f14
add esp, 0x14
jmp 0x40ab9c
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x55adbc
call fcn.00402305
mov edi, dword [ebp - 0x28]
push ecx
mov dword [ebp - 0x48], esp
mov esi, esp
mov byte [ebp - 4], 0x1c
lea eax, [edi - 0x10]
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x24]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1d
push eax
call fcn.00404ebf
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
pop ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.00410061
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x1e
push str.__s___s
push eax
call fcn.00405f14
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x18
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov esi, dword [ebp - 0x10]
push ebx
push esi
push str.gomtv_run_param:__s__s
call fcn.00410441
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x24]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x60], 0
mov dword [ebp - 0x14], eax
je 0x40abec
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], 0
je 0x40abfb
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x40ac0e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xe
xor eax, eax
jmp 0x40ac11
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
lea ecx, [ecx - 0x10]
call fcn.00409ada
lea ecx, [esi - 0x10]
call fcn.00409ada
mov esi, dword [ebp - 0x38]
lea ecx, [edi - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00409ada
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040def5
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00409ada
mov eax, dword [ebp - 0x3c]
lea ecx, [eax - 0x10]
call fcn.00409ada
lea ecx, [esi - 0x10]
call fcn.00409ada
lea ecx, [ebx - 0x10]
call fcn.00409ada
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00409ada
mov eax, edi
call fcn.0052fbf5
ret