Function at 0x14005d570
Capabilities:
Accept command line arguments
Create thread

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x658
mov rax, qword [0x140100140]
xor rax, rsp
mov qword [rsp + 0x640], rax
mov r8d, 0x105
lea rdx, [rsp + 0x430]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r8d, r8d
lea rdx, [rsp + 0x430]
lea rcx, [rsp + 0x1b0]
call fcn.14005d3c0
nop
lea rax, [rsp + 0x108]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1b0]
call fcn.14003d040
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.140026a20
mov rcx, rax
call fcn.14006ea20
mov byte [rsp + 0x33], al
lea rcx, [rsp + 0xc8]
call fcn.140025330
movzx eax, byte [rsp + 0x33]
test eax, eax
je 0x14005d64e
mov dword [rsp + 0x4c], 0x63
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x4c]
jmp 0x14005dd56
mov byte [rsp + 0x30], 0
xor ecx, ecx
call fcn.14006fef0
mov cl, 1
call fcn.14006ff50
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jl 0x14005d67c
mov dword [rsp + 0x48], 1
jmp 0x14005d684
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x250]
call fcn.1400223e0
lea rcx, [rsp + 0x1d0]
call fcn.140065200
mov r9d, 0xa
lea r8, [rsp + 0x1d0]
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x250]
call fcn.140040d20
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x188]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
nop
cmp dword [rsp + 0x188], 1
jg 0x14005d730
mov dword [rsp + 0x54], 0x17
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x54]
jmp 0x14005dd56
mov ecx, 1
call fcn.14006fef0
nop
call fcn.140067e10
movzx eax, al
test eax, eax
je 0x14005d78c
mov dword [rsp + 0x58], 0x16
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x58]
jmp 0x14005dd56
cmp dword [rsp + 0x5c], 0
jne 0x14005d7d8
mov dword [rsp + 0x60], 0x19
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x60]
jmp 0x14005dd56
mov ecx, 2
call fcn.14006fef0
call fcn.1400634f0
mov byte [rsp + 0x34], al
movzx eax, byte [rsp + 0x34]
test eax, eax
jne 0x14005d839
mov dword [rsp + 0x64], 0x18
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x64]
jmp 0x14005dd56
call fcn.140063990
mov byte [rsp + 0x40], al
lea rcx, [rsp + 0x230]
call fcn.14006c8e0
nop
lea rdx, [0x1400de527]
lea rcx, [rsp + 0x230]
call fcn.140004bb0
movzx eax, al
test eax, eax
je 0x14005d8bd
mov dword [rsp + 0x68], 0x17
lea rcx, [rsp + 0x230]
call fcn.140002090
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x68]
jmp 0x14005dd56
mov byte [rsp + 0x30], 1
movzx ecx, byte [rsp + 0x30]
call fcn.14006ff90
mov ecx, 3
call fcn.14006fef0
mov dword [rsp + 0x18c], 0x3c
lea r8, [rsp + 0x18c]
xor edx, edx
lea rcx, [0x140069a60]
call fcn.1400a78f8
mov dword [rsp + 0x80], 0xa
lea rdx, [0x1400de7f4]
lea rcx, [rsp + 0x370]
call fcn.140020c10
mov dword [rsp + 0x44], 0x63
mov dword [rsp + 0x84], 0x63
mov dword [rsp + 0x38], 0x63
mov dword [rsp + 0x3c], 0x63
mov edx, 0x78
lea rcx, [rsp + 0x290]
call fcn.140002e90
lea rcx, [rsp + 0x290]
call fcn.140001dd0
mov edx, 0x78
lea rcx, [rsp + 0x3b0]
call fcn.140002e90
lea rcx, [rsp + 0x3b0]
call fcn.140001dd0
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0x2c8]
call fcn.1400255f0
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x2a8]
call fcn.1400255f0
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x3c8]
call fcn.1400255f0
mov edx, 0xa
lea rcx, [rsp + 0x210]
call fcn.140069fc0
mov edx, 0xb
lea rcx, [rsp + 0x1f0]
call fcn.140069fc0
nop
lea rax, [rsp + 0x128]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0xa0]
call fcn.140020b70
mov rcx, rax
call fcn.1400650a0
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0xe8]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0xa8]
call fcn.140020b70
mov rcx, rax
call fcn.1400650a0
mov dword [rsp + 0x8c], eax
lea rax, [rsp + 0x148]
mov qword [rsp + 0x70], rax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x70]
call fcn.140020b70
mov rdx, rax
lea rcx, [rsp + 0x350]
call fcn.140064240
nop
lea rax, [rsp + 0x168]
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x78]
call fcn.140020b70
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.140064240
nop
mov qword [rsp + 0xb0], 0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, eax
call qword [sym.imp.USER32.dll_GetThreadDesktop]
mov qword [rsp + 0xb8], rax
mov ecx, 4
call fcn.14006fef0
nop
lea rdx, [0x1400de7f8]
lea rcx, [rsp + 0x210]
call fcn.140004d90
movzx eax, al
test eax, eax
jne 0x14005db09
lea rcx, [rsp + 0x290]
call fcn.14005bf00
mov dword [rsp + 0x38], eax
jmp 0x14005db11
mov dword [rsp + 0x38], 0x1b
mov ecx, 0x29
call fcn.14006fef0
nop
lea rdx, [0x1400de7fc]
lea rcx, [rsp + 0x1f0]
call fcn.140004d90
movzx eax, al
test eax, eax
jne 0x14005db4a
lea rcx, [rsp + 0x3b0]
call fcn.14005c020
mov dword [rsp + 0x3c], eax
jmp 0x14005db52
mov dword [rsp + 0x3c], 0x1b
cmp dword [rsp + 0x38], 2
je 0x14005db72
cmp dword [rsp + 0x38], 1
je 0x14005db72
cmp dword [rsp + 0x3c], 2
je 0x14005db72
cmp dword [rsp + 0x3c], 1
jne 0x14005dcae
lea rdx, [0x1400de54c]
lea rcx, [rsp + 0x390]
call fcn.140001b80
lea rdx, [0x1400de54d]
lea rcx, [rsp + 0x310]
call fcn.140001b80
nop
cmp dword [rsp + 0x38], 1
jne 0x14005dba9
cmp dword [rsp + 0x3c], 1
je 0x14005dbd5
cmp dword [rsp + 0x38], 2
jne 0x14005dbbf
mov cl, 1
call fcn.14006ff50
mov byte [rsp + 0x300], 0
cmp dword [rsp + 0x3c], 2
jne 0x14005dbd5
mov cl, 1
call fcn.14006ff70
mov byte [rsp + 0x420], 0
mov ecx, 0x2b
call fcn.14006fef0
mov byte [rsp + 0x32], 0
mov byte [rsp + 0x31], 0
cmp dword [rsp + 0x38], 1
jne 0x14005dbf5
mov byte [rsp + 0x32], 1
cmp dword [rsp + 0x3c], 1
jne 0x14005dc01
mov byte [rsp + 0x31], 1
xor edx, edx
lea rcx, [0x140102a98]
call fcn.14005d530
mov ecx, 5
call fcn.14006fef0
nop
mov rax, qword [rsp + 0x660]
mov qword [rsp + 0x28], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x20], al
movzx r9d, byte [rsp + 0x32]
lea r8, [rsp + 0x1f0]
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x290]
call fcn.1400510f0
mov dword [rsp + 0x44], eax
mov ecx, 0x12
call fcn.14006fef0
mov dl, 1
lea rcx, [0x140102a98]
call fcn.14005d530
nop
mov dword [rsp + 0x50], 0x64
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xc0]
call fcn.1400037e0
mov rcx, rax
call fcn.14001dc90
nop
lea rcx, [rsp + 0x310]
call fcn.140002090
lea rcx, [rsp + 0x390]
call fcn.140002090
nop
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x330]
call fcn.140024820
lea rcx, [rsp + 0x350]
call fcn.140024820
lea rcx, [rsp + 0x1f0]
call fcn.140024820
lea rcx, [rsp + 0x210]
call fcn.140024820
lea rcx, [rsp + 0x3b0]
call fcn.140002150
lea rcx, [rsp + 0x290]
call fcn.140002150
lea rcx, [rsp + 0x370]
call fcn.140024820
lea rcx, [rsp + 0x230]
call fcn.140002090
lea rcx, [rsp + 0x190]
call fcn.140002090
lea rcx, [rsp + 0x1d0]
call fcn.140002090
lea rcx, [rsp + 0x250]
call fcn.140024f20
lea rcx, [rsp + 0x1b0]
call fcn.140025330
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x640]
xor rcx, rsp
call fcn.140097cf0
add rsp, 0x658
ret