Function at 0x180037120
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x170], rbx
movaps xmmword [rbp + 0x120], xmm6
movaps xmmword [rbp + 0x110], xmm7
movaps xmmword [rbp + 0x100], xmm8
movaps xmmword [rbp + 0xf0], xmm9
movaps xmmword [rbp + 0xe0], xmm10
movaps xmmword [rbp + 0xd0], xmm11
mov rax, qword [0x180081de0]
xor rax, rbp
mov qword [rbp + 0xc0], rax
mov r11, qword [rbp + 0x18]
mov rsi, rdx
mov r10, qword [rbp + 0x18]
mov r12, r8
mov rax, qword [rbp + 0x18]
mov r9d, ecx
mov r14, qword [rbp + 0x18]
mov ebx, dword [rbp + 0x10]
mov qword [rbp + 0x58], rdx
lea edx, [rcx + 0x596]
mov dword [rbp], edx
cmp ecx, edx
mov edx, dword [rbp + 0x30]
mov qword [rbp + 0x60], r8
mov r8, qword [rbp + 0x18]
mov dword [rbp + 0x40], ecx
mov dword [rbp + 0x14], ecx
mov qword [rbp + 0x20], r11
jae 0x1800378cd
mov rdi, qword [rbp + 0x18]
mov ecx, 0x63
mov r15, qword [rbp + 0x18]
mov r13, qword [rbp + 0x18]
mov esi, dword [rbp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x90], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x88], rdi
mov edi, dword [rbp + 0x30]
mov qword [rbp + 0x18], rax
mov eax, dword [rbp]
mov qword [rbp + 0x38], r10
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x28], edi
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x70], r8
mov dword [rbp + 0x10], edx
cmp r9d, 0x154
ja 0x18003786a
je 0x180037853
lea eax, [r9 - 0x24]
cmp eax, 0xf9
ja case.default.0x18003725e
lea r8, [0x180000000]
movzx eax, byte [r8 + rax + 0x380cc]
mov ecx, dword [r8 + rax*4 + 0x380a0]
add rcx, r8
jmp rcx
mov rax, qword [r12 + 0x50]
mov ecx, 0x63
mov r11, qword [rbp + 0x58]
mov qword [rbp + 0x20], r11
mov r10, qword [rax + 8]
mov r8, qword [rax + 0x78]
mov qword [rbp + 0x38], r10
mov qword [rbp + 8], r8
mov r15, qword [r10 + 0x20]
mov qword [rbp + 0x48], r15
jmp 0x1800374d3
movsxd rdx, dword [r10 + 4]
mov rax, rdx
shl rax, 3
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1800372ad
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18005fe60
sub rsp, rcx
xor r15d, r15d
lea rax, [rsp + 0x30]
mov qword [rbp + 0x88], rax
test edx, edx
jle 0x180037384
mov rcx, qword [rbp + 0x20]
mov r14, r13
movsxd r12, edi
mov r13, rcx
shl r12, 2
xor edi, edi
shr r12, 1
sub r13, qword [rbp + 0x78]
nop dword [rax]
movsxd rax, dword [r14 + r13 + 4]
movsxd rcx, dword [rcx + rax*4 + 0x404]
mov rax, qword [rbp + 0x48]
movsxd rax, dword [rax + rcx*4 + 0x520]
mov r8, qword [r8 + rax*8 + 0x68360]
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x58]
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [rbp + 0x60]
call qword [r8 + 0x28]
mov rcx, qword [rbp + 0x88]
mov r8, r12
mov qword [rdi + rcx], rax
xor ecx, ecx
test rax, rax
mov rax, qword [rbp + 0x60]
setne cl
xor edx, edx
mov dword [r14], ecx
mov rcx, qword [rax]
mov rcx, qword [rcx + rdi]
call sub.VCRUNTIME140.dll_memset
mov r10, qword [rbp + 0x38]
lea r14, [r14 + 4]
mov rcx, qword [rbp + 0x20]
lea rdi, [rdi + 8]
inc r15d
lea r8, [0x180000000]
cmp r15d, dword [r10 + 4]
jl 0x1800372f0
mov r13, qword [rbp + 0x78]
mov r9d, dword [rbp + 0x14]
mov r14, qword [rbp + 0x80]
mov edi, dword [rbp + 0x28]
jmp 0x180037388
mov r10, qword [rbp + 0x38]
mov r11, qword [rbp + 0x20]
xor r8d, r8d
cmp dword [r11 + 0x484], r8d
jle 0x1800373df
lea rcx, [r11 + 0x888]
nop
movsxd rdx, dword [rcx - 0x400]
cmp dword [r13 + rdx*4], 0
jne 0x1800373ba
movsxd rax, dword [rcx]
cmp dword [r13 + rax*4], 0
je 0x1800373cf
mov dword [r13 + rdx*4], 1
movsxd rax, dword [rcx]
mov dword [r13 + rax*4], 1
inc r8d
add rcx, 4
cmp r8d, dword [r11 + 0x484]
jl 0x1800373a0
xor r15d, r15d
cmp dword [r11], r15d
jle 0x1800374c3
lea r12, [r11 + 0x444]
xor edi, edi
xor r9d, r9d
cmp dword [r10 + 4], edi
jle 0x180037466
mov r10, qword [rbp + 0x70]
mov r11, r14
mov r14, qword [rbp + 0x20]
xor r8d, r8d
mov rax, qword [rbp + 0x38]
sub r14, r13
mov rdx, r13
mov r13, qword [rbp + 0x60]
nop dword [rax]
cmp dword [rdx + r14 + 4], r15d
jne 0x18003744a
xor eax, eax
cmp dword [rdx], eax
setne al
inc edi
mov dword [r11], eax
add r11, 4
mov rax, qword [r13]
mov rcx, qword [r8 + rax]
mov rax, qword [rbp + 0x38]
mov qword [r10], rcx
add r10, 8
inc r9d
add rdx, 4
add r8, 8
cmp r9d, dword [rax + 4]
jl 0x180037420
mov r13, qword [rbp + 0x78]
mov r14, qword [rbp + 0x80]
movsxd rcx, dword [r12]
lea rdx, [0x180000000]
mov rax, qword [rbp + 0x48]
mov r9, r14
mov r8, qword [rbp + 0x70]
mov dword [rsp + 0x20], edi
movsxd rax, dword [rax + rcx*4 + 0x820]
mov r10, qword [rdx + rax*8 + 0x68370]
mov rax, qword [rbp + 8]
mov rdx, qword [rax + 0x60]
mov rdx, qword [rdx + rcx*8]
mov rcx, qword [rbp + 0x60]
call qword [r10 + 0x38]
mov r11, qword [rbp + 0x20]
inc r15d
mov r10, qword [rbp + 0x38]
add r12, 4
cmp r15d, dword [r11]
jl 0x1800373f2
mov r9d, dword [rbp + 0x14]
mov edi, dword [rbp + 0x28]
mov r15, qword [rbp + 0x48]
mov edx, dword [rbp + 0x10]
mov ecx, 0x63
mov r8, qword [rbp + 8]
mov eax, dword [rbp]
mov r12, qword [rbp + 0x60]
add r9d, 0x6e
mov dword [rbp + 0x14], r9d
cmp r9d, eax
jb 0x180037221
mov r14, qword [rbp + 0x38]
mov rsi, qword [rbp + 0x58]
mov ecx, dword [rbp + 0x40]
mov r9, qword [rbp + 0x68]
mov edx, dword [rbp + 0x28]
mov r10, qword [rbp + 0x90]
lea edi, [rcx + 0x2a4]
mov dword [rbp + 0x14], edi
cmp ecx, edi
jae case.0x180037580.117
movsd xmm9, qword [0x18007abd0]
mov eax, 0x1bb
movss xmm11, dword [0x18007adc4]
xorps xmm8, xmm8
movss xmm10, dword [rbp + 0x30]
mov r13d, dword [rbp + 0x30]
mov r15d, dword [rbp + 0x30]
nop
cmp ecx, 0x148
ja 0x18003801d
je 0x180037ffc
lea eax, [rcx - 0x24]
cmp eax, 0xf0
ja case.0x180037580.37
lea rcx, [0x180000000]
movzx eax, byte [rcx + rax + 0x381f4]
mov ecx, dword [rcx + rax*4 + 0x381c8]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
movzx eax, word [0x180075ae8]
lea rdx, [0x180075b73]
mov word [rbp + 0xb0], ax
lea rcx, [rbp + 0xb3]
movzx eax, byte [0x180075aea]
mov r8d, 3
mov byte [rbp + 0xb2], al
mov byte [rbp + 0xb3], 0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movzx eax, word [0x180075bba]
mov r9d, dword [rbp + 0x14]
mov r10, qword [rbp + 0x38]
mov r11, qword [rbp + 0x20]
mov word [rbp + 0xb6], ax
movzx eax, byte [0x180075bbc]
mov byte [rbp + 0xb8], al
jmp 0x1800374c7
movsxd rax, dword [r12 + 0x2c]
movabs r8, 0xffffffffffffff0
mov edi, dword [r15 + rax*4]
mov dword [r12 + 0x34], edi
movsxd rdx, dword [r10 + 4]
mov dword [rbp + 0x28], edi
lea rax, [rdx*8]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003761d
mov rcx, r8
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18005fe60
sub rsp, rcx
lea rcx, [rdx*4]
lea rax, [rsp + 0x30]
mov qword [rbp + 0x70], rax
lea rax, [rcx + 0xf]
cmp rax, rcx
ja 0x180037649
mov rax, r8
and rax, 0xfffffffffffffff0
call fcn.18005fe60
sub rsp, rax
lea rax, [rcx + 0xf]
lea r14, [rsp + 0x30]
mov qword [rbp + 0x80], r14
cmp rax, rcx
ja 0x18003766d
mov rax, r8
and rax, 0xfffffffffffffff0
call fcn.18005fe60
mov r10, qword [rbp + 0x38]
sub rsp, rax
mov r11, qword [rbp + 0x20]
lea r13, [rsp + 0x30]
mov qword [rbp + 0x78], r13
jmp 0x1800374c7
mov rax, qword [rbp + 0x58]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800376b7
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x1800376a3
lea edx, [rax + 0xc]
mov dword [rbp + 0x10], edx
jmp case.0x18003725e.37
xor eax, eax
lea edx, [rax + 0xc]
mov dword [rbp + 0x10], edx
jmp case.0x18003725e.37
mov r12, qword [rbp + 0x58]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [r12], xmm0
movups xmmword [r12 + 0x10], xmm0
movups xmmword [r12 + 0x20], xmm0
mov qword [r12 + 0x30], rax
jmp case.0x18003725e.37
mov r8d, 3
mov byte [rbp + 0xb9], 0
lea rdx, [0x180075bfa]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
mov r9d, dword [rbp + 0x14]
mov r10, qword [rbp + 0x38]
mov r11, qword [rbp + 0x20]
mov word [rbp + 0xbc], 0x6d6f
jmp 0x1800374c7
movsxd rax, edx
lea r8, [rbp + 0x30]
mov edx, 0x12
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.18005d4b0
mov qword [rbp + 0x50], rax
lea rcx, [rbp + 0x30]
mov qword [r12], rax
mov r9d, 0xb9
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov dword [rbp + 0x30], 2
call fcn.18004eab0
mov r12, qword [rbp + 0x58]
mov r15d, 0x79
mov r14, qword [r12 + 8]
nop
mov eax, r15d
sub eax, 0x76
je 0x1800378a3
sub eax, 3
je 0x1800377ca
cmp eax, 1
jne 0x1800377ea
xor r9d, r9d
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x50]
mov ecx, 0x128
lea rdx, [rbp + 0x30]
call fcn.180045490
test esi, esi
jle 0x1800377ea
mov rcx, qword [rbp + 0x50]
mov rdx, r14
movsxd rdi, esi
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
add qword [rbp + 0x50], rdi
jmp 0x1800377ea
test r14, r14
jne 0x1800377d3
xor esi, esi
jmp 0x1800377ea
mov rsi, 0xffffffffffffffff
nop word [rax + rax]
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1800377e0
inc r15d
cmp r15d, 0x7c
jb 0x180037780
mov eax, dword [r12]
lea r8, [rbp + 0x50]
xor r9d, r9d
mov dword [rbp + 0x30], eax
lea rdx, [rbp + 0x30]
mov ecx, 0x128
call fcn.180045490
mov r9d, dword [rbp + 0x14]
mov r10, qword [rbp + 0x38]
mov r11, qword [rbp + 0x20]
mov r14, qword [rbp + 0x80]
jmp 0x1800374c0
mov rax, qword [rbp + 0x58]
mov rax, qword [rax + 8]
mov qword [rbp + 0x90], rax
jmp case.0x18003725e.37
mov rax, qword [r12 + 0x20]
mov qword [rbp + 0x68], rax
add rax, 0x1538
mov qword [rbp + 0x18], rax
jmp case.0x18003725e.37
mov r8, qword [rbp + 8]
mov byte [rbp + 0xbe], 0
mov word [rbp + 0xa0], cx
jmp 0x1800374d6
mov eax, r9d
sub eax, 0x17a
je 0x18003789c
mov r8, qword [rbp + 8]
cmp eax, 0x48
jne 0x1800374d3
mov eax, 0x6f
mov word [rbp + 0xa1], ax
mov dword [rbp + 0xa2], 0x656d6d
jmp 0x1800374d3
mov ebx, edx
jmp case.default.0x18003725e
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea r8, [rbp + 0x50]
lea rdx, [0x18007a85c]
call fcn.18005f710
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9, qword [rbp + 0x18]
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x88], rax
mov rax, qword [rbp + 0x18]
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x38], r14
mov qword [rbp + 8], r8
mov dword [rbp + 0x28], edx
mov qword [rbp + 0x90], r10
mov qword [rbp + 0x68], r9
jmp 0x180037504
mov eax, dword [r11 + 0x484]
sub eax, 1
movsxd rdi, eax
js 0x180037b49
mov eax, edx
lea r11, [r11 + rdi*4]
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
add r11, 0x888
nop dword [rax + rax]
mov rcx, qword [r12]
xor r9d, r9d
movsxd rax, dword [r11 - 0x400]
mov r10, qword [rcx + rax*8]
movsxd rax, dword [r11]
mov rdx, qword [rcx + rax*8]
cmp rbx, 4
jl 0x180037aca
mov rcx, rdx
lea r8, [rbx - 4]
sub rcx, r10
shr r8, 2
inc r8
lea rax, [r10 + 4]
lea r9, [r8*4]
movss xmm0, dword [rax - 4]
comiss xmm0, xmm8
movss xmm1, dword [rcx + rax - 4]
jbe 0x1800379a4
comiss xmm1, xmm8
jbe 0x180037993
subss xmm0, xmm1
movss dword [rcx + rax - 4], xmm0
jmp 0x1800379c5
addss xmm1, xmm0
movss dword [rcx + rax - 4], xmm0
movss dword [rax - 4], xmm1
jmp 0x1800379c5
comiss xmm1, xmm8
jbe 0x1800379b6
addss xmm1, xmm0
movss dword [rcx + rax - 4], xmm1
jmp 0x1800379c5
movss dword [rcx + rax - 4], xmm0
subss xmm0, xmm1
movss dword [rax - 4], xmm0
movss xmm0, dword [rax]
comiss xmm0, xmm8
movss xmm1, dword [rcx + rax]
jbe 0x1800379f4
comiss xmm1, xmm8
jbe 0x1800379e5
subss xmm0, xmm1
movss dword [rcx + rax], xmm0
jmp 0x180037a12
addss xmm1, xmm0
movss dword [rcx + rax], xmm0
movss dword [rax], xmm1
jmp 0x180037a12
comiss xmm1, xmm8
jbe 0x180037a05
addss xmm1, xmm0
movss dword [rcx + rax], xmm1
jmp 0x180037a12
movss dword [rcx + rax], xmm0
subss xmm0, xmm1
movss dword [rax], xmm0
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
movss xmm1, dword [rcx + rax + 4]
jbe 0x180037a46
comiss xmm1, xmm8
jbe 0x180037a35
subss xmm0, xmm1
movss dword [rcx + rax + 4], xmm0
jmp 0x180037a67
addss xmm1, xmm0
movss dword [rcx + rax + 4], xmm0
movss dword [rax + 4], xmm1
jmp 0x180037a67
comiss xmm1, xmm8
jbe 0x180037a58
addss xmm1, xmm0
movss dword [rcx + rax + 4], xmm1
jmp 0x180037a67
movss dword [rcx + rax + 4], xmm0
subss xmm0, xmm1
movss dword [rax + 4], xmm0
movss xmm0, dword [rax + 8]
comiss xmm0, xmm8
movss xmm1, dword [rcx + rax + 8]
jbe 0x180037a9b
comiss xmm1, xmm8
jbe 0x180037a8a
subss xmm0, xmm1
movss dword [rcx + rax + 8], xmm0
jmp 0x180037abc
addss xmm1, xmm0
movss dword [rcx + rax + 8], xmm0
movss dword [rax + 8], xmm1
jmp 0x180037abc
comiss xmm1, xmm8
jbe 0x180037aad
addss xmm1, xmm0
movss dword [rcx + rax + 8], xmm1
jmp 0x180037abc
movss dword [rcx + rax + 8], xmm0
subss xmm0, xmm1
movss dword [rax + 8], xmm0
add rax, 0x10
sub r8, 1
jne 0x180037970
cmp r9, rbx
jge 0x180037b33
sub rdx, r10
lea rax, [r10 + r9*4]
mov rcx, rbx
sub rcx, r9
movss xmm0, dword [rax]
comiss xmm0, xmm8
movss xmm1, dword [rax + rdx]
jbe 0x180037b0b
comiss xmm1, xmm8
jbe 0x180037afc
subss xmm0, xmm1
movss dword [rax + rdx], xmm0
jmp 0x180037b29
addss xmm1, xmm0
movss dword [rax + rdx], xmm0
movss dword [rax], xmm1
jmp 0x180037b29
comiss xmm1, xmm8
jbe 0x180037b1c
addss xmm1, xmm0
movss dword [rax + rdx], xmm1
jmp 0x180037b29
movss dword [rax + rdx], xmm0
subss xmm0, xmm1
movss dword [rax], xmm0
add rax, 4
sub rcx, 1
jne 0x180037adc
sub r11, 4
sub rdi, 1
jns 0x180037930
mov r11, qword [rbp + 0x20]
mov r8, qword [rbp + 8]
mov eax, dword [r14 + 4]
xor esi, esi
test eax, eax
jle 0x180037bc2
xor ebx, ebx
lea rdi, [r11 + 4]
nop dword [rax]
movsxd rax, dword [rdi]
lea rdx, [0x180000000]
mov r9, qword [r12]
movsxd rcx, dword [r11 + rax*4 + 0x404]
mov rax, qword [rbp + 0x48]
mov r9, qword [r9 + rbx]
movsxd rax, dword [rax + rcx*4 + 0x520]
mov r10, qword [rdx + rax*8 + 0x68360]
mov rdx, qword [r8 + 0x58]
mov rax, qword [rbp + 0x88]
mov rdx, qword [rdx + rcx*8]
mov rcx, r12
mov r8, qword [rbx + rax]
call qword [r10 + 0x30]
mov eax, dword [r14 + 4]
lea rbx, [rbx + 8]
mov r11, qword [rbp + 0x20]
lea rdi, [rdi + 4]
mov r8, qword [rbp + 8]
inc esi
cmp esi, eax
jl 0x180037b60
xor edi, edi
test eax, eax
jle 0x180037bfe
mov rsi, qword [rbp + 8]
xor ebx, ebx
nop
mov rax, qword [r12]
mov ecx, 0xa7
mov rdx, qword [rbx + rax]
movsxd rax, dword [r12 + 0x2c]
mov r8, rdx
mov r9, qword [rsi + rax*8 + 0x10]
mov r9, qword [r9]
call fcn.180033750
inc edi
lea rbx, [rbx + 8]
cmp edi, dword [r14 + 4]
jl 0x180037bd0
mov edi, dword [rbp + 0x14]
xor ebx, ebx
jmp 0x180038010
lea r14, [rsi + 0x20]
mov rsi, 0xffffffffffffffff
lea rax, [rbp + 0xa0]
nop word [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180037c20
mov rdx, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180037c6f
lea rax, [rcx + rsi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180037c50
mov rax, qword [r14]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rdi], 0
mov edi, dword [rbp + 0x14]
jmp 0x180037c89
lea r9, [rbp + 0xa0]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.180002490
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x180037cb2
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180037caa
mov rax, qword [r14]
mov word [rax + rcx], 0x2f
jmp 0x180037cc4
xor r8d, r8d
mov r9b, 0x2f
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180002330
cmp qword [r12 + 0x18], 0x10
mov rdx, r12
jb 0x180037cd3
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, r14
call fcn.180026c70
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
cmp rcx, rdx
jae 0x180037d09
lea rax, [rcx + 1]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x180037d01
mov rax, qword [r14]
mov word [rax + rcx], 0x2e
jmp 0x180037d1b
xor r8d, r8d
mov r9b, 0x2e
mov rcx, r14
lea edx, [r8 + 1]
call fcn.180002330
lea rax, [rbp + 0x98]
mov rsi, 0xffffffffffffffff
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x180037d30
mov rdx, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x180037d7f
lea rax, [rcx + rsi]
mov qword [r14 + 0x10], rax
cmp rdx, 0x10
jb 0x180037d5d
mov r14, qword [r14]
lea rdi, [r14 + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rbp + 0x98]
lea edx, [rbp + 0x98]
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], 0
mov edi, dword [rbp + 0x14]
jmp 0x180038010
lea r9, [rbp + 0x98]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r14
call fcn.180002490
jmp 0x180038010
mov rcx, qword [r10 + 0x20]
movd xmm0, dword [r10 + 8]
cvtdq2ps xmm0, xmm0
lea rax, [rcx + 0x1348]
mov qword [rbp + 0x70], rax
movsxd rax, dword [rsi + 0x38]
mov eax, dword [rcx + rax*4]
cdq
sub eax, edx
sar eax, 1
movd xmm10, eax
cvtdq2ps xmm10, xmm10
divss xmm10, xmm0
jmp case.0x180037580.37
mov r14, qword [rbp + 0x18]
test r14, r14
je case.0x180037580.37
cmp dword [r14 + 0xc], 0
jle case.0x180037580.37
mov edi, 0xdb
mov eax, edi
sub eax, 0xd9
je 0x180037ea5
sub eax, 1
je 0x180037e1d
cmp eax, 1
jne 0x180037ecd
mov r15d, dword [r9]
mov r13d, dword [r12 + 8]
sar r15d, 1
jmp 0x180037ecd
mov eax, dword [r9 + 4]
xorps xmm0, xmm0
cdq
xorps xmm6, xmm6
idiv dword [r9]
cvtsi2sd xmm6, r15d
mov dword [rsi + 0x18], eax
mov dword [rsi], 1
xorps xmm7, xmm7
cvtsi2sd xmm0, dword [r14]
cvtsi2sd xmm7, r13d
mulsd xmm0, xmm6
divsd xmm0, xmm7
addsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
xorps xmm0, xmm0
mov dword [rsi + 0xc], eax
cvtsi2sd xmm0, dword [r14 + 4]
mulsd xmm0, xmm6
divsd xmm0, xmm7
addsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
xorps xmm0, xmm0
mov dword [rsi + 0x10], eax
cvtsi2sd xmm0, dword [r14 + 8]
mulsd xmm0, xmm6
divsd xmm0, xmm7
addsd xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_floor
cvttsd2si eax, xmm0
mov dword [rsi + 0x14], eax
jmp 0x180037ecd
movabs rax, 0x401c000000000000
mov qword [rsi + 0x20], rax
movd xmm0, dword [r14 + 0xc]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [r14 + 0x10]
cvttsd2si eax, xmm0
mov dword [rsi + 8], eax
mov dword [rsi + 4], eax
mov r9, qword [rbp + 0x68]
dec edi
cmp edi, 0xd8
ja 0x180037df2
mov edi, dword [rbp + 0x14]
jmp 0x180038010
mov eax, 0x6e
mov word [rbp + 0xa5], ax
mov eax, 0x7374
mov word [rbp + 0xa6], ax
jmp case.0x180037580.37
mov rax, qword [rbp + 0x70]
movaps xmm0, xmm10
mulss xmm0, dword [rax + 0x44]
mov eax, 0x1bb
addss xmm0, dword [r12]
comiss xmm11, xmm0
movss dword [r12], xmm0
jbe 0x18003801d
mov dword [r12], 0xc61c3c00
jmp 0x18003801d
mov eax, 0x6e
mov r8, 0xffffffffffffffff
mov word [rbp + 0x9b], ax
lea rax, [rbp + 0xb0]
inc r8
cmp byte [rax + r8], 0
jne 0x180037f53
lea rdx, [rbp + 0xb0]
mov rcx, rsi
call fcn.180027020
mov ah, 0xf0
invalid
dec dword [rax - 0x75]
push rsi
xor byte [rax - 0x73], cl
and byte [rbx + r9*4 + 0x41], r9b
sbb byte [rcx + 0x3b], cl
sal byte [rbx + 0x19], 1
lea rax, [rdx + 1]
mov qword [rcx + 0x10], rax
cmp r8, 0x10
jb 0x180037f8e
mov rcx, qword [rcx]
mov word [rcx + rdx], 0x2f
jmp 0x180038010
xor r8d, r8d
mov r9b, 0x2f
lea edx, [r8 + 1]
call fcn.180002330
jmp 0x180038010
movss xmm0, dword [r12]
movss dword [rbp + 0x10], xmm0
mov ebx, dword [rbp + 0x10]
jmp case.0x180037580.37
mov r8d, 1
mov byte [rbp + 0xa8], 0
lea rdx, [0x180075c04]
mov byte [rbp + 0x98], 0
lea rcx, [rbp + 0x98]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
movzx eax, word [0x180075c08]
mov word [rbp + 0x99], ax
movzx eax, byte [0x180075c0a]
mov byte [rbp + 0x9b], al
jmp 0x180038010
lea r8, [rsi + 0x40]
mov word [rsi + 0x60], ax
mov edx, 0x70
xor ecx, ecx
call fcn.180015810
mov r8, qword [rbp + 8]
mov r11, qword [rbp + 0x20]
mov eax, 0x1bb
mov esi, dword [rbp + 0x40]
mov r14, qword [rbp + 0x38]
add esi, 0x34
mov r9, qword [rbp + 0x68]
cmp esi, edi
mov edx, dword [rbp + 0x28]
mov r10, qword [rbp + 0x90]
mov dword [rbp + 0x40], esi
mov ecx, dword [rbp + 0x40]
mov rsi, qword [rbp + 0x58]
jb 0x180037540
mov eax, ebx
mov rcx, qword [rbp + 0xc0]
xor rcx, rbp
call fcn.18005fed0
mov rbx, qword [rbp + 0x170]
movaps xmm6, xmmword [rbp + 0x120]
movaps xmm7, xmmword [rbp + 0x110]
movaps xmm8, xmmword [rbp + 0x100]
movaps xmm9, xmmword [rbp + 0xf0]
movaps xmm10, xmmword [rbp + 0xe0]
movaps xmm11, xmmword [rbp + 0xd0]
lea rsp, [rbp + 0x130]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret