Function at 0x41ec30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf783
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x290
push esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push 0x4d5950
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x8c], 0
push eax
call fcn.00419fc0
mov byte [ebp - 4], 1
push str.BlackDesertPatcher32.pae
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00419f30
add esp, 0x18
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41eca4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push eax
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0xa4]
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x2c], 7
call fcn.00409500
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push 0x4d6014
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004a77d8
mov eax, dword [ebp - 0x8c]
add esp, 0xc
test eax, eax
jne 0x41ed17
call fcn.0041dc60
test al, al
je 0x41ed29
jmp 0x41ed20
push eax
call fcn.004b1ad9
add esp, 4
cmp byte [0x501ec2], 1
jne 0x41ed32
mov byte [ebp - 0xd], 0
jmp 0x41f54a
xor eax, eax
mov dword [ebp - 0x78], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x88], ax
lea ecx, [ebp - 0x88]
lea eax, [ebp + 8]
mov dword [ebp - 0x74], 0
push eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
call fcn.00409500
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push 1
push 0x4d5950
call fcn.00416670
push 0x1d
push str.BlackDesertPatcher32.pae.temp
lea ecx, [ebp - 0x88]
call fcn.00416670
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
push 0x4d5710
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.004a77c1
add esp, 8
test eax, eax
je 0x41ee7d
push eax
call fcn.004b1ad9
add esp, 4
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0
push eax
call fcn.00409500
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
push 1
push 0x4d5950
call fcn.00416670
push 0x18
push str.BlackDesertPatcher32.pae
lea ecx, [ebp - 0x28]
call fcn.00416670
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0x4d5710
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.004a77c1
add esp, 8
test eax, eax
je 0x41ee4b
push eax
call fcn.004b1ad9
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041fc80
add esp, 8
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x88]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x74], 8
push ecx
cmovae eax, dword [ebp - 0x88]
push eax
call fcn.0041fd30
add esp, 8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.004044e0
xor eax, eax
mov dword [ebp - 0x60], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
lea eax, [ebp + 8]
mov dword [ebp - 0x5c], 0
push eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
call fcn.00409500
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
push 1
push 0x4d5950
call fcn.00416670
push 0x13
push str.patcher_version_tmp
lea ecx, [ebp - 0x70]
call fcn.00416670
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
push 0x4d5710
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.004a77c1
add esp, 8
test eax, eax
je 0x41ef8a
push eax
call fcn.004b1ad9
add esp, 4
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0
push eax
call fcn.00409500
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x28]
push 1
push 0x4d5950
call fcn.00416670
push 0xf
push 0x4d6400
lea ecx, [ebp - 0x28]
call fcn.00416670
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041fc80
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x70]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.0041fd30
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x28]
call fcn.004044e0
xor eax, eax
mov dword [ebp - 0x48], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x58]
lea eax, [ebp + 8]
mov dword [ebp - 0x44], 0
push eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
call fcn.00409500
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x58]
push 1
push 0x4d5950
call fcn.00416670
push 0x19
push str.patcher_files_version_tmp
lea ecx, [ebp - 0x58]
call fcn.00416670
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
push 0x4d5710
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.004a77c1
add esp, 8
test eax, eax
je 0x41f097
push eax
call fcn.004b1ad9
add esp, 4
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 0
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], 0
push eax
call fcn.00409500
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push 1
push 0x4d5950
call fcn.00416670
push 0x15
push 0x4d5a18
lea ecx, [ebp - 0x28]
call fcn.00416670
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0041fc80
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.0041fd30
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.004044e0
push str._FLOW__setting_Patcher
push 1
push 0x938
call fcn.00423ab0
push 0x44
lea eax, [ebp - 0x198]
push 0
push eax
call fcn.0049edb0
push 0x104
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x198], 0x44
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0xec], xmm0
call fcn.0049edb0
add esp, 0x24
lea eax, [ebp - 0x29c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x29c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
cmp byte [ebp - 0x29c], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
jne 0x41f13f
xor ecx, ecx
jmp 0x41f151
lea ecx, [ebp - 0x29c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41f148
sub ecx, edx
push ecx
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0xbc]
call fcn.00409400
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004236a0
add esp, 8
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
jb 0x41f187
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xd4]
call fcn.00403840
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41f1ac
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea ecx, [ebp + 8]
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x18], 0
push eax
call fcn.00409500
push 1
push 0x4d6450
lea ecx, [ebp - 0xa4]
call fcn.00416670
mov edx, dword [0x4ff018]
cmp word [edx], 0
jne 0x41f1f4
xor ecx, ecx
jmp 0x41f20f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41f200
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0xa4]
call fcn.00416670
call fcn.0040bd70
cmp al, 1
jne 0x41f249
push 1
push 0x4d6450
lea ecx, [ebp - 0xa4]
call fcn.00416670
push 0xc
push 0x4d6454
lea ecx, [ebp - 0xa4]
call fcn.00416670
call fcn.0040bd60
cmp al, 1
jne 0x41f276
push 1
push 0x4d6450
lea ecx, [ebp - 0xa4]
call fcn.00416670
push 0x12
push str.__FORCE_CURL_TRACE
lea ecx, [ebp - 0xa4]
call fcn.00416670
push str.excute_Patcher
push 1
push 0x96e
call fcn.00423ab0
add esp, 0xc
lea ecx, [ebp - 0xec]
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x198]
push ecx
push 0
push 0
push 0x20
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41f413
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.00423960
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004236a0
add esp, 0x10
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae ecx, dword [ebp - 0x40]
cmp dword [eax + 0x14], 8
jb 0x41f30d
mov eax, dword [eax]
push ecx
push eax
push 0x5d
call fcn.00419de0
add esp, 4
push eax
lea eax, [ebp - 0x28]
push str._s_r_n_errCode_:__s__r_n_:__s
push eax
call fcn.00423820
add esp, 0x14
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x11c]
call fcn.004044e0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0x984
call fcn.00423ab0
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push 0
push str.Launcher
push eax
push dword [0x501ef8]
call dword [sym.imp.USER32.dll_MessageBoxW]
sub esp, 0x18
xor eax, eax
mov ecx, esp
mov dword [ebp - 0xd8], esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x28]
push eax
call fcn.00409500
mov byte [ebp - 4], 0x13
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xdc], esp
push str.bool_launchPatcher_std::wstring_installDir_
call fcn.004037e0
mov byte [ebp - 4], 0x14
push 0
push 0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x154]
call fcn.0041a8e0
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x154]
push eax
push 5
call fcn.00406d70
add esp, 8
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x154]
call fcn.00404760
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x28]
call fcn.004044e0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x104]
call fcn.00404470
mov byte [ebp - 0xd], 0
jmp 0x41f43e
push 3
call fcn.004068e0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
push str.Start_Patcher_:__s
push 1
push 0x990
call fcn.00423ab0
add esp, 0x14
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xc0]
cmp eax, 8
jb 0x41f460
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0xc0], 7
mov dword [ebp - 0xc4], 0
mov word [ebp - 0xd4], ax
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0xa8]
cmp eax, 0x10
jb 0x41f49f
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00409cd0
mov dword [ebp - 0xa8], 0xf
mov dword [ebp - 0xac], 0
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x41f4d3
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x41f500
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x74]
cmp eax, 8
jb 0x41f533
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41f563
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x41f598
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00409d20
xor eax, eax
mov dword [ebp - 0x90], 7
mov dword [ebp - 0x94], 0
mov word [ebp - 0xa4], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004044e0
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret