Function at 0x40aa65
Capabilities:
Create process on windows

Disassembly:
push 0xf4
mov eax, 0x54a44d
call fcn.00530016
call fcn.00418f28
push eax
lea ecx, [ebp - 0x18]
call fcn.004021bf
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00418f28
push eax
lea ecx, [ebp - 0x4c]
call fcn.004021bf
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push ecx
mov ecx, esp
push str.ProgramID
call fcn.004022cc
mov ecx, dword [ebp + 8]
call fcn.00414a75
mov ebx, dword [ebp - 0x4c]
test eax, eax
jne 0x40aac7
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xb
jmp 0x40b160
push dword [ebp + 0xc]
call fcn.00403c3b
pop ecx
test eax, eax
je 0x40b160
call fcn.00418f28
push eax
lea ecx, [ebp - 0x38]
call fcn.004021bf
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55ae2c
mov byte [ebp - 4], 2
call fcn.004022cc
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 3
mov esi, esp
push eax
call fcn.004051bd
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.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004028b3
mov ecx, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov esi, dword [ebp - 0x38]
cmp dword [esi - 0xc], 0
jne 0x40ab65
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x40b158
push str.1000
lea ecx, [ebp - 0x38]
call fcn.0040521c
test eax, eax
je 0x40ab84
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xc
jmp 0x40b158
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55bb38
call fcn.00402249
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 5
mov edi, esp
push eax
call fcn.004051bd
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.004111a0
add esp, 0x18
mov eax, dword [ebp - 0x3c]
mov byte [ebp - 4], 6
cmp dword [eax - 0xc], 0
jne 0x40abe7
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov dword [ecx], 0x46
jmp 0x40b150
push 0x55ae2c
lea ecx, [ebp - 0x2c]
call fcn.004022cc
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.004051bd
add eax, 0x10
pop ecx
mov dword [edi], eax
call fcn.00405d5f
add esp, 0xc
test eax, eax
jne 0x40ac30
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [eax], 0x47
jmp 0x40b142
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push 0x55bb38
call fcn.00402249
mov eax, dword [ebp - 0x2c]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 8
mov edi, esp
push eax
call fcn.004051bd
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.004111a0
add esp, 0x18
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040e33a
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x94]
call fcn.004028b3
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x90]
call fcn.004028b3
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x8c]
call fcn.004028b3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x84]
call fcn.004028b3
push 0x5b5a4c
lea ecx, [ebp - 0x80]
call fcn.004028b3
xor edi, edi
lea ecx, [ebp - 0xbc]
push edi
push edi
call fcn.00405d05
cmp eax, 1
je 0x40acfd
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 0x40b125
cmp dword [ebp + 0x10], edi
je 0x40ad12
mov eax, dword [ebp + 0xc]
mov dword [eax], edi
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
jmp 0x40b125
call fcn.00418f28
push eax
lea ecx, [ebp - 0x30]
call fcn.004021bf
mov byte [ebp - 4], 0xb
call fcn.00418f28
push eax
lea ecx, [ebp - 0x20]
call fcn.004021bf
mov byte [ebp - 4], 0xc
call fcn.00418f28
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021bf
mov byte [ebp - 4], 0xd
call fcn.00418f28
push eax
lea ecx, [ebp - 0x24]
call fcn.004021bf
mov byte [ebp - 4], 0xe
call fcn.00418f28
push eax
lea ecx, [ebp - 0x28]
call fcn.004021bf
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x55bb38
mov byte [ebp - 4], 0xf
call fcn.00402249
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x10
mov edi, esp
push eax
call fcn.004051bd
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.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0x11
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov edi, 0x55ae2c
lea ecx, [ebp - 0x30]
push edi
call fcn.0040521c
test eax, eax
jne 0x40ae1e
push 0x55b650
push str.IDS_INVALID_SERVER_VERSIONFILE
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417894
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x12
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x40af18
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00411562
pop ecx
pop ecx
test eax, eax
jne 0x40ae6f
push 0x55b650
push str.IDS_CANT_GET_PROGRAM_PATH
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417894
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10
jmp 0x40af18
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push edi
call fcn.004022cc
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x14
mov edi, esp
push eax
call fcn.004051bd
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.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xf
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov edi, 0x55ae2c
lea ecx, [ebp - 0x28]
push edi
call fcn.0040521c
test eax, eax
jne 0x40af25
push 0x55b650
push str.IDS_NO_PROGRAM_EXE_NAME
lea eax, [ebp - 0x10]
mov ecx, 0x5b5940
push eax
call fcn.00417894
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x11
mov edi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x40b0f1
xor eax, eax
push 0x40
push eax
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0052ee30
add esp, 0xc
call fcn.00418f28
push eax
lea ecx, [ebp - 0x10]
call fcn.004021bf
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x100], 0x44
call fcn.004022cc
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x18
push eax
push ecx
mov ecx, esp
push str.CurrentMoviePath
call fcn.004022cc
mov ecx, dword [ebp + 8]
call fcn.00414a75
mov eax, dword [ebp - 0x40]
cmp dword [eax - 0xc], 0
je 0x40aff8
push eax
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55adbc
call fcn.004022cc
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.004051bd
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.004051bd
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
pop ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.0041053a
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.00406202
add esp, 0x14
jmp 0x40b063
push ebx
push ecx
mov ecx, esp
mov dword [ebp - 0x50], esp
push 0x55adbc
call fcn.004022cc
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.004051bd
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.004051bd
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x14]
pop ecx
push eax
mov byte [ebp - 4], 0x18
call fcn.0041053a
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 0x1e
push str.__s___s
push eax
call fcn.00406202
add esp, 0x10
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 0x18
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov esi, dword [ebp - 0x10]
push ebx
push esi
push str.gomtv_run_param:__s__s
call fcn.00410863
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 0x40b0b3
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], 0
je 0x40b0c2
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], 0
jne 0x40b0d5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xe
xor eax, eax
jmp 0x40b0d8
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
lea ecx, [ecx - 0x10]
call fcn.00409f91
lea ecx, [esi - 0x10]
call fcn.00409f91
mov esi, dword [ebp - 0x38]
lea ecx, [edi - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00409f91
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 9
call fcn.0040e3d1
mov ecx, dword [ebp - 0x44]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov eax, dword [ebp - 0x3c]
lea ecx, [eax - 0x10]
call fcn.00409f91
lea ecx, [esi - 0x10]
call fcn.00409f91
lea ecx, [ebx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00409f91
mov eax, edi
call fcn.0052ffe4
ret