Function at 0x180004e30
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov rbx, rcx
cmp edx, 1
jne 0x1800053b6
movsxd rax, dword [rcx + 0x3c]
mov esi, dword [rax + rcx + 0x50]
lea r9d, [rdx + 0x3f]
mov r8d, 0x3000
mov edx, esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180004ea1
mov r8d, esi
mov rdx, rbx
mov rcx, rax
call fcn.18000f980
lea r9, [0x180004dc0]
sub r9d, ebx
add r9, rdi
mov r8d, esi
mov rdx, rdi
mov rcx, rbx
call r9
mov rbx, qword [0x180180208]
mov rdi, qword [0x180180210]
cmp rbx, rdi
je 0x180004f15
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180007e10
nop
lea rcx, [rsp + 0x20]
call fcn.1800094a0
nop
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x180004f0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004f0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053d8
call fcn.18000dc24
add rbx, 0x20
jmp 0x180004eaf
lea r15, [0x1801801e8]
mov rcx, r15
call fcn.1800094a0
lea rcx, [0x1801802b0]
call fcn.1800094a0
lea rcx, [0x1801801c8]
call fcn.1800094a0
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 7
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x180004f61
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180007b50
lea r11, [0x1801802f8]
cmp qword [0x180180310], 8
cmovae r11, qword [0x1801802f8]
lea r12, [rsp + 0x20]
mov r13, qword [rsp + 0x38]
cmp r13, 8
setae dl
mov byte [rsp + 0x2f8], dl
mov r14, qword [rsp + 0x20]
cmovae r12, r14
mov rsi, qword [0x180180308]
mov rax, qword [rsp + 0x30]
cmp rsi, rax
ja 0x18000508d
test rsi, rsi
jne 0x180004fd3
mov rbx, rsi
jmp 0x180005092
sub rax, rsi
lea r15, [rax + 1]
lea r15, [r12 + r15*2]
mov rbx, r12
movzx r10d, word [r11]
nop word [rax + rax]
mov rax, r15
sub rax, rbx
sar rax, 1
mov ecx, 0
je 0x18000501c
cmp word [rbx], r10w
je 0x180005019
cmp rax, 1
je 0x18000501c
dec rax
add rbx, 2
cmp word [rbx], r10w
jne 0x180005006
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x18000507e
mov r8, rsi
mov rax, r11
test rsi, rsi
je 0x180005067
movzx ecx, word [rcx]
movzx edx, r10w
cmp cx, r10w
jb 0x180005061
mov r9, rbx
sub r9, r11
cmp cx, dx
ja 0x180005061
cmp r8, 1
je 0x180005067
dec r8
add rax, 2
movzx ecx, word [rax + r9]
movzx edx, word [rax]
cmp cx, dx
jae 0x180005045
add rbx, 2
jmp 0x180004ff0
sub rbx, r12
sar rbx, 1
movzx edx, byte [rsp + 0x2f8]
lea r15, [0x1801801e8]
jmp 0x180005090
movzx edx, byte [rsp + 0x2f8]
lea r15, [0x1801801e8]
mov rbx, rdi
xor esi, esi
test dl, dl
je 0x1800050cb
lea rdx, [r13*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1800050c3
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053de
mov rcx, r14
call fcn.18000dc24
cmp rbx, rdi
je 0x1800050ee
lea rdx, [0x180180270]
lea rcx, [rsp + 0x20]
call fcn.180007e10
mov rcx, rax
call fcn.1800097e0
jmp 0x1800053b6
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
lea rax, [rsp + 0xa0]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x180005124
mov r8, rdi
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.180007b50
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], 7
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.180007b50
cmp qword [0x180180200], 8
cmovae r15, qword [0x1801801e8]
mov qword [rsp + 0x60], r15
mov rax, qword [0x1801801f8]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.180002c40
mov ebx, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x1800051f6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800051f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053e4
call fcn.18000dc24
movdqa xmm0, xmmword [0x1800273c0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], si
mov rdx, qword [rsp + 0x58]
test ebx, ebx
jne 0x18000537d
cmp rdx, 8
jb 0x180005253
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000524e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053ea
call fcn.18000dc24
call fcn.180004190
lea rcx, [0x1801802b0]
call fcn.180009fe0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov r8d, 0x104
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop
lea rdx, [0x1801801c8]
lea rcx, [rsp + 0x80]
call fcn.180007e10
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180002c10
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x60]
call fcn.180007b10
nop
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180002c10
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.180003710
nop
lea rcx, [rsp + 0x20]
call fcn.180002e50
nop
lea rcx, [rsp + 0x60]
call fcn.180002e50
nop
lea rcx, [rsp + 0x40]
call fcn.180002e50
nop
lea rcx, [rsp + 0x80]
call fcn.180002e50
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x20]
call fcn.18000a650
nop
lea rcx, [rsp + 0x20]
call fcn.180003770
nop
lea rcx, [rsp + 0x20]
call fcn.180002e50
nop
lea rax, [rsp + 0x80]
mov qword [rsp + 0x308], rax
lea rdx, [0x1801801c8]
lea rcx, [rsp + 0x80]
call fcn.180007e10
mov rbx, rax
lea rdx, [0x180180270]
lea rcx, [rsp + 0x20]
call fcn.180007e10
nop
mov rdx, rbx
mov rcx, rax
call fcn.180004be0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
cmp rdx, 8
jb 0x1800053b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800053b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800053ea
call fcn.18000dc24
mov eax, 1
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.18001339c
int3
call fcn.18001339c
nop
call fcn.18001339c
nop
call fcn.18001339c
int3