Function at 0x180050510
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2a0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
movaps xmmword [rax - 0xa8], xmm12
movaps xmmword [rax - 0xb8], xmm13
movaps xmmword [rax - 0xc8], xmm14
movaps xmmword [rax - 0xd8], xmm15
mov rax, qword [0x180118028]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov dword [rbp - 0x50], r9d
mov qword [rsp + 0x70], r8
mov r12, rcx
mov qword [rbp - 0x20], rcx
mov r15, qword [0x180119f40]
mov qword [rbp - 0x78], r15
mov rax, qword [r15 + 0x4038]
mov byte [rax + 0xed], 1
mov r14, qword [r15 + 0x4038]
mov qword [rbp - 0x38], r14
cmp byte [r14 + 0xf0], 0
jne 0x18005099f
mov esi, dword [rbp + 0x208]
mov dword [rbp - 0x6c], esi
mov ebx, esi
shr ebx, 0x1a
and bl, 1
mov dword [rsp + 0x5c], ebx
mov eax, esi
shr eax, 0xe
and al, 1
mov dword [rsp + 0x64], eax
mov eax, esi
shr eax, 0xf
and al, 1
mov dword [rbp - 0x4c], eax
mov eax, esi
shr eax, 0x10
not al
and al, 1
mov dword [rbp - 0x80], eax
mov eax, esi
shr eax, 0x12
and al, 1
mov dword [rbp - 0x64], eax
test bl, bl
je 0x18005060e
call fcn.18001a7b0
movsxd rcx, dword [r14 + 0x128]
mov rax, qword [r14 + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
mov rcx, r12
call fcn.180007ce0
mov edi, eax
mov dword [rbp - 0x70], eax
mov rcx, qword [r14]
cmp dword [rcx + 0x4080], eax
jne 0x18005064a
mov r8, r12
mov edx, 0xb
mov ecx, eax
call fcn.18002ddf0
mov r8, qword [0x180119f40]
mov rcx, r12
cmp r12, 0xffffffffffffffff
jae 0x18005067d
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x18005067d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x180050674
cmp byte [rax], dl
je 0x18005067d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x180050660
movss xmm0, dword [r8 + 0x3d70]
xor eax, eax
movss xmm1, dword [0x180103fd0]
movss dword [rbp - 0x2c], xmm1
movss xmm9, dword [0x180103f9c]
xorps xmm8, xmm8
cmp r12, rcx
jne 0x1800506ac
xorps xmm7, xmm7
jmp 0x1800506f8
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], r12
movss dword [rsp + 0x20], xmm1
movaps xmm3, xmm9
movaps xmm2, xmm0
lea rdx, [rsp + 0x78]
mov rcx, qword [r8 + 0x3d68]
call fcn.18003f0c0
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x180103cbc]
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss xmm0, dword [rsp + 0x7c]
movss dword [rbp - 0x28], xmm7
test bl, bl
je 0x180050712
movss xmm0, dword [r15 + 0x3d70]
mulss xmm0, dword [0x180103e7c]
movss xmm6, dword [r15 + 0x3918]
movaps xmm3, xmm6
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.18001a630
movaps xmm2, xmm0
mov rdx, qword [rbp + 0x200]
mov rdx, qword [rdx]
lea rcx, [rsp + 0x78]
call fcn.18001a6b0
comiss xmm7, xmm8
jbe 0x180050756
movaps xmm1, xmm7
addss xmm1, dword [r15 + 0x392c]
jmp 0x180050759
xorps xmm1, xmm1
movss xmm12, dword [r14 + 0x13c]
movss dword [rbp - 0x60], xmm12
movaps xmm0, xmm12
movss xmm7, dword [rsp + 0x7c]
movss dword [rbp - 0x30], xmm7
addss xmm0, xmm7
movss xmm11, dword [r14 + 0x138]
movss dword [rbp - 0x40], xmm11
movaps xmm13, xmm11
movss xmm10, dword [rsp + 0x78]
addss xmm13, xmm10
movss dword [rbp - 0x3c], xmm13
movss dword [rbp - 0x18], xmm11
movss dword [rbp - 0x14], xmm12
movss dword [rbp - 0x10], xmm13
movss dword [rbp - 0xc], xmm0
movaps xmm2, xmm12
addss xmm2, xmm7
addss xmm1, xmm10
addss xmm1, xmm11
movss dword [rbp + 0x80], xmm11
movss dword [rbp + 0x84], xmm12
movss dword [rbp + 0x88], xmm1
movss dword [rbp + 0x8c], xmm2
mov r12, r14
mov qword [rbp - 0x48], r14
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
subss xmm2, xmm12
subss xmm1, xmm11
movss dword [rsp + 0x78], xmm1
movss dword [rsp + 0x7c], xmm2
lea rcx, [rsp + 0x78]
movaps xmm1, xmm6
call fcn.18001a1f0
test bl, bl
je 0x180050a75
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.18001a360
test al, al
je 0x18005099a
mov r13d, dword [r15 + 0x48e0]
movups xmm0, xmmword [r15 + 0x48d8]
movups xmmword [rbp + 0xb0], xmm0
movss dword [r14 + 0x138], xmm11
movss dword [r14 + 0x13c], xmm12
mov rbx, qword [0x180119f40]
mov dword [rbp + 0x80], 3
movups xmm0, xmmword [rbx + 0x39e8]
movups xmmword [rbp + 0x84], xmm0
lea rcx, [rbx + 0x49a8]
lea rdx, [rbp + 0x80]
call fcn.18002e920
movups xmm0, xmmword [r15 + 0x3a28]
movups xmmword [rbx + 0x39e8], xmm0
movss xmm1, dword [r15 + 0x391c]
mov ecx, 7
call fcn.180008be0
movss xmm1, dword [r15 + 0x3920]
mov ecx, 8
call fcn.180008be0
mov qword [rsp + 0x78], 0
lea rdx, [rsp + 0x78]
mov ecx, 2
call fcn.180008c60
movss xmm1, dword [rbp - 0xc]
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x60], xmm12
subss xmm1, xmm12
movss xmm6, dword [rbp - 0x10]
movss dword [rbp - 0x3c], xmm6
movaps xmm0, xmm6
movss xmm11, dword [rbp - 0x18]
movss dword [rbp - 0x40], xmm11
subss xmm0, xmm11
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x7c], xmm1
mov dword [rsp + 0x20], 4
mov r9b, 1
lea r8, [rsp + 0x78]
mov edx, edi
mov rcx, qword [rbp - 0x20]
call fcn.1800107f0
movzx ebx, al
mov ecx, 3
call fcn.180008cf0
mov r8, qword [0x180119f40]
movsxd rax, dword [r8 + 0x49a8]
cmp eax, 1
jl 0x180050991
lea rdx, [rax + rax*4]
mov rcx, qword [r8 + 0x49b0]
movsxd rax, dword [rcx + rdx*4 - 0x14]
add rax, rax
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
movups xmmword [r8 + rax*8 + 0x39b8], xmm0
dec dword [r8 + 0x49a8]
test bl, bl
jne 0x180050a03
call fcn.180010a70
call fcn.18001a8e0
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800aed10
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
movaps xmm15, xmmword [r11 - 0xa0]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r12, qword [r15 + 0x4038]
mov qword [rbp - 0x48], r12
movsx ecx, word [r12 + 0x196]
mov eax, dword [r12 + 0x190]
bts ecx, eax
mov word [r12 + 0x196], cx
movss xmm0, dword [r12 + 0x138]
addss xmm0, dword [r15 + 0x3914]
movss dword [r12 + 0x138], xmm0
movss xmm1, dword [r15 + 0x3918]
addss xmm1, dword [r12 + 0x13c]
movss dword [r12 + 0x13c], xmm1
subss xmm10, dword [r12 + 0xe0]
mov ebx, dword [rsp + 0x5c]
jmp 0x180050ac4
bt esi, 0x1c
jb 0x180050abd
mov r9d, 0x400
lea r8, [rbp - 0x18]
mov edx, edi
lea rcx, [rbp + 0x80]
call fcn.18001a360
test al, al
je 0x18005099f
movss xmm0, dword [rbp - 0x10]
movss dword [rbp - 0x3c], xmm0
movss xmm12, dword [rbp - 0x14]
movss dword [rbp - 0x60], xmm12
movss xmm11, dword [rbp - 0x18]
movss dword [rbp - 0x40], xmm11
mov r13d, dword [r15 + 0x48e0]
mov r8d, dword [r15 + 0x48dc]
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.18000ca80
movzx ecx, al
mov byte [rsp + 0x60], al
mov eax, 1
test cl, cl
je 0x180050aed
mov dword [r15 + 0x4df0], eax
mov r14, qword [0x180119f40]
test edi, edi
je 0x180050b0a
cmp dword [r14 + 0x4e08], edi
jne 0x180050b0a
add r14, 0x4e00
jmp 0x180050b0d
xor r14d, r14d
shr r13d, 8
and r13b, al
mov eax, dword [r15 + 0x4098]
cmp eax, edi
je 0x180050b43
cmp dword [r15 + 0x4ab8], edi
jne 0x180050b43
test byte [r15 + 0x4ac4], 1
jne 0x180050b3c
cmp dword [r15 + 0x4adc], 2
jne 0x180050b43
mov byte [rsp + 0x51], 1
jmp 0x180050b48
mov byte [rsp + 0x51], 0
test cl, cl
je 0x180050b5b
cmp byte [r15 + 0x3750], 0
je 0x180050b5b
mov sil, 1
jmp 0x180050b5e
xor sil, sil
mov byte [rsp + 0x53], sil
test bl, bl
je 0x180050bc6
test r14, r14
je 0x180050bc6
test eax, eax
jne 0x180050bc6
movsxd rcx, dword [r12 + 0x128]
mov rax, qword [r12 + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180007ce0
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x4080], eax
jne 0x180050bb4
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002ddf0
cmp dword [r15 + 0x40c8], ebx
jne 0x180050bc2
mov dil, 1
jmp 0x180050bd2
mov ebx, dword [rsp + 0x5c]
xor dil, dil
test bl, bl
je 0x180050c44
test r14, r14
je 0x180050c44
movsxd rcx, dword [r12 + 0x128]
mov rax, qword [r12 + 0x130]
mov r8d, dword [rax + rcx*4 - 4]
xor edx, edx
lea rcx, str.SCROLLY
call fcn.180007ce0
mov ebx, eax
mov rcx, qword [r12]
cmp dword [rcx + 0x4080], eax
jne 0x180050c16
lea r8, str.SCROLLY
mov edx, 0xb
mov ecx, eax
call fcn.18002ddf0
cmp dword [r15 + 0x4098], ebx
mov ebx, dword [rsp + 0x5c]
jne 0x180050c44
mov r12b, 1
mov byte [rsp + 0x52], r12b
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0xbc]
jmp 0x180050c6e
mov byte [rsp + 0x58], 0
mov byte [rsp + 0x54], 0
xor r12b, r12b
mov byte [rsp + 0x52], r12b
test bl, bl
je 0x180050c69
mov rax, qword [rbp - 0x48]
movss xmm9, dword [rax + 0xbc]
jmp 0x180050c6e
mov byte [rsp + 0x52], r12b
test r14, r14
je 0x180050c83
movzx eax, bl
xor al, 1
cmp byte [r14 + 0x6b], al
je 0x180050c83
mov r15b, 1
jmp 0x180050c86
xor r15b, r15b
test sil, sil
jne 0x180050cb1
test dil, dil
jne 0x180050cb1
cmp byte [rsp + 0x51], dil
jne 0x180050cb1
test r13b, r13b
jne 0x180050cb1
mov byte [rsp + 0x50], r13b
test r12b, r12b
jne 0x180050cb6
mov byte [rsp + 0x59], r12b
mov rax, qword [rbp - 0x78]
jmp 0x180050cca
mov byte [rsp + 0x50], 1
mov byte [rsp + 0x59], 1
mov rax, qword [rbp - 0x78]
mov edx, dword [rbp - 0x70]
cmp dword [rax + 0x4098], edx
jne 0x180050cd3
test r15b, r15b
je 0x180050f43
lea r14, [rax + 0x4e00]
mov dword [r14 + 0xe80], 0xbe99999a
mov ecx, dword [r14 + 8]
call fcn.180050430
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x70]
nop word [rax + rax]
inc rbx
cmp byte [rdx + rbx], 0
jne 0x180050d00
lea edi, [rbx + 1]
mov ecx, dword [r14 + 0x3c]
cmp edi, ecx
jle 0x180050d38
test ecx, ecx
je 0x180050d23
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050d28
mov eax, 8
mov edx, edi
cmp eax, edi
cmovg edx, eax
lea rcx, [r14 + 0x38]
call fcn.18002f2c0
mov dword [r14 + 0x38], edi
movsxd r8, edi
mov rdi, qword [rsp + 0x70]
mov rdx, rdi
mov rcx, qword [r14 + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [rbp - 0x70]
cmp dword [r14 + 8], esi
jne 0x180050d81
test r15b, r15b
jne 0x180050d81
mov r12b, 1
cmp dword [r14 + 0x10], ebx
jne 0x180050d81
cmp byte [r14 + 0x48], r15b
je 0x180050d84
movsxd r8, ebx
mov rdx, rdi
mov rcx, qword [r14 + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x180050d84
xor r12b, r12b
mov dword [r14 + 8], esi
movsxd rsi, dword [rbp - 0x50]
lea ebx, [rsi + 1]
mov ecx, dword [r14 + 0x1c]
cmp ebx, ecx
jle 0x180050dbb
test ecx, ecx
je 0x180050da6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180050dab
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002f350
mov dword [r14 + 0x18], ebx
mov ecx, dword [r14 + 0x2c]
test ecx, ecx
jns 0x180050de0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor edx, edx
test eax, eax
cmovg edx, eax
lea rcx, [r14 + 0x28]
call fcn.18002f2c0
xor edx, edx
mov dword [r14 + 0x28], edx
mov byte [r14 + 0x48], dl
mov rcx, qword [rsp + 0x70]
mov rdi, rcx
mov r15, qword [r14 + 0x20]
mov rbx, r15
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x180050e36
cmp byte [rdi], 0
je 0x180050e2f
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.180008000
movsxd rcx, eax
add rdi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x180050e05
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov word [rbx], dx
sub rbx, r15
sar rbx, 1
mov dword [r14 + 0xc], ebx
sub edi, ecx
mov dword [r14 + 0x10], edi
test r12b, r12b
je 0x180050e7f
mov ecx, ebx
cmp dword [r14 + 0x54], ebx
cmovl ecx, dword [r14 + 0x54]
mov dword [r14 + 0x54], ecx
mov ecx, ebx
cmp dword [r14 + 0x58], ebx
cmovl ecx, dword [r14 + 0x58]
mov dword [r14 + 0x58], ecx
cmp dword [r14 + 0x5c], ebx
cmovl ebx, dword [r14 + 0x5c]
mov dword [r14 + 0x5c], ebx
mov ebx, dword [rsp + 0x5c]
jmp 0x180050ed2
mov qword [r14 + 0x50], 0
mov dword [r14 + 0xe72], 0x630000
mov dword [r14 + 0xe78], edx
mov dword [r14 + 0xe7c], 0x3e7
mov qword [r14 + 0x58], 0
mov word [r14 + 0x69], 1
mov dword [r14 + 0x70], edx
mov byte [r14 + 0x68], 0
mov ebx, dword [rsp + 0x5c]
movzx eax, bl
xor al, 1
mov byte [r14 + 0x6b], al
mov byte [r14 + 0x60], 0
mov dword [r14 + 0x64], edx
test bl, bl
jne 0x180050f2a
mov r8d, dword [rbp - 0x6c]
test r8b, 0x10
mov eax, dword [rsp + 0x54]
movzx eax, al
mov r8d, 1
cmovne eax, r8d
mov dword [rsp + 0x54], eax
mov rax, qword [rbp - 0x78]
cmp byte [rsp + 0x51], bl
je 0x180050f10
test r12b, r12b
je 0x180050f0b
test byte [rax + 0x4ac4], 4
jne 0x180050f10
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x180050f25
cmp byte [rsp + 0x53], r13b
je 0x180050f2a
cmp byte [rax + 0xe28], r13b
je 0x180050f2a
mov byte [rsp + 0x54], r8b
movzx esi, byte [rsp + 0x53]
movzx r12d, byte [rsp + 0x52]
test dword [rbp - 0x6c], 0x2000
je 0x180050f43
mov byte [r14 + 0x60], 1
mov rdi, qword [rbp - 0x78]
movzx r15d, byte [rdi + 0x61]
mov byte [rbp - 0x68], r15b
mov r13d, dword [rbp - 0x70]
movzx ebx, byte [rsp + 0x50]
cmp dword [rdi + 0x4098], r13d
je 0x180050f96
test bl, bl
je 0x180050f89
mov rdx, qword [rbp - 0x38]
mov ecx, r13d
call fcn.18000c630
mov rdx, qword [rbp - 0x38]
mov ecx, r13d
call fcn.18001c6d0
xor edx, edx
mov rcx, qword [rbp - 0x38]
call fcn.180016d60
cmp dword [rdi + 0x4098], r13d
jne 0x1800510d8
test sil, sil
je 0x180050fb9
mov rax, qword [0x180119f40]
mov dword [rax + 0x46f0], r13d
mov dword [rax + 0x46ec], r13d
mov word [rax + 0x46f4], 0
mov eax, dword [rdi + 0x48a8]
or eax, 3
mov dword [rdi + 0x48a8], eax
mov ecx, dword [rsp + 0x5c]
mov edx, dword [rbp - 0x6c]
test cl, cl
jne 0x180050fd7
test dl, dl
jns 0x180050fe0
or eax, 0xc
mov dword [rdi + 0x48a8], eax
mov rax, qword [0x180119f40]
mov dword [rax + 0x4138], r13d
mov dword [rax + 0x4134], r13d
mov word [rax + 0x413c], 0
mov dword [rax + 0x4144], r13d
mov dword [rax + 0x4140], r13d
mov word [rax + 0x4148], 0
test cl, cl
je 0x180051047
mov dword [rax + 0x4120], r13d
mov dword [rax + 0x411c], r13d
mov word [rax + 0x4124], 0
mov dword [rax + 0x412c], r13d
mov dword [rax + 0x4128], r13d
mov word [rax + 0x4130], 0
test r15b, r15b
je 0x180051063
mov dword [rax + 0x475c], r13d
mov dword [rax + 0x4758], r13d
mov word [rax + 0x4760], 0
test edx, 0x440
je 0x18005109b
mov ecx, 0x200
call fcn.180017da0
mov rdx, qword [0x180119f40]
lea ecx, [r13 - 1]
cmp ecx, 0xfffffffd
mov ecx, r13d
jbe 0x18005108e
mov ecx, dword [rdx + 0x48b4]
cmp byte [rax + 4], 0
jbe 0x18005109b
mov dword [rax + 0xc], ecx
mov byte [rax + 4], 0
cmp dword [rdi + 0x4098], r13d
jne 0x1800510d8
test r14, r14
jne 0x1800510b2
xor edx, edx
xor ecx, ecx
call fcn.18000c630
cmp dword [rdi + 0x4098], r13d
jne 0x1800510d8
cmp byte [rdi + 0x3750], 0
je 0x1800510e2
cmp byte [rsp + 0x59], 0
jne 0x1800510e2
test bl, bl
jne 0x1800510e2
mov byte [rsp + 0x58], 1
mov cl, 1
jmp 0x1800510e8
test r14, r14
je 0x1800510e6
test r12b, r12b
je 0x1800510e6
mov cl, 1
jmp 0x1800510e8
xor cl, cl
mov byte [rsp + 0x50], cl
mov r13d, dword [rsp + 0x54]
test r14, r14
je 0x18005110d
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x180051105
test r13b, r13b
je 0x18005110d
test cl, cl
je 0x18005110d
mov dl, 1
jmp 0x18005110f
xor dl, dl
mov dword [rsp + 0x54], edx
movzx r12d, dl
mov byte [rsp + 0x53], 0
mov byte [rsp + 0x59], 0
mov eax, dword [rsp + 0x64]
test al, al
je 0x18005121c
test r14, r14
je 0x18005121c
test cl, cl
jne 0x180051142
test dl, dl
je 0x180051224
mov esi, dword [rbp - 0x50]
inc esi
mov ecx, dword [r14 + 0x1c]
cmp esi, ecx
jle 0x180051173
test ecx, ecx
je 0x18005115e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180051163
mov eax, 8
mov edx, esi
cmp eax, esi
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002f350
mov dword [r14 + 0x18], esi
mov rcx, qword [rsp + 0x70]
mov rbx, rcx
mov r15, qword [r14 + 0x20]
mov rdi, r15
movsxd rsi, esi
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x1800511c4
cmp byte [rbx], 0
je 0x1800511bf
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.180008000
movsxd rcx, eax
add rbx, rcx
movzx eax, word [rbp - 0x58]
mov word [rdi], ax
add rdi, 2
cmp rdi, rsi
jb 0x180051195
mov rcx, qword [rsp + 0x70]
xor edx, edx
mov word [rdi], dx
sub rdi, r15
sar rdi, 1
mov dword [r14 + 0xc], edi
sub ebx, ecx
mov dword [r14 + 0x10], ebx
mov ecx, edi
cmp dword [r14 + 0x54], edi
cmovl ecx, dword [r14 + 0x54]
mov dword [r14 + 0x54], ecx
mov ecx, edi
cmp dword [r14 + 0x58], edi
cmovl ecx, dword [r14 + 0x58]
mov dword [r14 + 0x58], ecx
cmp dword [r14 + 0x5c], edi
cmovl edi, dword [r14 + 0x5c]
mov dword [r14 + 0x5c], edi
cmp ecx, edi
cmovne edx, r12d
mov dword [rsp + 0x54], edx
movzx r15d, byte [rbp - 0x68]
movzx ecx, byte [rsp + 0x50]
mov eax, dword [rsp + 0x64]
test cl, cl
jne 0x180051237
test dl, dl
jne 0x180051237
mov r12, qword [rbp - 0x78]
mov ebx, dword [rbp - 0x70]
cmp dword [r12 + 0x4098], ebx
jne 0x180051251
jmp 0x18005123e
mov ebx, dword [rbp - 0x70]
mov r12, qword [rbp - 0x78]
test al, al
jne 0x180051251
test r14, r14
je 0x180051251
cmp byte [r14 + 0x48], al
mov byte [rbp - 0x65], 1
jne 0x180051255
mov byte [rbp - 0x65], 0
cmp byte [rbp - 0x4c], 0
je 0x1800512ef
mov rdx, qword [r12 + 0x3d68]
cmp dword [rdx + 0x18], 0x2a
ja 0x180051273
mov r8, qword [rdx + 0x38]
jmp 0x180051297
mov rax, qword [rdx + 0x20]
movzx ecx, word [rax + 0x54]
mov eax, 0xffff
cmp cx, ax
jne 0x18005128b
mov r8, qword [rdx + 0x38]
jmp 0x180051297
lea rcx, [rcx + rcx*4]
mov rax, qword [rdx + 0x30]
lea r8, [rax + rcx*8]
lea rcx, [r12 + 0x5ca8]
mov eax, dword [rdx + 0x14]
mov dword [rcx + 0x14], eax
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x64]
mov dword [rcx + 0x64], edx
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x68]
mov dword [rcx + 0x68], edx
mov rax, qword [r12 + 0x3d68]
mov edx, dword [rax + 0x6c]
mov dword [rcx + 0x6c], edx
mov rax, qword [r12 + 0x3d68]
mov rdx, qword [rax + 0x40]
mov qword [rcx + 0x40], rdx
mov qword [rcx + 0x38], r8
mov eax, dword [r8 + 4]
mov dword [rcx + 0x10], eax
call fcn.180017240
xor eax, eax
mov dword [rbp - 0x58], eax
movss xmm0, dword [0x180103c7c]
cmp dword [r12 + 0x4098], ebx
jne 0x180051858
mov eax, dword [r14 + 0x10]
mov dword [rbp - 0x58], eax
mov byte [r14 + 0xe86], 0
mov eax, dword [rbp - 0x50]
mov dword [r14 + 0x4c], eax
mov edi, dword [rbp - 0x6c]
mov dword [r14 + 0xe88], edi
cmp byte [r12 + 0xe10], 0
sete al
mov byte [r12 + 0x40a5], al
movss xmm6, dword [r12 + 0xe08]
subss xmm6, xmm11
subss xmm6, dword [r12 + 0x3914]
addss xmm6, dword [r14 + 0x50]
mov esi, dword [rsp + 0x5c]
test sil, sil
je 0x18005137e
movss xmm2, dword [r12 + 0xe0c]
mov rax, qword [rbp - 0x48]
subss xmm2, dword [rax + 0x13c]
jmp 0x18005138c
movss xmm2, dword [r12 + 0x3d70]
mulss xmm2, xmm0
test r13b, r13b
je 0x1800513b4
xor esi, esi
mov dword [r14 + 0x58], esi
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], sil
mov byte [r14 + 0xe85], 1
jmp 0x1800516dd
movzx ecx, byte [rsp + 0x60]
test cl, cl
je 0x18005158e
cmp word [r12 + 0x375a], 2
jb 0x18005158e
cmp byte [r12 + 0xe29], 0
jne 0x18005158e
cmp byte [r14 + 0x6b], 0
je 0x180051401
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.18004e150
movss xmm2, dword [rbp + 0x8c]
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004e6f0
movsxd rdx, eax
mov dword [r14 + 0x54], edx
mov dword [r14 + 0x58], edx
mov dword [r14 + 0x5c], edx
mov byte [r14 + 0x6a], 0
movzx eax, word [r12 + 0x375a]
sub eax, 2
test al, 1
jne 0x1800514f8
test edx, edx
je 0x18005144d
lea eax, [rdx - 1]
movsxd rcx, eax
mov rax, qword [r14 + 0x20]
cmp word [rax + rcx*2], 0xa
je 0x18005144d
xor cl, cl
jmp 0x18005144f
mov cl, 1
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18005145d
test cl, cl
jne 0x180051486
mov r8d, 0x20000c
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov edx, dword [r14 + 0x54]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x1800514a6
cmp dword [r14 + 0x58], eax
jne 0x1800514a0
mov dword [r14 + 0x5c], edx
mov dword [r14 + 0x58], edx
jmp 0x1800514a6
mov dword [r14 + 0x54], eax
mov edx, eax
mov rcx, r14
call fcn.18004e330
mov dword [r14 + 0x54], eax
mov dword [r14 + 0x5c], eax
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
cmp ecx, edx
je 0x1800514e2
cmp ecx, eax
jle 0x1800514d0
mov dword [r14 + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x1800514da
mov dword [r14 + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x1800514e2
mov dword [r14 + 0x54], ecx
cmp dword [r14 + 0x54], eax
jle 0x180051586
mov dword [r14 + 0x54], eax
mov edi, dword [rbp - 0x6c]
jmp 0x1800516d0
mov rcx, qword [r14 + 0x20]
movzx ebx, word [rcx + rdx*2]
mov r8d, 0x200004
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r8d, 0x600005
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r8d, 0x600001
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
cmp bx, 0xa
je 0x18005157b
test sil, sil
je 0x18005157b
mov ecx, dword [r14 + 0x58]
mov eax, dword [r14 + 0x5c]
mov dword [r14 + 0x58], eax
mov dword [r14 + 0x5c], ecx
mov dword [r14 + 0x54], ecx
mov byte [r14 + 0xe84], 0
mov ebx, dword [rbp - 0x70]
mov edi, dword [rbp - 0x6c]
jmp 0x1800516d0
movzx eax, byte [r14 + 0xe85]
cmp byte [r12 + 0x3750], 0
je 0x18005164b
test al, al
jne 0x18005164b
test cl, cl
je 0x1800516db
cmp byte [r12 + 0xe29], al
je 0x180051609
cmp byte [r14 + 0x6b], al
je 0x1800515df
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.18004e150
movss xmm2, dword [rbp + 0x8c]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x1800515f1
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x58], eax
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004e6f0
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
jmp 0x1800516d0
cmp byte [r14 + 0x6b], 0
je 0x18005162a
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.18004e150
movss xmm2, dword [rbp + 0x8c]
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004e6f0
mov dword [r14 + 0x58], eax
mov byte [r14 + 0x6a], 0
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
jmp 0x1800516d0
cmp byte [r12 + 0xe10], 0
je 0x1800516db
test al, al
jne 0x1800516db
movss xmm0, dword [r12 + 0xf8]
ucomiss xmm0, xmm8
jp 0x180051682
jne 0x180051682
movss xmm0, dword [r12 + 0xfc]
ucomiss xmm0, xmm8
jp 0x180051682
je 0x1800516db
cmp byte [r14 + 0x6b], 0
je 0x1800516a3
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x80]
call fcn.18004e150
movss xmm2, dword [rbp + 0x8c]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x1800516b5
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x58], eax
movaps xmm1, xmm6
mov rcx, r14
call fcn.18004e6f0
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
xor esi, esi
cmp byte [r14 + 0xe85], 0
je 0x1800516fa
cmp byte [r12 + 0xe10], 0
jne 0x1800516fa
mov byte [r14 + 0xe85], 0
bt edi, 0xa
jae 0x18005175f
xor r8d, r8d
mov edx, ebx
mov ecx, 0x200
call fcn.18001a0f0
mov ecx, dword [rsp + 0x64]
test al, al
je 0x180051763
test cl, cl
jne 0x180051763
mov dword [rsp + 0x68], 9
mov dword [rsp + 0x20], 2
mov edx, edi
lea rcx, [rsp + 0x68]
call fcn.18004ffb0
test al, al
je 0x18005175f
lea rdx, [r14 + 0x54]
mov r8d, dword [rsp + 0x68]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov ecx, dword [rsp + 0x64]
cmp byte [r12 + 0xe28], 0
je 0x180051779
cmp byte [r12 + 0xe2a], 0
je 0x180051789
test r15b, r15b
je 0x18005178d
cmp byte [r12 + 0xe2b], 0
je 0x18005178d
mov al, 1
jmp 0x18005178f
xor al, al
cmp dword [r12 + 0x37f0], 0
jle 0x180051858
test al, al
jne 0x180051827
test cl, cl
jne 0x180051827
cmp byte [rsp + 0x51], cl
jne 0x180051827
mov edi, esi
mov rbx, rsi
mov r15d, dword [rbp - 0x6c]
nop dword [rax]
mov rax, qword [r12 + 0x37f8]
movzx ecx, word [rbx + rax]
mov dword [rsp + 0x68], ecx
cmp ecx, 9
je 0x180051812
mov dword [rsp + 0x20], 2
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.18004ffb0
test al, al
je 0x180051812
lea rdx, [r14 + 0x54]
mov r8d, dword [rsp + 0x68]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
inc edi
add rbx, 2
cmp edi, dword [r12 + 0x37f0]
jl 0x1800517c0
movzx r15d, byte [rbp - 0x68]
mov ecx, dword [r12 + 0x37f4]
test ecx, ecx
jns 0x180051850
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov edx, esi
test eax, eax
cmovg edx, eax
lea rcx, [r12 + 0x37f0]
call fcn.18002f350
mov dword [r12 + 0x37f0], esi
xor sil, sil
mov byte [rbp - 0x66], sil
mov r13d, dword [rbp - 0x70]
cmp dword [r12 + 0x4098], r13d
jne 0x18005243e
cmp byte [r12 + 0x40a4], sil
jne 0x18005243e
cmp byte [rsp + 0x58], sil
jne 0x18005243e
movaps xmm0, xmm7
subss xmm0, dword [r12 + 0x3918]
divss xmm0, dword [r12 + 0x3d70]
cvttss2si eax, xmm0
mov ebx, 1
mov ecx, ebx
cmp eax, ebx
cmovge ecx, eax
mov dword [rsp + 0x68], ecx
mov dword [r14 + 0x64], ecx
movzx eax, byte [r12 + 0xe29]
neg al
sbb edi, edi
and edi, 0x400000
test r15b, r15b
je 0x1800518fc
movzx eax, byte [r12 + 0xe2a]
mov byte [rsp + 0x52], al
cmp byte [r12 + 0xe2b], sil
je 0x180051909
cmp byte [r12 + 0xe28], sil
jne 0x180051909
test al, al
jne 0x180051909
mov byte [rsp + 0x51], bl
jmp 0x18005190e
movzx eax, byte [r12 + 0xe28]
mov byte [rsp + 0x52], al
mov byte [rsp + 0x51], sil
mov r8d, ebx
mov edx, r13d
mov ecx, 0xa39
call fcn.18001a0f0
test al, al
jne 0x180051936
mov r8d, ebx
mov edx, r13d
mov ecx, 0x220a
call fcn.18001a0f0
test al, al
je 0x180051960
mov esi, dword [rsp + 0x64]
mov r12d, dword [rbp - 0x4c]
mov ebx, dword [rsp + 0x5c]
test sil, sil
jne 0x18005196c
test r12b, r12b
jne 0x18005196c
test bl, bl
je 0x18005195a
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x18005196c
mov byte [rbp - 0x67], 1
jmp 0x180051970
mov ebx, dword [rsp + 0x5c]
mov esi, dword [rsp + 0x64]
mov r12d, dword [rbp - 0x4c]
mov byte [rbp - 0x67], 0
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa24
call fcn.18001a0f0
test al, al
jne 0x180051998
xor r8d, r8d
mov edx, r13d
mov ecx, 0x1209
call fcn.18001a0f0
test al, al
je 0x1800519b1
test r12b, r12b
jne 0x1800519b1
test bl, bl
je 0x1800519ab
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x1800519b1
mov byte [rbp - 0x5c], 1
jmp 0x1800519b5
mov byte [rbp - 0x5c], 0
mov r12d, 1
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa37
call fcn.18001a0f0
test al, al
jne 0x1800519e3
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2209
call fcn.18001a0f0
test al, al
je 0x1800519ed
test sil, sil
mov byte [rsp + 0x60], r12b
je 0x1800519f2
mov byte [rsp + 0x60], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3b
call fcn.18001a0f0
mov ebx, dword [rbp - 0x80]
test al, al
je 0x180051a16
test sil, sil
jne 0x180051a16
test bl, bl
mov byte [rbp - 0x54], r12b
jne 0x180051a1a
mov byte [rbp - 0x54], 0
mov r8d, r12d
mov edx, r13d
mov ecx, 0xa3a
call fcn.18001a0f0
test al, al
jne 0x180051a47
test r15b, r15b
je 0x180051a50
mov r8d, r12d
mov edx, r13d
mov ecx, 0x2a3b
call fcn.18001a0f0
test al, al
je 0x180051a50
test sil, sil
jne 0x180051a50
test bl, bl
jne 0x180051a53
xor r12b, r12b
xor r8d, r8d
mov edx, r13d
mov ecx, 0xa22
call fcn.18001a0f0
movzx r13d, al
mov rax, qword [rbp - 0x78]
test byte [rax + 8], 2
je 0x180051a7b
test byte [rax + 0xc], 1
je 0x180051a7b
mov bl, 1
jmp 0x180051a7d
xor bl, bl
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x20d
call fcn.180018110
test al, al
jne 0x180051aad
mov r8d, esi
xor edx, edx
mov ecx, 0x267
call fcn.180018110
test al, al
jne 0x180051aad
xor r15b, r15b
jmp 0x180051ab1
movzx r15d, sil
test bl, bl
je 0x180051adb
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180018110
test al, al
jne 0x180051ade
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180018110
test al, al
jne 0x180051ade
xor sil, sil
mov r8d, 1
mov edx, dword [rbp - 0x70]
mov ecx, 0x20e
call fcn.18001a0f0
test al, al
jne 0x180051b14
test bl, bl
je 0x180051b10
mov r8d, 1
mov edx, dword [rbp - 0x70]
mov ecx, 0x26c
call fcn.18001a0f0
test al, al
jne 0x180051b14
xor bl, bl
jmp 0x180051b16
mov bl, 1
xor edx, edx
mov ecx, 0x201
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051b77
cmp byte [rsp + 0x51], 0
je 0x180051b38
mov eax, 0x200004
jmp 0x180051b4a
mov eax, 0x200000
cmp byte [rsp + 0x52], 0
mov ecx, 0x20000c
cmovne eax, ecx
or edi, eax
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004ebb0
mov dword [r14 + 0xe80], 0xbe99999a
mov byte [r14 + 0xe84], 1
mov r12, qword [rbp - 0x78]
jmp 0x180052401
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051bb1
cmp byte [rsp + 0x51], 0
je 0x180051b9b
mov ecx, 0x200005
or edi, ecx
jmp 0x180051b4c
mov ecx, 0x200001
mov eax, 0x20000d
cmp byte [rsp + 0x52], 0
cmovne ecx, eax
or edi, ecx
jmp 0x180051b4c
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051c4d
cmp byte [rsp + 0x5c], 0
je 0x180051c4d
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
je 0x180051c19
mov r9, qword [rbp - 0x48]
movss xmm0, dword [r9 + 0xbc]
subss xmm0, dword [r12 + 0x3d70]
maxss xmm0, xmm8
movss dword [r9 + 0xcc], xmm0
xor eax, eax
mov dword [r9 + 0xd4], eax
mov dword [r9 + 0xdc], eax
jmp 0x180052401
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200002]
or r8d, edi
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
jmp 0x180052401
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051cd0
cmp byte [rsp + 0x5c], 0
je 0x180051cd0
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
je 0x180051cbe
mov rax, qword [0x180119f40]
mov rcx, qword [rax + 0x4038]
movss xmm0, dword [r12 + 0x3d70]
mov rax, qword [rbp - 0x48]
addss xmm0, dword [rax + 0xbc]
minss xmm0, dword [rcx + 0xc4]
movss dword [rax + 0xcc], xmm0
xor ecx, ecx
mov dword [rax + 0xd4], ecx
mov dword [rax + 0xdc], ecx
jmp 0x180052401
movzx eax, byte [rsp + 0x51]
lea r8d, [rax*4 + 0x200003]
jmp 0x180051c26
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051d34
cmp byte [rsp + 0x5c], 0
je 0x180051d34
or edi, 0x20000e
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
mov r12, qword [rbp - 0x78]
mulss xmm0, dword [r12 + 0x3d70]
subss xmm9, xmm0
jmp 0x180052401
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051d98
cmp byte [rsp + 0x5c], 0
je 0x180051d98
or edi, 0x20000f
lea rdx, [r14 + 0x54]
mov r8d, edi
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
movd xmm0, dword [rsp + 0x68]
cvtdq2ps xmm0, xmm0
mov r12, qword [rbp - 0x78]
mulss xmm0, dword [r12 + 0x3d70]
addss xmm9, xmm0
jmp 0x180052401
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051dd1
mov eax, edi
or eax, 0x200006
or edi, 0x200004
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
cmovne edi, eax
mov r8d, edi
jmp 0x180051c29
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051e0b
mov eax, edi
or eax, 0x200007
mov r8d, 0x200005
or r8d, edi
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe28], 0
cmovne r8d, eax
jmp 0x180051c29
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.180018110
test al, al
je 0x180051e6d
cmp byte [rsp + 0x64], 0
jne 0x180051e6d
cmp byte [rbp - 0x67], 0
jne 0x180051e6d
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x180051e62
cmp byte [rsp + 0x52], 0
je 0x180051e62
lea rdx, [r14 + 0x54]
mov r8d, 0x60000d
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
or edi, 0x200008
jmp 0x180051b4c
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.180018110
mov r8d, dword [rsp + 0x64]
test al, al
je 0x180051f39
test r8b, r8b
jne 0x180051f39
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x180051ec9
cmp byte [rsp + 0x52], r8b
je 0x180051edb
lea rdx, [r14 + 0x54]
mov r8d, 0x60000c
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
mov r12, qword [rbp - 0x78]
or edi, 0x200009
mov r8d, edi
jmp 0x180051c29
cmp byte [rbp - 0x68], 0
je 0x180051ec9
mov r12, qword [rbp - 0x78]
cmp byte [r12 + 0xe2b], 0
je 0x180051ecd
cmp byte [r12 + 0xe2a], 0
jne 0x180051ecd
cmp byte [r12 + 0xe28], 0
jne 0x180051ecd
lea rdx, [r14 + 0x54]
mov r8d, 0x600004
mov rcx, r14
call fcn.18004ebb0
mov byte [r14 + 0xe84], 1
mov dword [r14 + 0xe80], 0xbe99999a
or edi, 0x200009
mov r8d, edi
jmp 0x180051c29
test r15b, r15b
jne 0x18005236a
test sil, sil
jne 0x18005236a
test bl, bl
je 0x180051fa8
mov rdx, qword [rsp + 0x70]
test dword [rbp - 0x6c], 0x100000
je 0x180051f89
movzx eax, byte [rdx]
test al, al
jne 0x180051f78
xor r12b, r12b
mov dword [rsp + 0x54], r12d
mov byte [rsp + 0x50], r12b
mov byte [rsp + 0x58], 1
test al, al
setne sil
mov byte [rbp - 0x66], sil
mov r12, qword [rbp - 0x78]
jmp 0x180052409
mov sil, 1
mov byte [rbp - 0x66], sil
mov byte [rsp + 0x58], sil
xor cl, cl
xor r8b, r8b
mov byte [rsp + 0x50], r8b
mov r12, qword [rbp - 0x78]
jmp 0x180052413
movzx eax, byte [rbp - 0x54]
test al, al
jne 0x18005233f
test r12b, r12b
jne 0x18005233f
test r13b, r13b
je 0x180051fe9
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], r12b
mov byte [r14 + 0xe84], 1
mov r12, qword [rbp - 0x78]
jmp 0x180052401
movzx r12d, byte [rbp - 0x67]
test r12b, r12b
jne 0x18005219c
cmp byte [rbp - 0x5c], r12b
jne 0x18005219c
cmp byte [rsp + 0x60], r12b
je 0x180051b6e
mov rcx, qword [0x180119f40]
mov rax, qword [rcx + 0xb0]
test rax, rax
je 0x18005203d
mov rcx, qword [rcx + 0xc0]
call rax
mov rbx, rax
test rax, rax
je 0x180051b6e
mov rcx, qword [0x180119f40]
jmp 0x180052044
lea rbx, [0x1800e7dde]
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x180052050
test rcx, rcx
je 0x180052064
inc dword [rcx + 0xf4]
inc eax
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
mov qword [rsp + 0x78], rax
xor r12d, r12d
mov esi, r12d
cmp byte [rbx], r12b
je 0x1800520d7
mov rdi, rax
mov r15d, dword [rbp - 0x6c]
nop dword [rax]
xor r8d, r8d
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rbx, rcx
mov dword [rsp + 0x20], 4
mov edx, r15d
lea rcx, [rsp + 0x68]
call fcn.18004ffb0
test al, al
je 0x1800520cd
movzx eax, word [rsp + 0x68]
mov word [rdi], ax
inc esi
add rdi, 2
cmp byte [rbx], r12b
jne 0x180052090
mov r15, qword [rsp + 0x78]
movsxd rax, esi
mov word [r15 + rax*2], r12w
test esi, esi
jle 0x180052173
mov eax, dword [r14 + 0xc]
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
cmp ecx, edx
je 0x180052113
cmp ecx, eax
jle 0x180052101
mov dword [r14 + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x18005210b
mov dword [r14 + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180052113
mov dword [r14 + 0x54], ecx
cmp dword [r14 + 0x54], eax
jle 0x18005211d
mov dword [r14 + 0x54], eax
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004eb10
mov r9d, esi
mov r8, r15
mov edx, dword [r14 + 0x54]
mov rcx, r14
call fcn.18004e560
test al, al
je 0x18005216b
mov edi, dword [r14 + 0x54]
lea rcx, [r14 + 0x74]
xor edx, edx
call fcn.18004fa10
test rax, rax
je 0x180052163
mov dword [rax], edi
mov dword [rax + 4], r12d
mov dword [rax + 8], esi
mov dword [rax + 0xc], 0xffffffff
add dword [r14 + 0x54], esi
mov byte [r14 + 0x6a], r12b
mov byte [r14 + 0xe84], 1
test r15, r15
je 0x18005218a
mov rax, qword [0x180119f40]
test rax, rax
je 0x18005218a
dec dword [rax + 0xf4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12, qword [rbp - 0x78]
jmp 0x180052401
mov rax, qword [rbp - 0x78]
cmp qword [rax + 0xb8], 0
je 0x1800522e5
mov eax, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
cmp ecx, eax
je 0x1800521c4
mov edx, eax
cmovl edx, ecx
cmovge eax, ecx
jmp 0x1800521cc
xor eax, eax
mov edx, eax
mov eax, dword [r14 + 0xc]
movsxd rdi, eax
mov rax, qword [r14 + 0x20]
lea r8, [rax + rdi*2]
movsxd r15, edx
lea rdx, [rax + r15*2]
xor eax, eax
mov ecx, eax
mov r9d, 0x800
mov r13d, 0x80
nop
test r8, r8
je 0x1800521fa
cmp rdx, r8
jae 0x18005221d
movzx eax, word [rdx]
test ax, ax
je 0x18005221d
add rdx, 2
cmp ax, r13w
jae 0x180052210
inc ecx
jmp 0x1800521f0
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x1800521f0
inc ecx
mov rax, qword [0x180119f40]
test rax, rax
je 0x180052231
inc dword [rax + 0xf4]
movsxd rbx, ecx
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov rcx, qword [r14 + 0x20]
lea r11, [rcx + rdi*2]
lea r10, [rcx + r15*2]
mov r9, rax
lea rdi, [rax + rbx]
lea rbx, [rdi - 1]
cmp rax, rbx
jae 0x1800522a1
nop dword [rax]
test r11, r11
je 0x18005226a
cmp r10, r11
jae 0x1800522a1
movzx eax, word [r10]
test ax, ax
je 0x1800522a1
mov r8d, eax
add r10, 2
cmp eax, r13d
jae 0x180052287
mov byte [r9], r8b
inc r9
jmp 0x18005229c
mov edx, edi
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800081b0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x180052260
mov byte [r9], 0
mov rax, qword [0x180119f40]
mov r8, qword [rax + 0xb8]
test r8, r8
je 0x1800522cc
mov rdx, rsi
mov rcx, qword [rax + 0xc0]
call r8
mov rax, qword [0x180119f40]
test rsi, rsi
je 0x1800522dc
test rax, rax
je 0x1800522dc
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r12b, r12b
je 0x180051b6e
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
jne 0x18005230f
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], 0
mov byte [r14 + 0xe84], 1
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x180051b6e
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004eb10
mov byte [r14 + 0x6a], 0
mov r12, qword [rbp - 0x78]
jmp 0x180052401
mov r8d, eax
xor r8d, 1
add r8d, 0x20000a
lea rdx, [r14 + 0x54]
mov rcx, r14
call fcn.18004ebb0
mov eax, dword [r14 + 0x54]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x58], eax
jmp 0x180051b5b
mov edx, dword [rbp - 0x6c]
mov eax, edx
shr eax, 0xb
and al, 1
mov ecx, dword [rsp + 0x5c]
mov r12, qword [rbp - 0x78]
test cl, cl
je 0x180052393
test sil, sil
jne 0x180052393
test al, al
je 0x1800523bc
cmp byte [r12 + 0xe28], sil
jne 0x1800523c7
mov byte [rsp + 0x59], 1
cmp byte [r12 + 0x64], 0
je 0x1800523fc
test cl, cl
jne 0x1800523fc
xor eax, eax
mov dword [r14 + 0x58], eax
mov eax, dword [r14 + 0xc]
mov dword [r14 + 0x5c], eax
mov dword [r14 + 0x54], eax
mov byte [r14 + 0x6a], cl
jmp 0x180052401
cmp byte [r12 + 0xe28], 0
jne 0x180052393
test r8b, r8b
jne 0x180051b6e
mov dword [rsp + 0x68], 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x68]
call fcn.18004ffb0
test al, al
je 0x180051b6e
mov r8d, dword [rsp + 0x68]
jmp 0x180051c29
mov byte [rsp + 0x58], 1
mov rdx, qword [rsp + 0x70]
xor sil, sil
mov ecx, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x50]
mov eax, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], eax
je 0x180052430
test r8b, r8b
je 0x180052430
mov al, 1
or cl, al
mov dword [rsp + 0x54], ecx
mov r13d, dword [rbp - 0x70]
jmp 0x180052443
xor al, al
or cl, al
mov dword [rsp + 0x54], ecx
mov r13d, dword [rbp - 0x70]
jmp 0x180052443
mov rdx, qword [rsp + 0x70]
xor r11d, r11d
mov qword [rsp + 0x78], r11
mov dword [rbp - 0x80], r11d
cmp dword [r12 + 0x4098], r13d
jne 0x180052ba6
mov r15d, dword [rsp + 0x64]
test r15b, r15b
jne 0x180052724
test sil, sil
je 0x18005267f
test dword [rbp - 0x6c], 0x100000
je 0x1800524f2
lea rax, [0x1800e7dde]
mov qword [rsp + 0x78], rax
mov dword [rbp - 0x80], r11d
mov byte [rsp + 0x53], 1
movsxd rbx, dword [r14 + 0xc]
lea rcx, [r14 + 0x74]
xor r9d, r9d
mov r8d, ebx
xor edx, edx
call fcn.18004fc00
mov r9, rax
test rax, rax
je 0x1800524d5
test ebx, ebx
jle 0x1800524d5
xor eax, eax
mov edx, eax
nop word [rax + rax]
mov rcx, qword [r14 + 0x20]
movzx eax, word [rcx + rdx*2]
mov word [r9 + rdx*2], ax
inc rdx
cmp rdx, rbx
jl 0x1800524c0
mov r8d, dword [r14 + 0xc]
xor edx, edx
mov rcx, r14
call fcn.18004e490
xor eax, eax
mov qword [r14 + 0x58], rax
mov dword [r14 + 0x54], eax
jmp 0x18005267f
mov r9, qword [r14 + 0x40]
mov rax, rdx
mov r8, r9
sub r8, rdx
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180052513
inc rax
test ecx, ecx
jne 0x180052500
test edx, edx
je 0x18005267f
mov r12, r9
mov qword [rsp + 0x78], r9
mov eax, dword [r14 + 0x38]
dec eax
mov dword [rbp - 0x80], eax
mov byte [rsp + 0x53], 1
mov qword [rbp + 0x80], r11
mov r15d, r11d
mov r13, r11
mov qword [rbp + 0x88], r11
test eax, eax
jle 0x180052637
movsxd rbx, eax
add rbx, r9
mov rdi, r9
mov esi, r11d
nop dword [rax]
test rbx, rbx
je 0x18005256a
cmp rdi, rbx
jae 0x180052589
cmp byte [rdi], 0
je 0x180052589
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rdi, rcx
inc esi
jmp 0x180052560
lea r15d, [rsi + 1]
test r15d, r15d
jle 0x1800525d3
mov edi, r15d
cmp r15d, 8
mov eax, 8
cmovl edi, eax
test edi, edi
jle 0x1800525d3
mov rax, qword [0x180119f40]
test rax, rax
je 0x1800525b7
inc dword [rax + 0xf4]
movsxd rcx, edi
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r13, rax
mov qword [rbp + 0x88], rax
mov dword [rbp + 0x84], edi
mov dword [rbp + 0x80], r15d
mov rdi, r12
mov rsi, r13
movsxd r12, r15d
lea r12, [r12*2 - 2]
add r12, r13
cmp r13, r12
jae 0x180052629
test rbx, rbx
je 0x1800525fd
cmp rdi, rbx
jae 0x180052629
cmp byte [rdi], 0
je 0x180052629
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rdi, rcx
movzx eax, word [rsp + 0x68]
mov word [rsi], ax
add rsi, 2
cmp rsi, r12
jb 0x1800525f3
xor r11d, r11d
mov word [rsi], r11w
mov eax, dword [rbp - 0x80]
movzx esi, byte [rbp - 0x66]
lea r9d, [r15 - 1]
test eax, eax
cmovle r9d, r11d
lea rdx, [r14 + 0x54]
mov r8, r13
mov rcx, r14
call fcn.18004fef0
nop
test r13, r13
je 0x180052672
mov rax, qword [0x180119f40]
test rax, rax
je 0x180052668
dec dword [rax + 0xf4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov r12, qword [rbp - 0x78]
mov r13d, dword [rbp - 0x70]
mov r15d, dword [rsp + 0x64]
mov byte [r14 + 0x48], 1
mov eax, dword [r14 + 0x18]
lea ebx, [rax*4 + 1]
mov ecx, dword [r14 + 0x2c]
cmp ebx, ecx
jle 0x1800526bb
test ecx, ecx
je 0x1800526a6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800526ab
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x28]
call fcn.18002f2c0
mov dword [r14 + 0x28], ebx
mov r10, qword [r14 + 0x20]
mov r9, qword [r14 + 0x30]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x18005271d
mov r15d, 0x80
nop dword [rax]
movzx eax, word [r10]
test ax, ax
je 0x180052718
mov r8d, eax
add r10, 2
cmp eax, r15d
jae 0x1800526fd
mov byte [r9], r8b
inc r9
jmp 0x180052713
mov edx, r11d
sub edx, r9d
dec edx
mov rcx, r9
call fcn.1800081b0
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x1800526e0
mov r15d, dword [rsp + 0x64]
mov byte [r9], 0
xor r11d, r11d
test sil, sil
je 0x180052792
cmp byte [rsp + 0x59], 0
je 0x180052739
mov edi, dword [rbp - 0x6c]
test dil, 0x20
jne 0x180052795
mov r12d, dword [rbp - 0x64]
mov r15, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x64]
mov r11, qword [rsp + 0x78]
mov r10d, dword [rbp - 0x80]
mov r13, qword [rbp - 0x78]
mov edi, dword [rbp - 0x70]
cmp dword [r13 + 0x5c90], edi
jne 0x180052c49
cmp dword [r13 + 0x4098], edi
je 0x180052c3e
mov rax, qword [0x180119f40]
mov ecx, dword [rax + 0x48e0]
test cl, 0x20
je 0x180052bbf
shr ecx, 6
test cl, 1
jmp 0x180052bd9
mov edi, dword [rbp - 0x6c]
test edi, 0x801c0
je 0x180052b41
mov ebx, r11d
test dil, 0x40
je 0x1800527d0
xor r8d, r8d
mov edx, r13d
mov ecx, 0x200
call fcn.18001a0f0
test al, al
je 0x1800527d0
mov eax, 0x40
mov ebx, 0x200
xor r11d, r11d
jmp 0x180052851
test dil, dil
jns 0x180052826
mov esi, 1
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.180018110
test al, al
je 0x180052800
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x203
xor r11d, r11d
jmp 0x180052857
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.180018110
test al, al
je 0x180052826
mov r10d, 0x80
mov eax, r10d
mov ebx, 0x204
xor r11d, r11d
jmp 0x180052857
mov eax, 0x80000
test eax, edi
je 0x18005283e
cmp byte [r14 + 0xe86], 0
je 0x18005283e
xor r11d, r11d
jmp 0x180052851
mov ecx, pe_nt_image_headers64
test ecx, edi
mov r11d, 0
mov eax, r11d
cmovne eax, ecx
mov r10d, 0x80
test eax, eax
je 0x180052b41
mov dword [rbp + 0x18], r11d
mov qword [rbp + 0x31], r11
mov dword [rbp + 0x39], r11d
mov word [rbp + 0x3d], r11w
mov byte [rbp + 0x3f], 0
mov qword [rbp], r12
mov dword [rbp + 8], eax
mov dword [rbp + 0xc], edi
mov qword [rbp + 0x10], r11
test r15b, r15b
mov rax, qword [rsp + 0x70]
jne 0x180052890
mov rax, qword [r14 + 0x30]
mov dword [rbp + 0x1c], ebx
mov qword [rbp + 0x20], rax
mov eax, dword [r14 + 0x10]
mov dword [rbp + 0x28], eax
mov eax, dword [r14 + 0x4c]
mov dword [rbp + 0x2c], eax
mov byte [rbp + 0x30], 0
mov rdx, qword [r14 + 0x20]
movsxd rax, dword [r14 + 0x54]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov ebx, r11d
mov r9d, 0x800
test r8, r8
je 0x1800528cb
cmp rcx, r8
jae 0x1800528ee
movzx eax, word [rcx]
test ax, ax
je 0x1800528ee
add rcx, 2
cmp ax, r10w
jae 0x1800528e1
inc ebx
jmp 0x1800528c1
cmp ax, r9w
sbb eax, eax
add eax, 3
add ebx, eax
jmp 0x1800528c1
mov dword [rbp + 0x34], ebx
movsxd rax, dword [r14 + 0x58]
lea r8, [rdx + rax*2]
mov rcx, rdx
mov r12d, r11d
nop
test r8, r8
je 0x18005290a
cmp rcx, r8
jae 0x18005292f
movzx eax, word [rcx]
test ax, ax
je 0x18005292f
add rcx, 2
cmp ax, r10w
jae 0x180052921
inc r12d
jmp 0x180052900
cmp ax, r9w
sbb eax, eax
add eax, 3
add r12d, eax
jmp 0x180052900
mov dword [rbp + 0x38], r12d
movsxd rax, dword [r14 + 0x5c]
lea rcx, [rdx + rax*2]
mov r15d, r11d
nop
test rcx, rcx
je 0x18005294a
cmp rdx, rcx
jae 0x18005296f
movzx eax, word [rdx]
test ax, ax
je 0x18005296f
add rdx, 2
cmp ax, r10w
jae 0x180052961
inc r15d
jmp 0x180052940
cmp ax, r9w
sbb eax, eax
add eax, 3
add r15d, eax
jmp 0x180052940
mov dword [rbp + 0x3c], r15d
lea rcx, [rbp]
call r11
movzx r13d, byte [rbp + 0x30]
movsxd rcx, dword [rbp + 0x34]
cmp ecx, ebx
jne 0x18005298c
test r13b, r13b
je 0x1800529d0
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
xor edx, edx
mov esi, edx
test rdi, rdi
je 0x1800529a2
cmp rbx, rdi
jae 0x1800529c1
cmp byte [rbx], 0
je 0x1800529c1
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180052998
mov dword [r14 + 0x54], esi
mov byte [r14 + 0xe84], 1
mov ecx, dword [rbp + 0x34]
movsxd rax, dword [rbp + 0x38]
cmp eax, r12d
jne 0x1800529de
test r13b, r13b
je 0x180052a24
cmp eax, ecx
jne 0x1800529e8
mov esi, dword [r14 + 0x54]
jmp 0x180052a20
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rax]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x1800529fe
cmp rbx, rdi
jae 0x180052a1d
cmp byte [rbx], 0
je 0x180052a1d
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x1800529f4
mov eax, dword [rbp + 0x38]
mov dword [r14 + 0x58], esi
movsxd rcx, dword [rbp + 0x3c]
cmp ecx, r15d
jne 0x180052a36
test r13b, r13b
je 0x180052b41
cmp ecx, eax
jne 0x180052a8b
mov esi, dword [r14 + 0x58]
mov dword [r14 + 0x5c], esi
test r13b, r13b
je 0x180052b41
mov r8d, dword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov rcx, r14
call fcn.1800501d0
mov ebx, dword [rbp + 0x28]
mov eax, dword [rbp - 0x58]
mov r12d, dword [rbp - 0x64]
cmp ebx, eax
jle 0x180052ad9
test r12b, r12b
je 0x180052ad9
sub ebx, eax
add ebx, dword [r14 + 0x18]
mov ecx, dword [r14 + 0x1c]
cmp ebx, ecx
jle 0x180052ad5
test ecx, ecx
je 0x180052ac0
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180052ac5
mov rbx, qword [rbp + 0x20]
lea rdi, [rbx + rcx]
xor eax, eax
mov esi, eax
test rdi, rdi
je 0x180052aa1
cmp rbx, rdi
jae 0x180052a3e
cmp byte [rbx], 0
je 0x180052a3e
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.180008000
movsxd rcx, eax
add rbx, rcx
inc esi
jmp 0x180052a97
mov eax, 8
mov edx, ebx
cmp eax, ebx
cmovg edx, eax
lea rcx, [r14 + 0x18]
call fcn.18002f350
mov dword [r14 + 0x18], ebx
mov rdi, qword [rbp + 0x20]
mov r15, qword [r14 + 0x20]
mov rbx, r15
movsxd rsi, dword [r14 + 0x18]
dec rsi
lea rsi, [r15 + rsi*2]
cmp r15, rsi
jae 0x180052b1e
cmp byte [rdi], 0
je 0x180052b1e
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x58]
call fcn.180008000
movsxd rcx, eax
add rdi, rcx
movzx eax, word [rbp - 0x58]
mov word [rbx], ax
add rbx, 2
cmp rbx, rsi
jb 0x180052af4
xor eax, eax
mov word [rbx], ax
sub rbx, r15
sar rbx, 1
mov dword [r14 + 0xc], ebx
mov eax, dword [rbp + 0x28]
mov dword [r14 + 0x10], eax
mov dword [r14 + 0xe80], 0xbe99999a
jmp 0x180052b45
mov r12d, dword [rbp - 0x64]
mov r8d, dword [rsp + 0x64]
mov r15, qword [rsp + 0x70]
test r8b, r8b
jne 0x180052747
mov r9, qword [r14 + 0x30]
mov rax, r9
mov r8, r15
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180052b83
inc rax
test ecx, ecx
jne 0x180052b70
mov r8d, dword [rsp + 0x64]
test edx, edx
je 0x180052747
mov r11, r9
mov qword [rsp + 0x78], r9
mov r10d, dword [r14 + 0x10]
mov byte [rsp + 0x53], 1
jmp 0x180052750
mov r10d, r11d
mov r11d, r10d
mov r12d, dword [rbp - 0x64]
mov r15, qword [rsp + 0x70]
mov r8d, dword [rsp + 0x64]
jmp 0x180052750
mov edx, dword [rax + 0x48d8]
mov ecx, dword [rax + 0x40c8]
cmp ecx, edx
jne 0x180052c3e
test ecx, ecx
je 0x180052c3e
cmp dword [rax + 0x4098], edx
je 0x180052c3e
cmp byte [rax + 0x40cd], 0
jne 0x180052bf6
cmp dword [rax + 0x4098], 0
jne 0x180052c3e
cmp byte [rax + 0x40a8], 0
je 0x180052c3e
test r8b, r8b
jne 0x180052c3e
mov r9, qword [r13 + 0x5ca0]
mov rax, r9
mov r8, r15
sub r8, r9
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180052c23
inc rax
test ecx, ecx
jne 0x180052c10
test edx, edx
je 0x180052c3e
mov r11, r9
mov qword [rsp + 0x78], r9
mov r10d, dword [r13 + 0x5c98]
dec r10d
mov byte [rsp + 0x53], 1
xor esi, esi
mov dword [r13 + 0x5c90], esi
jmp 0x180052c4b
xor esi, esi
test r11, r11
je 0x180052ce3
test r12b, r12b
je 0x180052cb6
mov qword [rbp + 0x58], rsi
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x40], r13
mov dword [rbp + 0x48], 0x40000
mov eax, dword [rbp - 0x6c]
mov dword [rbp + 0x4c], eax
mov qword [rbp + 0x60], r15
mov dword [rbp + 0x68], r10d
lea eax, [r10 + 1]
cmp dword [rbp - 0x50], eax
cmovge eax, dword [rbp - 0x50]
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x50], rsi
lea rcx, [rbp + 0x40]
call rsi
mov r15, qword [rbp + 0x60]
mov qword [rsp + 0x70], r15
mov ecx, dword [rbp + 0x6c]
lea r10d, [rcx - 1]
cmp dword [rbp + 0x68], r10d
cmovl r10d, dword [rbp + 0x68]
mov r11, qword [rsp + 0x78]
jmp 0x180052cb9
mov ecx, dword [rbp - 0x50]
lea eax, [r10 + 1]
cmp eax, ecx
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x180052ce3
jbe 0x180052cdd
lea r8, [rbx - 1]
mov rdx, r11
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r15 - 1], 0
cmp dword [r13 + 0x4098], edi
jne 0x180052d00
cmp byte [rsp + 0x58], 0
je 0x180052de4
xor edx, edx
xor ecx, ecx
call fcn.18000c630
mov eax, 1
movss xmm6, dword [0x180103da8]
movss dword [rbp - 0x58], xmm6
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
jne 0x180052df5
mov r8d, eax
mov edx, edi
lea rcx, [rbp - 0x18]
call fcn.18000a490
mov rax, qword [0x180119f40]
movups xmm0, xmmword [rax + 0x3a28]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.180008270
mov r8d, eax
movss dword [rsp + 0x20], xmm6
mov r9b, 1
mov rdx, qword [rbp - 0x10]
movaps xmm0, xmm11
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.18000a1a0
movaps xmm14, xmm10
addss xmm14, xmm11
movss dword [rbp + 0xa8], xmm14
movaps xmm13, xmm12
addss xmm13, xmm7
movss dword [rbp + 0xac], xmm13
movaps xmm0, xmm11
addss xmm0, dword [r13 + 0x3914]
movss dword [rsp + 0x78], xmm0
movaps xmm1, xmm12
addss xmm1, dword [r13 + 0x3918]
movss dword [rsp + 0x7c], xmm1
movss dword [rbp - 0x50], xmm14
movaps xmm15, xmm13
mov r10d, dword [rsp + 0x5c]
mov r8, qword [rbp - 0x48]
jmp 0x180052e38
mov eax, 1
mov dword [r13 + 0x6094], eax
jmp 0x180052d05
movaps xmm1, xmm10
addss xmm1, xmm11
movss dword [rbp - 0x50], xmm1
movaps xmm14, xmm1
movss dword [rbp + 0xa8], xmm1
movaps xmm15, xmm12
addss xmm15, xmm7
movaps xmm13, xmm15
movss dword [rbp + 0xac], xmm15
mov r8, qword [rbp - 0x48]
movsd xmm0, qword [r8 + 0x138]
movsd qword [rsp + 0x78], xmm0
lea rax, [rsp + 0x78]
movss dword [rbp + 0xa4], xmm12
movss dword [rbp + 0xa0], xmm11
movsd xmm0, qword [rax]
movsd qword [rbp + 0x98], xmm0
xorps xmm5, xmm5
movss dword [rbp - 0x80], xmm5
xorps xmm7, xmm7
movss dword [rbp - 0x64], xmm7
cmp byte [rbp - 0x65], 0
je 0x180052e7a
mov r15, qword [r14 + 0x30]
mov qword [rsp + 0x70], r15
movzx eax, byte [rsp + 0x50]
mov r12d, dword [rsp + 0x54]
test al, al
jne 0x180053076
test r12b, r12b
jne 0x180053076
test r10b, r10b
je 0x180052ef0
mov ecx, esi
movzx edx, byte [r15]
lea rsi, [r15 + 1]
test dl, dl
je 0x180052ec5
nop dword [rax + rax]
lea eax, [rcx + 1]
cmp dl, 0xa
cmovne eax, ecx
mov ecx, eax
movzx edx, byte [rsi]
inc rsi
test dl, dl
jne 0x180052eb0
dec rsi
movzx eax, byte [rsi]
cmp al, 0xa
je 0x180052ed5
cmp al, 0xd
je 0x180052ed5
inc ecx
movaps xmm6, xmm10
movd xmm7, ecx
cvtdq2ps xmm7, xmm7
mulss xmm7, dword [r13 + 0x3d70]
movss dword [rbp - 0x64], xmm7
jmp 0x180052f2a
cmp dword [r13 + 0x4098], edi
jne 0x180052eff
movsxd rsi, dword [r14 + 0x10]
jmp 0x180052f10
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r15 + rsi], 0
jne 0x180052f06
add rsi, r15
mov rax, rsi
sub rax, r15
movss xmm6, dword [rbp - 0x80]
cmp rax, 0x200000
jge 0x18005399d
mov rax, qword [0x180119f40]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.180008270
mov r9d, eax
mov r8, qword [r8 + 0x2d8]
lea rdx, [rbp + 0xa0]
test r10b, r10b
mov r14d, 0
cmovne rdx, r14
mov rcx, rsi
movss xmm2, dword [r13 + 0x3d70]
mov r10, qword [r13 + 0x3d68]
test eax, 0xff000000
je 0x1800539a0
test rsi, rsi
jne 0x180052fb3
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], r14b
jne 0x180052fa7
add rcx, r15
cmp r15, rcx
je 0x1800539a0
test r10, r10
jne 0x180052fc9
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
xorps xmm9, xmm9
ucomiss xmm2, xmm9
jp 0x180052fde
jne 0x180052fde
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x180053039
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x18]
comiss xmm0, xmm1
jae 0x180053002
movss dword [rbp - 0x18], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x180053016
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x180053026
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x180053036
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm9
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp + 0x98]
mov rdx, r8
mov rcx, r10
call fcn.18003f4d0
jmp 0x1800539a4
movsxd rsi, dword [r14 + 0x10]
add rsi, r15
mov r15, qword [r14 + 0x20]
xorps xmm8, xmm8
xorps xmm6, xmm6
xor r11d, r11d
mov r9d, r11d
mov edi, r11d
mov r8d, 0xfffffc18
mov ebx, r8d
mov edx, r11d
test al, al
je 0x1800530b1
movsxd rax, dword [r14 + 0x54]
lea r9, [r15 + rax*2]
lea edx, [r11 + 1]
lea r8d, [r11 - 1]
test r12b, r12b
je 0x1800530d1
mov ecx, dword [r14 + 0x5c]
cmp dword [r14 + 0x58], ecx
cmovl ecx, dword [r14 + 0x58]
movsxd rax, ecx
lea rdi, [r15 + rax*2]
mov ebx, 0xffffffff
inc edx
movzx eax, r10b
add edx, eax
mov rax, r15
movzx ecx, word [r15]
test cx, cx
je 0x18005311f
cmp cx, 0xa
jne 0x180053113
inc r11d
cmp r8d, 0xffffffff
jne 0x180053100
cmp rax, r9
jb 0x180053100
mov r8d, r11d
dec edx
test edx, edx
jle 0x18005311f
cmp ebx, 0xffffffff
jne 0x180053113
cmp rax, rdi
jb 0x180053113
mov ebx, r11d
dec edx
test edx, edx
jle 0x18005311f
add rax, 2
movzx ecx, word [rax]
test cx, cx
jne 0x1800530e3
inc r11d
mov r10d, r11d
cmp r8d, 0xffffffff
cmovne r10d, r8d
cmp ebx, 0xffffffff
cmove ebx, r11d
mov rdx, r9
cmp r9, r15
jbe 0x180053152
nop dword [rax]
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x180053152
mov rdx, rax
cmp rax, r15
ja 0x180053140
mov r8, qword [r13 + 0x3d68]
movss xmm4, dword [r13 + 0x3d70]
movaps xmm3, xmm4
divss xmm3, dword [r8 + 0x14]
movaps xmm1, xmm5
movaps xmm11, xmm5
cmp rdx, r9
jae 0x1800531c0
nop word [rax + rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180053197
maxss xmm1, xmm11
movaps xmm11, xmm5
jmp 0x1800531bb
cmp ecx, 0xd
je 0x1800531bb
cmp ecx, dword [r8]
jge 0x1800531ac
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x1800531b2
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm11, xmm0
cmp rdx, r9
jb 0x180053180
maxss xmm11, xmm1
movd xmm12, r10d
cvtdq2ps xmm12, xmm12
mulss xmm12, xmm4
test ebx, ebx
js 0x180053253
mov rdx, rdi
cmp rdi, r15
jbe 0x1800531f2
nop
lea rax, [rdx - 2]
cmp word [rax], 0xa
je 0x1800531f2
mov rdx, rax
cmp rax, r15
ja 0x1800531e0
movaps xmm2, xmm5
movaps xmm8, xmm5
cmp rdx, rdi
jae 0x180053243
nop
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x180053217
maxss xmm2, xmm8
movaps xmm8, xmm5
jmp 0x18005323e
cmp ecx, 0xd
je 0x18005323e
cmp ecx, dword [r8]
jge 0x18005322c
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180053232
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm8, xmm0
cmp rdx, rdi
jb 0x180053200
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm4
maxss xmm8, xmm2
mov r10d, dword [rsp + 0x5c]
test r10b, r10b
je 0x180053274
movss dword [rbp - 0x80], xmm10
movd xmm7, r11d
cvtdq2ps xmm7, xmm7
mulss xmm7, xmm4
movss dword [rbp - 0x64], xmm7
movzx r8d, byte [rsp + 0x50]
test r8b, r8b
je 0x1800533ac
cmp byte [r14 + 0xe84], 0
je 0x1800533ac
test dword [rbp - 0x6c], 0x1000
jne 0x1800532ed
movaps xmm0, xmm10
mulss xmm0, dword [0x180103c64]
subss xmm10, dword [r13 + 0x3914]
movss xmm2, dword [r14 + 0x50]
movaps xmm1, xmm11
comiss xmm2, xmm11
jbe 0x1800532cc
subss xmm1, xmm0
movaps xmm0, xmm5
maxss xmm0, xmm1
jmp 0x1800532da
subss xmm1, xmm10
comiss xmm1, xmm2
jb 0x1800532f3
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x50], xmm0
jmp 0x1800532f3
xor eax, eax
mov dword [r14 + 0x50], eax
test r10b, r10b
je 0x1800533a4
movaps xmm0, xmm12
subss xmm0, dword [r13 + 0x3d70]
movss xmm3, dword [rbp - 0x30]
comiss xmm9, xmm0
jbe 0x18005331f
movaps xmm9, xmm5
maxss xmm9, xmm0
jmp 0x18005334f
movss xmm2, dword [r13 + 0x3918]
addss xmm2, xmm2
movaps xmm1, xmm3
subss xmm1, xmm2
movaps xmm0, xmm12
subss xmm0, xmm1
comiss xmm0, xmm9
jb 0x18005334f
movaps xmm9, xmm12
subss xmm9, xmm3
addss xmm9, xmm2
movss xmm2, dword [r13 + 0x3918]
comiss xmm5, xmm9
jbe 0x180053363
movaps xmm2, xmm5
jmp 0x180053378
addss xmm2, xmm2
addss xmm2, xmm7
subss xmm2, xmm3
maxss xmm2, xmm5
minss xmm2, xmm9
mov rax, qword [rbp - 0x48]
movss xmm0, dword [rax + 0xbc]
subss xmm0, xmm2
movss xmm1, dword [rbp + 0x9c]
addss xmm1, xmm0
movss dword [rbp + 0x9c], xmm1
movss dword [rax + 0xbc], xmm2
mov byte [r14 + 0xe84], 0
movss xmm10, dword [r14 + 0x50]
test r12b, r12b
je 0x180053646
mov edx, dword [r14 + 0x5c]
mov ecx, dword [r14 + 0x58]
mov eax, edx
cmp ecx, edx
cmovl eax, ecx
cdqe
lea rbx, [r15 + rax*2]
cmovge edx, ecx
movsxd rax, edx
lea rdi, [r15 + rax*2]
test r8b, r8b
je 0x1800533e9
movss xmm1, dword [0x180103cc4]
jmp 0x1800533f1
movss xmm1, dword [0x180103c84]
mov rax, qword [0x180119f40]
movups xmm0, xmmword [rax + 0x3ce8]
movups xmmword [rbp + 0x80], xmm0
mulss xmm1, dword [rax + 0x38d8]
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.180008270
mov r15d, eax
xorps xmm5, xmm5
test r10b, r10b
je 0x18005343f
movss dword [rbp - 0x2c], xmm5
movss dword [rbp - 0x58], xmm5
movss xmm9, dword [rbp + 0x98]
addss xmm8, xmm9
subss xmm8, xmm10
movss xmm7, dword [rbp + 0x9c]
addss xmm7, xmm6
subss xmm7, xmm5
cmp rbx, rdi
jae 0x18005364f
movss xmm6, dword [rbp - 0x58]
movss xmm1, dword [rbp - 0x60]
nop word [rax + rax]
movss xmm5, dword [r13 + 0x3d70]
movaps xmm0, xmm13
addss xmm0, xmm5
comiss xmm7, xmm0
ja 0x18005363c
comiss xmm1, xmm7
jbe 0x1800534cb
cmp rbx, rdi
jae 0x180053621
nop dword [rax + rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x180053621
cmp rbx, rdi
jb 0x1800534b0
jmp 0x180053621
mov rdx, qword [r13 + 0x3d68]
movaps xmm3, xmm5
divss xmm3, dword [rdx + 0x14]
xorps xmm1, xmm1
xorps xmm4, xmm4
xorps xmm2, xmm2
cmp rbx, rdi
jae 0x180053534
nop dword [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x180053527
cmp ecx, 0xd
je 0x180053520
cmp ecx, dword [rdx]
jge 0x180053510
mov rax, qword [rdx + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x180053515
movss xmm1, dword [rdx + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm2, xmm0
cmp rbx, rdi
jae 0x180053531
jmp 0x1800534f0
xorps xmm4, xmm4
maxss xmm4, xmm2
xorps xmm2, xmm2
xorps xmm1, xmm1
maxss xmm2, xmm4
comiss xmm1, xmm2
jb 0x180053568
cmp dword [rdx], 0x20
jle 0x180053550
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x180053555
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x180103c7c]
cvttss2si eax, xmm0
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm2, xmm8
movaps xmm0, xmm6
addss xmm0, xmm7
addss xmm8, xmm1
movss xmm1, dword [rbp - 0x2c]
subss xmm1, xmm5
addss xmm1, xmm7
movss xmm3, dword [rbp - 0x40]
maxss xmm8, xmm3
maxss xmm1, dword [rbp - 0x60]
movss dword [rbp + 0x80], xmm8
movss dword [rbp + 0x84], xmm1
minss xmm2, xmm14
minss xmm0, xmm13
movss dword [rbp + 0x88], xmm2
movss dword [rbp + 0x8c], xmm0
comiss xmm0, dword [rbp - 0x60]
jbe 0x18005361c
comiss xmm13, xmm1
jbe 0x18005361c
comiss xmm2, xmm3
jbe 0x18005361c
comiss xmm14, xmm8
jbe 0x18005361c
xor eax, eax
mov dword [rsp + 0x28], eax
xorps xmm9, xmm9
movss dword [rsp + 0x20], xmm9
mov r9d, r15d
lea r8, [rbp + 0x88]
lea rdx, [rbp + 0x80]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rax + 0x2d8]
call fcn.18003aa10
movss xmm0, dword [rbp - 0x50]
movss dword [rbp - 0x50], xmm0
movss xmm9, dword [rbp + 0x98]
movss xmm1, dword [rbp - 0x60]
movaps xmm8, xmm9
subss xmm8, xmm10
addss xmm7, dword [r13 + 0x3d70]
cmp rbx, rdi
jb 0x180053480
xorps xmm5, xmm5
mov r10d, dword [rsp + 0x5c]
jmp 0x18005364f
movss xmm9, dword [rbp + 0x98]
mov r15, qword [rsp + 0x70]
test r10b, r10b
jne 0x18005366b
mov rax, rsi
sub rax, r15
cmp rax, 0x200000
jge 0x1800537d7
mov rax, qword [0x180119f40]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp + 0x80], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp + 0x8c], xmm0
lea rcx, [rbp + 0x80]
call fcn.180008270
mov r9d, eax
mov rbx, qword [rbp - 0x48]
mov r8, qword [rbx + 0x2d8]
mov rcx, rsi
subss xmm9, xmm10
movss dword [rsp + 0x78], xmm9
movss xmm0, dword [rbp + 0x9c]
xorps xmm5, xmm5
subss xmm0, xmm5
movss dword [rsp + 0x7c], xmm0
movss xmm2, dword [r13 + 0x3d70]
mov r10, qword [r13 + 0x3d68]
lea rdx, [rbp + 0xa0]
cmp byte [rsp + 0x5c], 0
mov eax, 0
cmovne rdx, rax
test r9d, 0xff000000
je 0x1800537db
test rsi, rsi
jne 0x18005371c
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [r15 + rcx], al
jne 0x180053710
add rcx, r15
cmp r15, rcx
je 0x1800537db
test r10, r10
jne 0x180053732
mov rax, qword [r8 + 0x38]
mov r10, qword [rax + 8]
ucomiss xmm2, xmm5
jp 0x180053742
jne 0x180053742
mov rax, qword [r8 + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [r8 + 0x88]
movups xmmword [rbp - 0x18], xmm0
test rdx, rdx
je 0x18005379d
movss xmm1, dword [rdx]
movss xmm0, dword [rbp - 0x18]
comiss xmm0, xmm1
jae 0x180053766
movss dword [rbp - 0x18], xmm1
movss xmm1, dword [rdx + 4]
movss xmm0, dword [rbp - 0x14]
comiss xmm0, xmm1
jae 0x18005377a
movss dword [rbp - 0x14], xmm1
movss xmm0, dword [rdx + 8]
comiss xmm0, dword [rbp - 0x10]
ja 0x18005378a
movss dword [rbp - 0x10], xmm0
movss xmm0, dword [rdx + 0xc]
comiss xmm0, dword [rbp - 0xc]
ja 0x18005379a
movss dword [rbp - 0xc], xmm0
test rdx, rdx
setne al
mov byte [rsp + 0x48], al
movss dword [rsp + 0x40], xmm5
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], r15
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rsp + 0x78]
mov rdx, r8
mov rcx, r10
call fcn.18003f4d0
xorps xmm5, xmm5
jmp 0x1800537db
mov rbx, qword [rbp - 0x48]
cmp byte [rsp + 0x50], 0
je 0x18005398f
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [r14 + 0xe80]
movss dword [r14 + 0xe80], xmm0
cmp byte [r13 + 0x63], 0
je 0x180053828
comiss xmm5, xmm0
jae 0x180053828
movss xmm1, dword [0x180103ccc]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x180103ca4]
comiss xmm1, xmm0
jae 0x180053828
xor cl, cl
jmp 0x18005382a
mov cl, 1
addss xmm11, dword [rbp + 0x98]
subss xmm11, xmm10
cvttss2si eax, xmm11
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rbp + 0x9c]
addss xmm0, xmm12
xorps xmm9, xmm9
subss xmm0, xmm9
cvttss2si eax, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp + 0x80], xmm6
movaps xmm0, xmm7
subss xmm0, dword [r13 + 0x3d70]
addss xmm0, dword [0x180103c7c]
movss dword [rbp + 0x84], xmm0
movaps xmm2, xmm6
movss xmm8, dword [0x180103cc4]
addss xmm2, xmm8
movss dword [rbp + 0x88], xmm2
movaps xmm1, xmm7
subss xmm1, dword [0x180103cf8]
movss dword [rbp + 0x8c], xmm1
movss xmm12, dword [rbp - 0x60]
test cl, cl
je 0x180053935
comiss xmm1, xmm12
jbe 0x180053935
comiss xmm15, xmm0
jbe 0x180053935
comiss xmm2, dword [rbp - 0x40]
jbe 0x180053935
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm6
jbe 0x180053935
mov rax, qword [0x180119f40]
movups xmm0, xmmword [rax + 0x39b8]
movups xmmword [rbp - 0x18], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38d8]
movss dword [rbp - 0xc], xmm0
movss dword [rsp + 0x78], xmm6
movss dword [rsp + 0x7c], xmm1
lea rcx, [rbp - 0x18]
call fcn.180008270
mov r9d, eax
movss dword [rsp + 0x20], xmm8
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0x80]
mov rcx, qword [rbx + 0x2d8]
call fcn.18003a7a0
mov edi, dword [rbp - 0x70]
xor r14d, r14d
cmp byte [rsp + 0x64], r14b
jne 0x180053988
mov byte [r13 + 0x5dc0], 1
subss xmm6, xmm8
movss xmm0, dword [r13 + 0x3d70]
subss xmm7, xmm0
movss dword [r13 + 0x5dc4], xmm6
movss dword [r13 + 0x5dc8], xmm7
movss dword [r13 + 0x5dcc], xmm0
mov rax, qword [rbp - 0x38]
mov rax, qword [rax + 0x38]
mov ecx, dword [rax]
mov dword [r13 + 0x5de0], ecx
movss xmm6, dword [rbp - 0x80]
jmp 0x1800539ad
movss xmm6, dword [rbp - 0x80]
movss xmm12, dword [rbp - 0x60]
mov edi, dword [rbp - 0x70]
xor r14d, r14d
xorps xmm9, xmm9
movss xmm8, dword [0x180103cc4]
mov ebx, dword [rbp - 0x4c]
test bl, bl
je 0x1800539b9
call fcn.1800172e0
cmp byte [rsp + 0x5c], 0
je 0x180053a32
movss dword [rbp - 0x38], xmm6
movss xmm0, dword [rbp - 0x64]
addss xmm0, dword [r13 + 0x3918]
movss dword [rbp - 0x34], xmm0
lea rcx, [rbp - 0x38]
call fcn.18004a410
or dword [r13 + 0x48c4], 0x401
call fcn.180010a70
mov eax, dword [r13 + 0x48e0]
and eax, 0x80
mov ebx, dword [rbp + 0xb8]
or ebx, eax
call fcn.18001a8e0
cmp dword [r13 + 0x48d8], 0
jne 0x180053a2f
mov dword [r13 + 0x48d8], edi
mov eax, dword [rbp + 0xb4]
mov dword [r13 + 0x48dc], eax
mov dword [r13 + 0x48e0], ebx
mov ebx, dword [rbp - 0x4c]
cmp byte [r13 + 0x5ed0], 0
je 0x180053bb4
test bl, bl
jne 0x180053bb4
mov rdi, qword [0x180119f40]
mov rbx, qword [rdi + 0x4038]
mov qword [rdi + 0x5ef8], r14
mov qword [rdi + 0x5ef0], r14
test rsi, rsi
jne 0x180053a8f
mov rsi, r15
cmp r15, 0xffffffffffffffff
jae 0x180053a8f
movzx ecx, byte [rsi]
test cl, cl
je 0x180053a8f
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x180053a86
cmp byte [rax], cl
je 0x180053a8f
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x180053a72
movss xmm0, dword [rdi + 0x3918]
addss xmm0, dword [rdi + 0x5f00]
addss xmm0, xmm8
movss xmm1, dword [rbp + 0x9c]
movss dword [rdi + 0x5f00], xmm1
comiss xmm1, xmm0
jbe 0x180053acc
lea rcx, [0x1800e8b78]
call fcn.180021750
mov byte [rdi + 0x5f04], 1
lea r8, [0x1800ea72d]
lea rdx, [0x1800ea72c]
lea rcx, [rbp + 0x98]
call fcn.180021790
mov eax, dword [rbx + 0x1c0]
mov ecx, dword [rdi + 0x5f08]
cmp ecx, eax
jle 0x180053afe
mov dword [rdi + 0x5f08], eax
mov ecx, eax
mov r14d, dword [rbx + 0x1c0]
sub r14d, ecx
mov r13d, 1
nop
mov r8, rsi
sub r8, r15
mov edx, 0xa
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
mov rbx, rsi
test rax, rax
cmovne rbx, rax
cmp r15, rbx
jne 0x180053b37
cmp rbx, rsi
je 0x180053b96
mov r9d, ebx
sub r9d, r15d
cmp byte [rdi + 0x5f04], 0
lea edx, [r14*4]
jne 0x180053b51
mov edx, r13d
mov qword [rsp + 0x20], r15
lea r8, [0x1800e7dde]
lea rcx, str._s_.s
call fcn.180021750
mov byte [rdi + 0x5f04], 0
cmp byte [rbx], 0xa
jne 0x180053b88
lea rcx, [0x1800e8b78]
call fcn.180021750
mov byte [rdi + 0x5f04], r13b
cmp rbx, rsi
je 0x180053b96
lea r15, [rbx + 1]
jmp 0x180053b10
lea r8, [0x1800ea729]
lea rdx, [0x1800ea728]
lea rcx, [rbp + 0x98]
call fcn.180021790
mov r13, qword [rbp - 0x78]
movss xmm0, dword [rbp - 0x28]
comiss xmm0, xmm9
jbe 0x180053bee
movss xmm0, dword [rbp - 0x3c]
addss xmm0, dword [r13 + 0x392c]
addss xmm12, dword [r13 + 0x3918]
mov r9b, 1
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
unpcklps xmm0, xmm12
movq rcx, xmm0
call fcn.180008f70
movzx r9d, byte [rsp + 0x53]
mov r8d, dword [rbp - 0x6c]
test r9b, r9b
je 0x180053c2a
bt r8d, 0x1b
jb 0x180053c2a
mov rax, qword [0x180119f40]
mov ecx, dword [rax + 0x4098]
cmp ecx, dword [rbp - 0x70]
je 0x180053c1a
test ecx, ecx
jne 0x180053c23
mov word [rax + 0x40a8], 0x101
or dword [rax + 0x48e0], 4
test r8b, 0x20
mov eax, r9d
movzx ecx, byte [rsp + 0x59]
cmovne eax, ecx
jmp 0x1800509a1