Function at 0x474640
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56fad3
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x5bfd00]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0x59de09
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x78], 0
call fcn.0040d5d0
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 1
push 0x59de09
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0
call fcn.0040d5d0
push 0x12
xorps xmm0, xmm0
mov byte [ebp - 4], 2
push str.LauncherRender.exe
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x4c], 0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x48], 0
call fcn.0040d5d0
push 2
xorps xmm0, xmm0
mov byte [ebp - 4], 3
push 0x57b0d4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
call fcn.0040d5d0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 4
push eax
call fcn.0047f050
add esp, 4
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x74]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004865d0
add esp, 0x18
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 7
cmp ecx, 0xf
jbe 0x47478b
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474781
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4748a4
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 8
cmp ecx, 0xf
jbe 0x4747d5
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4747cb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4748a4
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 9
cmp ecx, 0xf
jbe 0x47481f
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474815
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4748a4
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 4], 0xa
cmp ecx, 0xf
jbe 0x474865
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x47485b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4748a4
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov ecx, dword [ebp - 0x78]
mov byte [ebp - 4], 0xb
cmp ecx, 0xf
jbe 0x4748b4
mov edx, dword [ebp - 0x8c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4748aa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4748aa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
cmp dword [ebp - 0xf4], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
je 0x474f34
lea eax, [ebp - 0x104]
push eax
call fcn.0047bc80
add esp, 4
test al, al
je 0x474f34
xorps xmm0, xmm0
mov dword [ebp - 0x1a8], 0x44
push 0
push 0x59de09
lea ecx, [ebp - 0xec]
movlpd qword [ebp - 0x1a4], xmm0
movlpd qword [ebp - 0x19c], xmm0
movlpd qword [ebp - 0x194], xmm0
movlpd qword [ebp - 0x18c], xmm0
movlpd qword [ebp - 0x184], xmm0
movlpd qword [ebp - 0x17c], xmm0
movlpd qword [ebp - 0x174], xmm0
movlpd qword [ebp - 0x16c], xmm0
movups xmmword [ebp - 0x164], xmm0
mov dword [ebp - 0xdc], 0
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd8], 0
call fcn.0040d5d0
push 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xc
push 0x59de09
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xc4], 0
movups xmmword [ebp - 0xd4], xmm0
mov dword [ebp - 0xc0], 0
call fcn.0040d5d0
push 7
xorps xmm0, xmm0
mov byte [ebp - 4], 0xd
push str.locales
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xac], 0
movups xmmword [ebp - 0xbc], xmm0
mov dword [ebp - 0xa8], 0
call fcn.0040d5d0
push 2
xorps xmm0, xmm0
mov byte [ebp - 4], 0xe
push 0x57b0d4
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x94], 0
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x90], 0
call fcn.0040d5d0
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 0xf
push eax
call fcn.0047f050
add esp, 4
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0x10
push ecx
lea ecx, [ebp - 0xd4]
push ecx
lea ecx, [ebp - 0xbc]
push ecx
lea ecx, [ebp - 0xa4]
push ecx
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.004865d0
add esp, 0x18
lea ecx, [ebp - 0x134]
call fcn.0045dc00
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0x13
cmp ecx, 0xf
jbe 0x474a96
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474a8c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474b8f
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov ecx, dword [ebp - 0xa8]
mov byte [ebp - 4], 0x14
cmp ecx, 0xf
jbe 0x474aef
mov edx, dword [ebp - 0xbc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474ae5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474b8f
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov ecx, dword [ebp - 0xc0]
mov byte [ebp - 4], 0x15
cmp ecx, 0xf
jbe 0x474b44
mov edx, dword [ebp - 0xd4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474b3a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474b8f
push ecx
push edx
call fcn.00563352
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov ecx, dword [ebp - 0xd8]
mov byte [ebp - 4], 0x16
cmp ecx, 0xf
jbe 0x474b9f
mov edx, dword [ebp - 0xec]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474b95
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474b95
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
lea eax, [ebp - 0x11c]
mov dword [ebp - 0xdc], 0
push eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0xd8], 0xf
push eax
mov byte [ebp - 0xec], 0
call fcn.0047d210
add esp, 8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x18
push eax
call fcn.00474ff0
mov ecx, dword [ebp - 0x18]
add esp, 4
mov byte [ebp - 0x135], al
mov byte [ebp - 4], 0x17
cmp ecx, 7
jbe 0x474c56
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474c4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474c9a
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x16
cmp ecx, 7
jbe 0x474caa
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474ca0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474ca0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
cmp byte [ebp - 0x135], 0
je 0x474df8
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0047d210
add esp, 8
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
cmp dword [ebp - 0x18], 7
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
cmova eax, dword [ebp - 0x2c]
push eax
call fcn.0055d6ec
mov ecx, edx
movzx eax, al
cdq
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], 0x5bfd74
cmp ecx, 0x91
jne 0x474d62
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00469d20
mov ecx, dword [ebp - 0x140]
add esp, 0xc
test ecx, ecx
jne 0x474fcf
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 0x19
cmp ecx, 7
jbe 0x474da4
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474d9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474de8
push ecx
push edx
call fcn.00563352
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0x16
cmp ecx, 7
jbe 0x474df8
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474dee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474dee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0047d210
add esp, 8
cmp dword [eax + 0x14], 7
jbe 0x474e13
mov eax, dword [eax]
lea ecx, [ebp - 0x164]
push ecx
lea ecx, [ebp - 0x1a8]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 0x30]
mov esi, eax
cmp ecx, 7
jbe 0x474e74
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x474e6a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474e6a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00563352
add esp, 8
test esi, esi
jne 0x474edb
lea ecx, [ebp - 0x11c]
call fcn.0045dc00
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x474ebd
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474eb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474f6c
push ecx
push edx
call fcn.00563352
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00563360
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x160]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x164]
lea ecx, [ebp - 0x11c]
mov dword [edi], esi
call fcn.0045dc00
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x474f30
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474f26
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x474f6c
push ecx
push edx
call fcn.00563352
add esp, 8
mov eax, esi
jmp 0x474ebf
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x474ebd
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x474eb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x474eb3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x150]
mov ecx, str.Unknown_exception
test eax, eax
mov byte [ebp - 4], 0x1c
cmovne ecx, eax
lea eax, [ebp - 0x134]
push ecx
push str._PROCESS_:_Create_with_error____s
push eax
call fcn.0045db80
push eax
mov byte [ebp - 4], 0x1d
call fcn.0048f070
add esp, 0x10
lea ecx, [ebp - 0x134]
call fcn.0045dc00
lea eax, [ebp - 0x150]
mov dword [ebp - method.std::exception.virtual_0], vtable.std::exception.0
push eax
call sub.VCRUNTIME140.dll___std_exception_destroy
add esp, 4
mov eax, 0x474ebd
ret
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x140]
push eax
push str.remove_all
call fcn.00469f40
int3