Function at 0x1800583d0
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x90
mov rax, qword [0x18007f080]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.180059530
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0xa0], 0
je 0x1800584d6
cmp dword [rsp + 0x28], 1
jle 0x1800584be
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.1800582e0
mov rcx, rax
call fcn.180008390
mov ecx, 8
imul rcx, rcx, 1
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + rcx]
call fcn.180020410
test eax, eax
je 0x1800584be
cmp dword [rsp + 0xa8], 1
jne 0x1800584be
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x21]
call fcn.1800581d0
mov rcx, rax
call fcn.180008370
mov rdx, rax
lea rcx, [0x1808690b0]
call fcn.1800114a0
mov edx, dword [rsp + 0xa0]
mov rcx, rax
call fcn.180008540
lea rdx, [0x1800117f0]
mov rcx, rax
call fcn.180008b00
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1800586d7
cmp dword [rsp + 0x28], 5
jle 0x180058685
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.1800580c0
mov rcx, rax
call fcn.180008350
mov ecx, 8
imul rcx, rcx, 5
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + rcx]
call fcn.180020410
test eax, eax
jne 0x180058685
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.180008fb0
nop
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180003330
cmp eax, 0x3e8
jbe 0x180058566
mov dword [rsp + 0x2c], 1
jmp 0x18005856e
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0x40]
call fcn.180008e50
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x180058637
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
mov eax, 8
imul rax, rax, 2
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x24]
call fcn.180057fb0
mov rcx, rax
call fcn.180008330
mov rdx, rax
lea rcx, [0x1808690b0]
call fcn.1800114a0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rcx + rdx]
mov rcx, rax
call fcn.1800114a0
lea rdx, [0x1800117f0]
mov rcx, rax
call fcn.180008b00
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x60]
call fcn.180008fb0
nop
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180003330
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x60]
call fcn.180008e50
jmp 0x180058683
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x25]
call fcn.180057e90
mov rcx, rax
call fcn.180008310
mov rdx, rax
lea rcx, [0x1808690b0]
call fcn.1800114a0
lea rdx, [0x1800117f0]
mov rcx, rax
call fcn.180008b00
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1800586d1
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x26]
call fcn.180057d60
mov rcx, rax
call fcn.1800082f0
mov rdx, rax
lea rcx, [0x1808690b0]
call fcn.1800114a0
lea rdx, [0x1800117f0]
mov rcx, rax
call fcn.180008b00
mov ecx, 0x1b7740
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180015a20
add rsp, 0x90
pop rdi
ret