Function at 0x45e5e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46ea1d
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x4a0b70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
push str.RelaunchARM...
lea ecx, [ebp - 0x28]
call fcn.00401ee0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x28]
push eax
push 2
call fcn.00467240
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405260
mov ecx, dword [ebp - 0x5c]
add ecx, 0x49c
call fcn.00402a40
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x24]
call fcn.004051c0
mov dword [ebp - 4], 1
push 0x459
mov ecx, 0x4a4b78
call fcn.004010e0
movzx ecx, al
test ecx, ecx
jne 0x45e68b
mov edx, dword [ebp - 0x10]
push edx
lea eax, [ebp - 0x24]
push eax
call fcn.0044c1c0
add esp, 8
test eax, eax
jne 0x45e6de
push str.Failed_to_create_launcher_path
lea ecx, [ebp - 0x2c]
call fcn.00401ee0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x2c]
push ecx
push 0x459
mov ecx, dword [ebp - 0x5c]
call fcn.00401100
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00405260
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x30]
jmp 0x45e959
push str.Launcher_path:
lea ecx, [ebp - 0x34]
call fcn.00401ee0
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.00466c70
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.00405260
lea ecx, [ebp - 0x18]
call fcn.004051c0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x10], 0
je 0x45e732
lea ecx, [ebp - 0x18]
push ecx
call fcn.00448d80
add esp, 4
mov dword [ebp - 0x1c], eax
jmp 0x45e741
lea edx, [ebp - 0x18]
push edx
call fcn.00448c50
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x459
mov ecx, 0x4a4b78
call fcn.004010e0
movzx eax, al
test eax, eax
jne 0x45e75d
cmp dword [ebp - 0x1c], 0
jne 0x45e7bc
push str.Failed_to_create_command_line
lea ecx, [ebp - 0x38]
call fcn.00401ee0
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 0x459
mov ecx, dword [ebp - 0x5c]
call fcn.00401100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.00405260
mov dword [ebp - 0x3c], 0xd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x3c]
jmp 0x45e959
push 5
push 0
lea ecx, [ebp - 0x18]
call fcn.00401fc0
push eax
lea ecx, [ebp - 0x24]
call fcn.00401fc0
push eax
push 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.00402da0
add esp, 4
mov dword [ebp - 0x20], eax
push 0x642
mov ecx, 0x4a4b78
call fcn.004010e0
movzx eax, al
test eax, eax
jne 0x45e813
cmp dword [ebp - 0x20], 0x21
jge 0x45e8ce
push str.ShellExecute_failed_in_RelaunchARM.
lea ecx, [ebp - 0x40]
call fcn.00401ee0
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x40]
push ecx
push 0x642
mov ecx, dword [ebp - 0x5c]
call fcn.00401100
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.00405260
cmp dword [ebp - 0x20], 5
jne 0x45e8a5
push str.ShellExecute_to_relaunch_ARM_failed_with_SE_ERR_ACCESSDENIED.
lea ecx, [ebp - 0x44]
call fcn.00401ee0
mov byte [ebp - 4], 7
push 0
lea edx, [ebp - 0x44]
push edx
push 1
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00405260
mov dword [ebp - 0x48], 5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x48]
jmp 0x45e959
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x4c]
jmp 0x45e959
cmp dword [ebp - 0x20], 0x21
jl 0x45e935
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0xbc], 1
push str.ShellExecute_to_relaunch_ARM_succeded.
lea ecx, [ebp - 0x50]
call fcn.00401ee0
mov byte [ebp - 4], 8
push 0
lea edx, [ebp - 0x50]
push edx
push 2
call fcn.00467240
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.00405260
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x54]
jmp 0x45e959
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00405260
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00405260
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret