Function at 0x4034c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x454aa3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
push 0x4607d0
lea eax, [ebp - 0x14]
push str.BlackDesertPatcher32.pae
push eax
mov dword [ebp - 0x14], ebx
call fcn.00408381
mov eax, dword [ebp - 0x14]
add esp, 0xc
cmp eax, ebx
jne 0x40354b
call fcn.00401b80
test al, al
jne 0x403554
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], 8
jb 0x403528
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408104
add esp, 4
xor edx, edx
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], dx
xor al, al
mov dword [ebp + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.00408a3e
add esp, 4
push 0x44
lea eax, [ebp - 0xdc]
push ebx
push eax
call fcn.00411290
add esp, 0xc
xor eax, eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0xdc], 0x44
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call fcn.00405480
mov byte [ebp - 4], 1
push str.BlackDesertPatcher32.pae
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00405530
add esp, 0x14
mov byte [ebp - 4], 3
mov edi, 8
cmp dword [ebp - 0x38], edi
jb 0x4035bb
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00408104
add esp, 4
xor edx, edx
push 1
mov eax, 0x4608c4
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], ebx
mov word [ebp - 0x4c], dx
call fcn.00404ac0
mov eax, dword [0x465498]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4035e4
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x30]
call fcn.00404ac0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], edi
jae 0x403607
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0xdc]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x40374b
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, eax
call fcn.00407b10
add esp, 4
mov byte [ebp - 4], 4
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x94]
push eax
call fcn.004079a0
add esp, 8
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], edi
jb 0x40365e
mov eax, dword [eax]
mov ecx, dword [0x4666dc]
push eax
push ecx
lea edx, [ebp - 0x68]
push 0x4608c8
push edx
call fcn.00407a00
add esp, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x80], edi
jb 0x40368f
mov eax, dword [ebp - 0x94]
push eax
call fcn.00408104
add esp, 4
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov esi, 7
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], ebx
mov word [ebp - 0x94], cx
cmp dword [ebp - 0x54], edi
jae 0x4036b1
lea eax, [ebp - 0x68]
mov edx, dword [0x466530]
push ebx
push str.Launcher
push eax
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x54], edi
jb 0x4036da
mov eax, dword [ebp - 0x68]
push eax
call fcn.00408104
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x58], ebx
mov word [ebp - 0x68], cx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38], 0x10
jb 0x4036fc
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00408104
add esp, 4
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], edi
jb 0x40371d
mov eax, dword [ebp - 0x30]
push eax
call fcn.00408104
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x403741
mov edx, dword [ebp + 8]
push edx
call fcn.00408104
add esp, 4
xor eax, eax
mov word [ebp + 8], ax
xor al, al
jmp 0x403790
mov byte [ebp - 4], bl
cmp dword [ebp - 0x1c], edi
jb 0x40375f
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00408104
add esp, 4
mov esi, 7
xor edx, edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x1c], edi
jb 0x403788
mov eax, dword [ebp + 8]
push eax
call fcn.00408104
add esp, 4
xor ecx, ecx
mov word [ebp + 8], cx
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], ebx
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret