Function at 0x408a28
Capabilities:
Create process on windows

Disassembly:
push 0xb8
mov eax, 0x54a334
call fcn.00530016
call fcn.00418f28
push eax
lea ecx, [ebp - 0x44]
call fcn.004021bf
xor edi, edi
mov dword [ebp - 4], edi
call fcn.00418f28
push eax
lea ecx, [ebp - 0x54]
call fcn.004021bf
lea eax, [ebp - 0x44]
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 0x408a87
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xb
jmp 0x409765
push SysReAllocString
push dword [ebp - 0x44]
lea eax, [ebp - 0x34]
push str.GRETECH
push eax
call fcn.00410cd4
push str._GrVersion_temp_.ini
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push eax
call fcn.00402acf
add esp, 0x1c
push eax
mov ecx, 0x5b5a50
mov byte [ebp - 4], 3
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00409f91
lea eax, [ebp - 0x54]
push eax
push ecx
mov ecx, esp
push str.LaunchParam
call fcn.004022cc
mov ecx, dword [ebp + 8]
call fcn.00414a75
lea eax, [ebp - 0x70]
push eax
call fcn.0052ff93
push dword [0x5b5a50]
call fcn.004064a5
pop ecx
pop ecx
mov esi, eax
mov dword [ebp - 0x10], edx
call fcn.00418f28
push eax
lea ecx, [ebp - 0x50]
call fcn.004021bf
push dword [0x5b5a50]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 4
push str.before_check_file:__s
push eax
call fcn.00406202
mov ebx, dword [ebp - 0x50]
push ebx
call fcn.00410863
add esp, 0x10
cmp dword [0x5b5a34], 0
jne 0x408b7a
mov ecx, dword [ebp - 0x10]
mov edx, esi
add edx, 0x2a30
mov eax, ecx
adc eax, edi
cmp eax, dword [ebp - 0x6c]
jl 0x408b7a
jg 0x408b66
cmp edx, dword [ebp - 0x70]
jb 0x408b7a
sub esi, 0x2a30
sbb ecx, edi
cmp ecx, dword [ebp - 0x6c]
jl 0x408b8b
jg 0x408b7a
cmp esi, dword [ebp - 0x70]
jbe 0x408b8b
push dword [ebp + 0xc]
call fcn.0040b198
pop ecx
test eax, eax
je 0x40975d
call fcn.00418f28
push eax
lea ecx, [ebp - 0x5c]
call fcn.004021bf
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55bfe0
mov byte [ebp - 4], 5
call fcn.00402249
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 6
mov esi, esp
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esp], str.MIN_OS
mov dword [esi], eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x44]
mov byte [ebp - 4], 5
push eax
call fcn.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00409f91
push str.none
lea ecx, [ebp - 0x5c]
call fcn.0040521c
test eax, eax
je 0x408cb2
call fcn.00418f28
push eax
lea ecx, [ebp - 0x14]
call fcn.004021bf
mov byte [ebp - 4], 8
call fcn.00418f28
push eax
lea ecx, [ebp - 0x38]
call fcn.004021bf
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
push 0x2e
push edi
push esi
push eax
mov byte [ebp - 4], 9
call fcn.00418b74
push 0x2e
push 1
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.00418b74
push dword [ebp - 0x14]
call fcn.0052faf8
push dword [ebp - 0x38]
mov edi, eax
call fcn.0052faf8
push eax
push edi
call fcn.00407bf3
mov ecx, dword [ebp - 0x38]
add esp, 0x10
lea ecx, [ecx - 0x10]
test al, al
jne 0x408c9c
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x31
call fcn.00409f91
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00409f91
xor edi, edi
jmp 0x409755
call fcn.00409f91
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 5
lea ecx, [ecx - 0x10]
call fcn.00409f91
xor edi, edi
call fcn.00418f28
push eax
lea ecx, [ebp - 0x60]
call fcn.004021bf
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55ae2c
mov byte [ebp - 4], 0xa
call fcn.004022cc
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0xb
mov esi, esp
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esp], str.GRLAUNCHER_VERSION
mov dword [esi], eax
lea eax, [ebp - 0x10]
push str.GENERAL
push eax
mov byte [ebp - 4], 0xa
call fcn.004111a0
add esp, 0x18
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.004028b3
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0xa
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov eax, dword [ebp - 0x60]
cmp dword [eax - 0xc], 0
jne 0x408d3f
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x32
jmp 0x409747
push str.1000
lea ecx, [ebp - 0x60]
call fcn.0040521c
test eax, eax
je 0x408d5e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xc
jmp 0x409747
call fcn.00418f28
push eax
lea ecx, [ebp - 0x24]
call fcn.004021bf
mov byte [ebp - 4], 0xd
call fcn.00418f28
push eax
lea ecx, [ebp - 0x40]
call fcn.004021bf
mov byte [ebp - 4], 0xe
call fcn.00418f28
push eax
lea ecx, [ebp - 0x48]
call fcn.004021bf
mov byte [ebp - 4], 0xf
call fcn.00418f28
push eax
lea ecx, [ebp - 0x58]
call fcn.004021bf
mov byte [ebp - 4], 0x10
call fcn.00418f28
push eax
lea ecx, [ebp - 0x4c]
call fcn.004021bf
mov byte [ebp - 4], 0x11
call fcn.00418f28
push eax
lea ecx, [ebp - 0x38]
call fcn.004021bf
mov esi, dword [ebp + 0xc]
push esi
push dword [0x5b5a50]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
call fcn.0040b3b2
pop ecx
pop ecx
test eax, eax
jne 0x408dfc
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x40]
mov dword [esi], 0x2d
jmp 0x409705
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x44]
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
mov esi, dword [ebp - 0x24]
add esp, 0x30
cmp dword [ebp + 0x10], 0
mov edi, dword [ebp - 0x40]
je 0x4093ac
test eax, eax
jne 0x408e64
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x28
jmp 0x408fdf
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x18]
jge 0x408e7a
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x29
jmp 0x408fdf
cmp dword [0x5b5a3c], 0
je 0x408e99
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jge 0x408e99
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x2a
jmp 0x408fdf
cmp dword [0x5b5a40], 0
je 0x408fd9
cmp dword [edi - 0xc], 0
je 0x408fdf
xor eax, eax
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebp - 0x3c], eax
call fcn.00418f28
push eax
lea ecx, [ebp - 0x14]
call fcn.004021bf
push ebx
push 0x55c038
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
call fcn.00405feb
mov dword [ebp - 0x20], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x408ee7
mov ecx, dword [edi - 0xc]
sub ecx, ebx
lea eax, [ebp - 0x30]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x40]
call fcn.00407a7d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.004028b3
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 0x13
lea ecx, [ecx - 0x10]
call fcn.00409f91
push dword [ebp - 0x14]
call fcn.0052faf8
mov ebx, dword [ebp - 0x1c]
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x2c], eax
push ebx
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x24]
push 0x55c038
call fcn.00405feb
mov dword [ebp - 0x1c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x408f44
mov ecx, dword [esi - 0xc]
sub ecx, ebx
lea eax, [ebp - 0x28]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00407a7d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x15
call fcn.004028b3
mov ecx, dword [ebp - 0x28]
mov byte [ebp - 4], 0x13
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0052faf8
push dword [ebp - 0x2c]
inc dword [ebp - 0x1c]
push eax
push 0x55c03c
mov dword [ebp - 0x20], eax
call fcn.00410863
mov eax, dword [ebp - 0x20]
add esp, 0x10
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0x12
cmp eax, ecx
jg 0x408fcf
cmp ecx, eax
lea ecx, [ebx - 0x10]
jg 0x408fbf
call fcn.00409f91
mov eax, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x3c], eax
cmp eax, 4
jl 0x408eba
jmp 0x408fdf
call fcn.00409f91
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x2b
jmp 0x408fdf
lea ecx, [ebx - 0x10]
call fcn.00409f91
jmp 0x408fdf
mov eax, dword [ebp + 0xc]
and dword [eax], 0
cmp dword [0x5b5a44], 0
je 0x409109
mov eax, dword [ebp - 0x48]
cmp dword [eax - 0xc], 0
je 0x409109
xor eax, eax
xor ebx, ebx
and dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], eax
call fcn.00418f28
push eax
lea ecx, [ebp - 0x14]
call fcn.004021bf
push ebx
push 0x55c038
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.00405feb
mov dword [ebp - 0x30], eax
cmp eax, 0xffffffff
je 0x40902f
mov ecx, eax
jmp 0x409035
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax - 0xc]
sub ecx, ebx
lea eax, [ebp - 0x3c]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00407a7d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x17
call fcn.004028b3
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x16
lea ecx, [ecx - 0x10]
call fcn.00409f91
push dword [ebp - 0x14]
call fcn.0052faf8
mov ebx, dword [ebp - 0x1c]
inc dword [ebp - 0x30]
pop ecx
push ebx
push 0x55c038
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x28], eax
call fcn.00405feb
mov dword [ebp - 0x1c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x40908e
mov ecx, dword [esi - 0xc]
sub ecx, ebx
lea eax, [ebp - 0x20]
push ecx
push ebx
push eax
lea ecx, [ebp - 0x24]
call fcn.00407a7d
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x18
call fcn.004028b3
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0052faf8
inc dword [ebp - 0x1c]
pop ecx
mov ecx, eax
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x28]
cmp ecx, eax
jg 0x409101
cmp eax, ecx
lea ecx, [ebx - 0x10]
jg 0x4090f1
call fcn.00409f91
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jl 0x409003
jmp 0x409109
call fcn.00409f91
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x2c
jmp 0x409109
lea ecx, [ebx - 0x10]
call fcn.00409f91
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x55bb38
call fcn.00402249
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x19
mov ebx, esp
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esp], str.MODULE_UPDATE_URL
mov dword [ebx], eax
lea eax, [ebp - 0x10]
push dword [ebp - 0x44]
mov byte [ebp - 4], 0x12
push eax
call fcn.004111a0
add esp, 0x18
push 0xffffffffffffffff
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x55bb38
mov byte [ebp - 4], 0x1a
call fcn.00402249
mov eax, dword [0x5b5a50]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 0x1b
mov ebx, esp
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esp], str.CHECK_BUILD_VERSION
mov dword [ebx], eax
lea eax, [ebp - 0x34]
push dword [ebp - 0x44]
mov byte [ebp - 4], 0x1a
push eax
call fcn.004111a0
add esp, 0x18
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0x1c
cmp dword [eax - 0xc], 0
je 0x409387
call fcn.00418f28
push eax
lea ecx, [ebp - 0x3c]
call fcn.004021bf
mov byte [ebp - 4], 0x1d
call fcn.00418f28
push eax
lea ecx, [ebp - 0x30]
call fcn.004021bf
mov byte [ebp - 4], 0x1e
call fcn.00418f28
push eax
lea ecx, [ebp - 0x18]
call fcn.004021bf
mov byte [ebp - 4], 0x1f
call fcn.00418f28
push eax
lea ecx, [ebp - 0x1c]
call fcn.004021bf
mov byte [ebp - 4], 0x20
call fcn.00418f28
push eax
lea ecx, [ebp - 0x28]
call fcn.004021bf
mov byte [ebp - 4], 0x21
call fcn.00418f28
push eax
lea ecx, [ebp - 0x20]
call fcn.004021bf
mov byte [ebp - 4], 0x22
call fcn.00418f28
push eax
lea ecx, [ebp - 0x14]
call fcn.004021bf
mov byte [ebp - 4], 0x23
call fcn.00418f28
push eax
lea ecx, [ebp - 0x2c]
call fcn.004021bf
push 0x2e
xor ebx, ebx
mov byte [ebp - 4], 0x24
push ebx
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00418b74
push 0x2e
push 1
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.00418b74
push 0x2e
push 2
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00418b74
push 0x2e
push 3
push esi
lea eax, [ebp - 0x1c]
push eax
call fcn.00418b74
push 0x2e
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.00418b74
push 0x2e
push 1
push edi
lea eax, [ebp - 0x20]
push eax
call fcn.00418b74
push 0x2e
push 2
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.00418b74
push 0x2e
push 3
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00418b74
push str.TRUE
lea ecx, [ebp - 0x34]
call fcn.0040521c
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x28]
test eax, eax
jne 0x4092f0
call fcn.0040521c
test eax, eax
jne 0x40932f
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
call fcn.0040521c
test eax, eax
jne 0x40932f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040521c
test eax, eax
jne 0x40932f
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
jmp 0x40930e
call fcn.0040521c
test eax, eax
jne 0x40932f
push dword [ebp - 0x20]
lea ecx, [ebp - 0x30]
call fcn.0040521c
test eax, eax
jne 0x40932f
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.0040521c
test eax, eax
jne 0x40932f
mov ebx, dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call fcn.00403c9f
pop ecx
pop ecx
test eax, eax
je 0x40932f
mov dword [ebx], 0x2e
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x18], 1
jmp 0x409708
test eax, eax
je 0x4093fa
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jl 0x4093fa
cmp dword [0x5b5a3c], 0
je 0x4093c9
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x4093fa
cmp dword [0x5b5a40], 0
je 0x4093df
push edi
lea ecx, [ebp - 0x24]
call fcn.0040521c
test eax, eax
jne 0x4093fa
cmp dword [0x5b5a44], 0
je 0x40949b
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x2c
jne 0x40949b
jmp 0x4093fd
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0x32
jne 0x409406
xor eax, eax
jmp 0x409440
and dword [eax], 0
push eax
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 0x44]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x10], esp
push eax
call fcn.004051bd
pop ecx
mov ecx, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
call fcn.00407416
add esp, 0xc
test eax, eax
jne 0x409448
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jne 0x409440
mov dword [ecx], 0xd
mov dword [ebp - 0x18], eax
jmp 0x409708
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x44]
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
mov edi, dword [ebp - 0x40]
add esp, 0x30
test eax, eax
je 0x409700
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x28], eax
jl 0x4096f7
cmp dword [0x5b5a3c], 0
je 0x4094bc
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jl 0x4096f7
cmp dword [0x5b5a40], 0
je 0x4094d6
push edi
lea ecx, [ebp - 0x24]
call fcn.0040521c
test eax, eax
jne 0x4096f7
cmp dword [ebp + 0x14], 0
je 0x4094ee
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], 1
and dword [eax], 0
jmp 0x409705
lea eax, [ebp - 0x10]
xor esi, esi
push eax
mov dword [ebp - 0x68], esi
call fcn.004119bb
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x25
push ecx
push dword [eax]
call fcn.0040f65a
mov ecx, dword [ebp - 0x10]
add esp, 0xc
neg eax
mov byte [ebp - 4], 0x12
sbb al, al
add ecx, 0xfffffff0
inc al
mov dword [ebp - 0x34], eax
call fcn.00409f91
cmp byte [ebp - 0x34], 0
je 0x409545
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp dword [ebp - 0x68], 3
mov dword [ebp - 0x18], esi
sete al
add eax, 0x21
mov dword [ecx], eax
jmp 0x409705
push 0x40
lea eax, [ebp - 0xc0]
push esi
push eax
call fcn.0052ee30
add esp, 0xc
mov dword [ebp - 0xc4], 0x44
lea ecx, [ebp - 0x64]
push 0x55ae2c
call fcn.004022cc
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x26
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 - 0x64]
cmp dword [eax - 0xc], 0
je 0x409604
push eax
push dword [ebp - 0x54]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55adbc
call fcn.004022cc
mov eax, dword [ebp - 0x38]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
mov byte [ebp - 4], 0x27
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0x28
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
mov byte [ebp - 4], 0x26
call fcn.0041053a
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x29
push str.__s___s__open___s_
push eax
call fcn.00406202
add esp, 0x14
jmp 0x409671
push dword [ebp - 0x54]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x55adbc
call fcn.004022cc
mov eax, dword [ebp - 0x38]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov esi, esp
mov byte [ebp - 4], 0x2a
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esi], eax
mov eax, dword [ebp - 0x4c]
mov esi, esp
add eax, 0xfffffff0
mov byte [ebp - 4], 0x2b
push eax
call fcn.004051bd
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x10]
pop ecx
push eax
mov byte [ebp - 4], 0x26
call fcn.0041053a
add esp, 0x10
push dword [eax]
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 0x2c
push str.__s___s
push eax
call fcn.00406202
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 0x26
lea ecx, [ecx - 0x10]
call fcn.00409f91
push dword [ebp - 0x54]
mov ebx, dword [ebp - 0x50]
push ebx
push str.gomtv_run_param:__s__s
call fcn.00410863
add esp, 0xc
lea eax, [ebp - 0x80]
xor esi, esi
push eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0x4c]
push esi
push esi
push esi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x80], esi
je 0x4096c2
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x7c], esi
je 0x4096d0
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x10], esi
jne 0x4096e3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov dword [eax], 0xe
jmp 0x4096ea
mov dword [ebp - 0x18], 1
mov ecx, dword [ebp - 0x64]
lea ecx, [ecx - 0x10]
call fcn.00409f91
jmp 0x409705
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x15
xor eax, eax
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x4c]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x58]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx - 0x10]
call fcn.00409f91
lea ecx, [edi - 0x10]
call fcn.00409f91
lea ecx, [esi - 0x10]
call fcn.00409f91
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.00409f91
mov esi, dword [ebp - 0x5c]
lea ecx, [esi - 0x10]
call fcn.00409f91
lea ecx, [ebx - 0x10]
call fcn.00409f91
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.00409f91
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.00409f91
mov eax, edi
call fcn.0052ffe4
ret