Function at 0x41385e
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x49a7b1
call fcn.00498a28
sub esp, 0x16c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
push 0x10
xor esi, esi
pop ecx
mov eax, dword [edi + 0x200]
lock or dword [eax], ecx
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x413890
mov eax, dword [ecx]
push edi
call dword [eax + 4]
movzx eax, byte [edi + 0x1b9]
lea ecx, [edi + 0x20]
imul eax, eax, 0x18
add eax, ecx
lea ecx, [ebp - 0x38]
push eax
call fcn.00403962
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
push eax
mov ecx, edi
call fcn.00410b4e
mov byte [ebp - 4], 1
cmp dword [ebp - 0x3c], 7
push 0x40
pop eax
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x50]
cmova eax, dword [ebp - 0x50]
cmp dword [ebp - 0x24], 7
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x38]
cmova eax, dword [ebp - 0x38]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0xa4], 0x3c
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x98], 0x4b3bf8
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], 5
mov dword [ebp - 0x84], esi
call fcn.0040bdc2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], 0x62
push eax
mov edx, str.Launching
mov dword [ebp - 0x1c], 5
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], str.C:BooCode_OffergateMultiSetupoglibOGLiboglib_serviceslauncher.cpp
mov dword [ebp - 0x14], str.void___cdecl_og::Launcher::Launch_class_og::Package__class_og::Launcher__
call fcn.00413d30
pop ecx
mov byte [ebp - 4], 2
lea esi, [ebp - 0x20]
mov ecx, dword [0x4cdcd0]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 1
call fcn.00402f3d
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
push 1
lea ecx, [ebp - 0xf8]
mov esi, eax
call fcn.0040baad
xor edx, edx
mov byte [ebp - 4], 3
xor ecx, ecx
cmp esi, 1
jne 0x413b01
call fcn.0040bdc2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], 0x68
mov esi, str.C:BooCode_OffergateMultiSetupoglibOGLiboglib_serviceslauncher.cpp
mov dword [ebp - 0x1c], 9
push eax
mov edx, str.Launch_waiting__
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x14], str.void___cdecl_og::Launcher::Launch_class_og::Package__class_og::Launcher__
call fcn.00413d30
mov byte [ebp - 4], 4
mov ecx, eax
mov dword [esp], str.Cmd_line__
call fcn.00406489
push eax
lea ecx, [ebp - 0xd4]
call fcn.00405f50
mov byte [ebp - 4], 5
lea eax, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
lea ecx, [ebp - 0xd4]
push dword [ebp - 0x28]
cmova eax, dword [ebp - 0x38]
push eax
call fcn.004064b0
push eax
lea ecx, [ebp - 0xbc]
call fcn.00405f50
mov byte [ebp - 4], 6
lea edx, [ebp - 0x20]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0xbc]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xbc]
call fcn.00402f3d
lea ecx, [ebp - 0xd4]
call fcn.00402f3d
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00402f3d
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x6c], 0
je 0x413a9a
push 0xffffffffffffffff
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x413a91
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x1f0], eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
xor ecx, ecx
call fcn.0040bdc2
lea eax, [ebp - 0x50]
mov dword [ebp - 0x20], 0x73
push eax
mov edx, str.Launch_finished__
mov dword [ebp - 0x1c], 9
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], str.void___cdecl_og::Launcher::Launch_class_og::Package__class_og::Launcher__
call fcn.00413d30
pop ecx
mov byte [ebp - 4], 7
lea esi, [ebp - 0x20]
mov ecx, dword [0x4cdcd0]
push esi
push eax
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00402f3d
mov eax, dword [edi + 0x200]
push 0x40
pop ecx
lock or dword [eax], ecx
push 0x20
pop edx
jmp 0x413c56
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x1f0], eax
call fcn.0040bdc2
lea eax, [ebp - 0xec]
mov dword [ebp - 0x20], 0x7b
mov esi, str.C:BooCode_OffergateMultiSetupoglibOGLiboglib_serviceslauncher.cpp
mov dword [ebp - 0x1c], 9
push eax
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], str.void___cdecl_og::Launcher::Launch_class_og::Package__class_og::Launcher__
call fcn.00403962
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x130]
mov edx, dword [ebp - 0xf4]
call fcn.0040bd44
mov esi, eax
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 9
push eax
mov edx, str.Launch_error_for
lea ecx, [ebp - 0x110]
call fcn.00413d30
mov byte [ebp - 4], 0xa
mov ecx, eax
mov dword [esp], str.__last_error
call fcn.00406489
push eax
lea ecx, [ebp - 0x160]
call fcn.00405f50
push esi
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0x148]
call fcn.00413dc6
push str.._Last_message:
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 0xc
call fcn.00406489
push eax
lea ecx, [ebp - 0xbc]
call fcn.00405f50
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xbc]
push eax
push dword [ebp - 0x10]
lea ecx, [ebp - 0xd4]
call fcn.00413dc6
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x20]
mov ecx, dword [0x4cdcd0]
push edx
lea edx, [ebp - 0xd4]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xd4]
call fcn.00402f3d
lea ecx, [ebp - 0xbc]
call fcn.00402f3d
lea ecx, [ebp - 0x148]
call fcn.00402f3d
lea ecx, [ebp - 0x160]
call fcn.00402f3d
lea ecx, [ebp - 0x110]
call fcn.00402f3d
lea ecx, [ebp - 0x130]
call fcn.00402f3d
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x68]
call fcn.00402f3d
mov eax, dword [edi + 0x200]
push 0x20
pop edx
lock or dword [eax], edx
mov eax, dword [edi + 0x200]
push 0xffffffffffffffef
pop ecx
lock and dword [eax], ecx
push edx
lea edx, [ebp - 0x50]
lea ecx, [ebp - 0x130]
call fcn.00413d8a
pop ecx
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x24], 7
push dword [ebp - 0x28]
cmova ecx, dword [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.004064b0
push eax
lea ecx, [ebp - 0x178]
call fcn.00405f50
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x11
call fcn.00402f3d
mov eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0xec]
push eax
call fcn.00403962
mov byte [ebp - 4], 0x12
mov ecx, dword [ebx + 0x38]
test ecx, ecx
je 0x413cf0
mov eax, dword [ecx]
lea edx, [ebp - 0x118]
push edx
lea edx, [ebp - 0x178]
push edx
push edi
call dword [eax + 8]
lea ecx, [ebp - 0x110]
call fcn.00402f3d
lea ecx, [ebp - 0x178]
call fcn.00402f3d
lea ecx, [ebp - 0xec]
call fcn.00402f3d
lea ecx, [ebp - 0x50]
call fcn.00402f3d
lea ecx, [ebp - 0x38]
call fcn.00402f3d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret