Function at 0x4085a8
Capabilities:
Create process on windows

Disassembly:
push 0x98
mov eax, 0x54a1ae
call fcn.00530016
call fcn.00418f28
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021bf
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00418f28
push eax
lea ecx, [ebp - 0x28]
call fcn.004021bf
lea eax, [ebp - 0x1c]
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
test eax, eax
jne 0x408607
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xb
jmp 0x408a0a
lea eax, [ebp - 0x28]
push eax
push ecx
mov ecx, esp
push str.LaunchParam
call fcn.004022cc
mov ecx, dword [ebp + 8]
call fcn.00414a75
lea eax, [ebp - 0x4c]
push eax
call fcn.0052ff93
push dword [0x5b5a50]
call fcn.004064a5
cmp dword [0x5b5a34], 0
pop ecx
pop ecx
jne 0x408668
mov esi, eax
mov ebx, 0x2a30
add esi, ebx
mov ecx, edx
adc ecx, edi
cmp ecx, dword [ebp - 0x48]
jl 0x408668
jg 0x408658
cmp esi, dword [ebp - 0x4c]
jb 0x408668
sub eax, ebx
sbb edx, edi
cmp edx, dword [ebp - 0x48]
jl 0x40867a
jg 0x408668
cmp eax, dword [ebp - 0x4c]
jbe 0x40867a
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0040b198
pop ecx
test eax, eax
je 0x408a0a
call fcn.00418f28
push eax
lea ecx, [ebp - 0x14]
call fcn.004021bf
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x10], 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 - 0x2c]
push str.GENERAL
push eax
mov byte [ebp - 4], 2
call fcn.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.004028b3
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 2
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
jne 0x408707
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x408a02
push str.1000
lea ecx, [ebp - 0x14]
call fcn.0040521c
test eax, eax
je 0x408726
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xc
jmp 0x408a02
call fcn.00418f28
push eax
lea ecx, [ebp - 0x2c]
call fcn.004021bf
mov byte [ebp - 4], 5
call fcn.00418f28
push eax
lea ecx, [ebp - 0x40]
call fcn.004021bf
mov byte [ebp - 4], 6
call fcn.00418f28
push eax
lea ecx, [ebp - 0x38]
call fcn.004021bf
mov byte [ebp - 4], 7
call fcn.00418f28
push eax
lea ecx, [ebp - 0x34]
call fcn.004021bf
mov byte [ebp - 4], 8
call fcn.00418f28
push eax
lea ecx, [ebp - 0x24]
call fcn.004021bf
mov byte [ebp - 4], 9
call fcn.00418f28
push eax
lea ecx, [ebp - 0x30]
call fcn.004021bf
push dword [ebp + 0xc]
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xa
push eax
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004051bd
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.00407416
add esp, 0xc
test eax, eax
je 0x4089ba
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004051bd
add eax, 0x10
pop ecx
mov dword [esi], eax
call fcn.004049b5
add esp, 0x30
test eax, eax
je 0x4089ba
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x44]
jl 0x4089b1
cmp dword [0x5b5a3c], 0
je 0x40882f
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x10]
jl 0x4089b1
cmp dword [ebp + 0x10], 0
je 0x408840
xor eax, eax
inc eax
mov dword [ebp - 0x14], eax
jmp 0x4089bd
lea eax, [ebp - 0x10]
mov dword [ebp - 0x3c], edi
push eax
call fcn.004119bb
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push ecx
push dword [eax]
call fcn.0040f65a
mov ecx, dword [ebp - 0x10]
add esp, 0xc
neg eax
mov byte [ebp - 4], 0xa
sbb al, al
add ecx, 0xfffffff0
inc al
mov dword [ebp - 0x18], eax
call fcn.00409f91
cmp byte [ebp - 0x18], 0
je 0x408892
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp - 0x3c], 3
sete al
add eax, 0x21
mov dword [ecx], eax
jmp 0x4089ba
push 0x40
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0052ee30
add esp, 0xc
mov dword [ebp - 0xa4], 0x44
call fcn.00418f28
push eax
lea ecx, [ebp - 0x20]
call fcn.004021bf
push dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x55adbc
call fcn.004022cc
mov esi, dword [ebp - 0x30]
push ecx
mov dword [ebp - 0x44], esp
mov edi, esp
mov byte [ebp - 4], 0xd
lea eax, [esi - 0x10]
push eax
call fcn.004051bd
add eax, 0x10
mov dword [edi], eax
mov eax, dword [ebp - 0x24]
mov edi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0xe
push eax
call fcn.004051bd
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
mov byte [ebp - 4], 0xc
call fcn.0041053a
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0xf
push str.__s___s
push eax
call fcn.00406202
mov ecx, dword [ebp - 0x10]
add esp, 0x10
mov byte [ebp - 4], 0xc
lea ecx, [ecx - 0x10]
call fcn.00409f91
push dword [ebp - 0x28]
mov edi, dword [ebp - 0x20]
push edi
push str.gomtv_run_param:__s__s
call fcn.00410863
add esp, 0xc
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0xa4]
push eax
push dword [ebp - 0x24]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x5c], 0
mov dword [ebp - 0x10], eax
je 0x40897f
push dword [ebp - 0x5c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x58], 0
je 0x40898e
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], 0
jne 0x4089a1
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xe
xor eax, eax
jmp 0x4089a4
xor eax, eax
inc eax
lea ecx, [edi - 0x10]
mov dword [ebp - 0x14], eax
call fcn.00409f91
jmp 0x4089c0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x17
mov dword [ebp - 0x14], edi
mov esi, dword [ebp - 0x30]
lea ecx, [esi - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x40]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov edi, dword [ebp - 0x14]
lea ecx, [ebx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.00409f91
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00409f91
mov eax, edi
call fcn.0052ffe4
ret