Function at 0x180053ba0
Capabilities:
Accept command line arguments

Disassembly:
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x90
mov rax, qword [0x18007b080]
xor rax, rsp
mov qword [rsp + 0x80], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.1800563a0
mov qword [rsp + 0x30], rax
cmp dword [rsp + 0xa0], 0
je 0x180053ca7
cmp dword [rsp + 0x28], 1
jle 0x180053c8f
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x20]
call fcn.180053ab0
mov rcx, rax
call fcn.180008190
mov ecx, 8
imul rcx, rcx, 1
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + rcx]
call fcn.18001f5f0
test eax, eax
je 0x180053c8f
cmp dword [rsp + 0xa8], 1
jne 0x180053c8f
lea rax, [rsp + 0x21]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x21]
call fcn.1800539a0
mov rcx, rax
call fcn.180008170
mov rdx, rax
lea rcx, [0x180509300]
call fcn.1800114e0
mov edx, dword [rsp + 0xa0]
mov rcx, rax
call fcn.1800084c0
lea rdx, [0x180011830]
mov rcx, rax
call fcn.180008a80
nop
mov ecx, dword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x180053eae
cmp dword [rsp + 0x28], 5
jle 0x180053e5a
lea rax, [rsp + 0x22]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x22]
call fcn.180053890
mov rcx, rax
call fcn.180008150
mov ecx, 8
imul rcx, rcx, 5
mov rdx, rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + rcx]
call fcn.18001f5f0
test eax, eax
jne 0x180053e5a
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x40]
call fcn.180008f40
nop
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.180003340
cmp eax, 0x3e8
jbe 0x180053d37
mov dword [rsp + 0x2c], 1
jmp 0x180053d3f
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x23], al
lea rcx, [rsp + 0x40]
call fcn.180008dd0
movzx eax, byte [rsp + 0x23]
test eax, eax
je 0x180053e0a
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.180053780
mov rcx, rax
call fcn.180008130
mov rdx, rax
lea rcx, [0x180509300]
call fcn.1800114e0
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rcx + rdx]
mov rcx, rax
call fcn.1800114e0
lea rdx, [0x180011830]
mov rcx, rax
call fcn.180008a80
nop
mov eax, 8
imul rax, rax, 2
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + rax]
lea rcx, [rsp + 0x60]
call fcn.180008f40
nop
mov r8d, 0xa
xor edx, edx
lea rcx, [rsp + 0x60]
call fcn.180003340
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rcx, [rsp + 0x60]
call fcn.180008dd0
nop
jmp 0x180053e58
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x25]
call fcn.180053660
mov rcx, rax
call fcn.180008110
mov rdx, rax
lea rcx, [0x180509300]
call fcn.1800114e0
lea rdx, [0x180011830]
mov rcx, rax
call fcn.180008a80
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
jmp 0x180053ea8
lea rax, [rsp + 0x26]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x26]
call fcn.180053530
mov rcx, rax
call fcn.1800080f0
mov rdx, rax
lea rcx, [0x180509300]
call fcn.1800114e0
lea rdx, [0x180011830]
mov rcx, rax
call fcn.180008a80
nop
mov ecx, 0x1b7740
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.180015ab0
add rsp, 0x90
pop rdi
ret