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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x268
mov r14, qword [0x1801aa2e0]
mov rsi, rcx
movaps xmmword [rax - 0x58], xmm6
mov ecx, 1
movaps xmmword [rax - 0x68], xmm7
xor r13d, r13d
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
movaps xmmword [rax - 0xa8], xmm11
movaps xmmword [rax - 0xb8], xmm12
movaps xmmword [rax - 0xc8], xmm13
movaps xmmword [rax - 0xd8], xmm14
movaps xmmword [rax - 0xe8], xmm15
mov rax, qword [r14 + 0x3ec8]
mov qword [rbp + 0x30], r14
mov byte [rax + 0xb8], cl
mov rdi, qword [r14 + 0x3ec8]
mov qword [rsp + 0x70], rdi
cmp byte [rdi + 0xbb], r13b
jne 0x1800580cd
mov ebx, dword [rbp + 0x1d8]
mov eax, ebx
shr eax, 0xe
mov r12d, ebx
and al, cl
shr r12d, 0x1a
mov dword [rsp + 0x5c], eax
and r12b, cl
mov eax, ebx
mov dword [rsp + 0x60], r12d
shr eax, 0xf
and al, cl
mov dword [rbp - 0x74], eax
mov eax, ebx
shr eax, 0x10
not al
and al, cl
mov dword [rbp - 0x20], eax
mov eax, ebx
shr eax, 0x12
and al, cl
mov dword [rbp - 0x54], eax
test r12b, r12b
je 0x180057f34
call fcn.18003f948
mov rdx, rsi
mov rcx, rdi
call fcn.1800351e4
movss xmm0, dword [0x180158700]
lea rcx, [rbp + 0x1b8]
mov r9d, 1
movss dword [rbp - 0x68], xmm0
xor r8d, r8d
movss dword [rsp + 0x20], xmm0
mov rdx, rsi
mov dword [rsp + 0x64], eax
mov r15d, eax
call fcn.180038050
test r12b, r12b
je 0x180057f89
movss xmm4, dword [r14 + 0x3c28]
mulss xmm4, dword [0x1801585bc]
jmp 0x180057f91
movss xmm4, dword [rbp + 0x1bc]
call fcn.18003f774
movss xmm6, dword [r14 + 0x3834]
lea rcx, [rbp + 0x1e0]
mov rdx, qword [rbp + 0x1d0]
movaps xmm3, xmm6
addss xmm3, xmm6
movaps xmm2, xmm0
mov rdx, qword [rdx]
addss xmm3, xmm4
call fcn.18003f7e4
movss xmm15, dword [rbp + 0x1b8]
xorps xmm12, xmm12
comiss xmm15, xmm12
movss dword [rbp - 0x38], xmm15
jbe 0x180057feb
movaps xmm1, xmm15
addss xmm1, dword [r14 + 0x3848]
jmp 0x180057fee
xorps xmm1, xmm1
movss xmm9, dword [rdi + 0x104]
lea rcx, [rbp + 0x1b8]
movss xmm7, dword [rdi + 0x100]
movaps xmm0, xmm9
movss xmm10, dword [rbp + 0x1e0]
movaps xmm2, xmm9
movss xmm11, dword [rbp + 0x1e4]
addss xmm1, xmm10
addss xmm2, xmm11
movss dword [rbp - 0x64], xmm9
addss xmm0, xmm11
movss dword [rsp + 0x78], xmm7
movaps xmm13, xmm7
movss dword [rsp + 0x7c], xmm9
addss xmm13, xmm10
movss dword [rbp - 0x30], xmm7
addss xmm1, xmm7
movss dword [rbp - 0x2c], xmm9
movss dword [rbp - 0x24], xmm2
subss xmm2, xmm9
movss dword [rbp - 0x7c], xmm0
xorps xmm0, xmm0
mov qword [rbp - 0x70], rdi
movss dword [rbp - 0x58], xmm13
movss dword [rbp - 0x28], xmm1
subss xmm1, xmm7
movss dword [rbp - 0x80], xmm13
movss dword [rbp + 0x1bc], xmm2
movups xmmword [rbp + 0x80], xmm0
movss dword [rbp + 0x1b8], xmm1
movaps xmm1, xmm6
call fcn.18003f318
test r12b, r12b
je 0x18005827d
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.18003f484
test al, al
jne 0x180058122
call fcn.18003fa70
xor al, al
lea r11, [rsp + 0x268]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm13, xmmword [r11 - 0x88]
movaps xmm14, xmmword [r11 - 0x98]
movaps xmm15, xmmword [r11 - 0xa8]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
movups xmm0, xmmword [r14 + 0x4764]
mov r13d, dword [r14 + 0x476c]
lea rdx, [r14 + 0x3940]
mov ecx, 3
movss dword [rdi + 0x100], xmm7
movups xmmword [rbp + 0x80], xmm0
movss dword [rdi + 0x104], xmm9
call fcn.180033ac8
movss xmm1, dword [r14 + 0x3838]
mov ecx, 7
call fcn.180033b7c
movss xmm1, dword [r14 + 0x383c]
mov ecx, 8
call fcn.180033b7c
and dword [rbp + 0x1b8], 0
lea rdx, [rbp + 0x1b8]
and dword [rbp + 0x1bc], 0
mov ecx, 2
call fcn.180033bf4
movss xmm13, dword [rbp - 0x80]
lea r8, [rbp + 0x1b8]
movss xmm1, dword [rbp - 0x7c]
movaps xmm0, xmm13
movss xmm9, dword [rsp + 0x7c]
mov edx, r15d
movss xmm7, dword [rsp + 0x78]
subss xmm1, xmm9
subss xmm0, xmm7
movss dword [rbp - 0x58], xmm13
mov rcx, rsi
movss dword [rbp - 0x64], xmm9
mov dword [rsp + 0x20], 4
movss dword [rbp + 0x1bc], xmm1
movss dword [rbp + 0x1b8], xmm0
call fcn.180038330
mov ecx, 3
mov bl, al
call fcn.180033c80
mov ecx, 1
call fcn.180033b24
test bl, bl
jne 0x18005821e
call fcn.180038564
jmp 0x1800580c8
mov rbx, qword [r14 + 0x3ec8]
mov qword [rbp - 0x70], rbx
movsx ecx, word [rbx + 0x15e]
movss xmm0, dword [rbx + 0x100]
mov eax, dword [rbx + 0x158]
bts ecx, eax
subss xmm10, dword [rbx + 0xac]
mov word [rbx + 0x15e], cx
addss xmm0, dword [r14 + 0x3830]
movss dword [rbx + 0x100], xmm0
movss xmm1, dword [r14 + 0x3834]
addss xmm1, dword [rbx + 0x104]
movss dword [rbx + 0x104], xmm1
jmp 0x1800582cb
bt ebx, 0x1c
jb 0x1800582c1
mov r9d, 0x400
lea r8, [rsp + 0x78]
mov edx, r15d
lea rcx, [rbp - 0x30]
call fcn.18003f484
test al, al
je 0x1800580cd
movss xmm13, dword [rbp - 0x80]
movss xmm9, dword [rsp + 0x7c]
movss xmm7, dword [rsp + 0x78]
movss dword [rbp - 0x58], xmm13
movss dword [rbp - 0x64], xmm9
mov r13d, dword [r14 + 0x476c]
mov rbx, rdi
mov edx, r15d
lea rcx, [rsp + 0x78]
call fcn.180035710
xor r9d, r9d
mov byte [rsp + 0x5a], al
mov cl, al
lea edx, [r9 + 1]
test al, al
je 0x1800582f0
mov dword [r14 + 0x4a48], edx
mov rsi, qword [0x1801aa2e0]
test r15d, r15d
je 0x18005830e
cmp dword [rsi + 0x4be0], r15d
jne 0x18005830e
add rsi, 0x4bd8
jmp 0x180058311
mov rsi, r9
mov eax, dword [r14 + 0x3f28]
shr r13d, 8
and r13b, dl
mov qword [rbp - 0x30], rsi
cmp eax, r15d
je 0x18005834c
cmp dword [r14 + 0x48b8], r15d
jne 0x18005834c
test byte [r14 + 0x48c4], dl
jne 0x180058344
cmp dword [r14 + 0x48dc], 2
jne 0x18005834c
mov byte [rbp + 0x1e0], dl
jmp 0x180058353
mov byte [rbp + 0x1e0], r9b
test cl, cl
je 0x180058363
mov r15b, dl
cmp byte [r14 + 0x3748], r9b
jne 0x180058366
mov r15b, r9b
mov byte [rbp + 0x1b8], r15b
test r12b, r12b
je 0x18005839d
test rsi, rsi
je 0x18005839d
test eax, eax
jne 0x18005839d
lea rdx, str.SCROLLY
mov rcx, rbx
call fcn.1800351e4
cmp dword [r14 + 0x3f58], eax
jne 0x18005839a
mov ebx, 1
jmp 0x1800583aa
xor r9d, r9d
mov bl, r9b
test r12b, r12b
je 0x1800583dc
test rsi, rsi
je 0x1800583dc
mov rcx, qword [rbp - 0x70]
lea rdx, str.SCROLLY
call fcn.1800351e4
xor r9d, r9d
cmp dword [r14 + 0x3f28], eax
jne 0x1800583dc
lea eax, [r9 + 1]
mov byte [rsp + 0x58], r9b
mov cl, al
mov byte [rsp + 0x51], al
mov byte [rsp + 0x54], r9b
jmp 0x1800583f2
mov byte [rsp + 0x58], r9b
mov cl, r9b
mov byte [rsp + 0x51], cl
mov byte [rsp + 0x54], r9b
test r12b, r12b
je 0x180058400
mov rax, qword [rbp - 0x70]
movss xmm6, dword [rax + 0x88]
jmp 0x18005840c
movss xmm6, dword [0x1801586c8]
mov byte [rsp + 0x51], cl
mov r8d, 1
test rsi, rsi
je 0x180058425
mov al, r12b
mov r12b, r8b
xor al, r8b
cmp byte [rsi + 0x6b], al
jne 0x180058428
mov r12b, r9b
test r15b, r15b
jne 0x180058451
test bl, bl
jne 0x180058451
cmp byte [rbp + 0x1e0], r9b
jne 0x180058451
test r13b, r13b
jne 0x180058451
mov byte [rbp + 0x1e8], r9b
test cl, cl
jne 0x180058458
mov byte [rsp + 0x59], r9b
jmp 0x18005846a
mov byte [rbp + 0x1e8], r8b
mov eax, dword [rsp + 0x64]
mov byte [rsp + 0x59], r8b
cmp dword [r14 + 0x3f28], eax
jne 0x180058473
test r12b, r12b
je 0x1800586bc
lea rsi, [r14 + 0x4bd8]
mov ecx, dword [rsi + 8]
mov qword [rbp - 0x30], rsi
mov dword [rsi + 0xe80], 0xbe99999a
call fcn.180057d90
mov rax, qword [rbp + 0x1c0]
or rbx, 0xffffffffffffffff
xor edx, edx
inc rbx
cmp byte [rax + rbx], dl
jne 0x18005849d
mov ecx, dword [rsi + 0x3c]
lea edi, [rbx + 1]
cmp edi, ecx
jle 0x1800584d3
test ecx, ecx
je 0x1800584be
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800584c3
mov eax, 8
cmp eax, edi
lea rcx, [rsi + 0x38]
mov edx, edi
cmovg edx, eax
call fcn.18004638c
mov dword [rsi + 0x38], edi
mov rcx, qword [rsi + 0x40]
movsxd r8, edi
mov rdi, qword [rbp + 0x1c0]
mov rdx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x64]
xor r8d, r8d
cmp dword [rsi + 8], eax
jne 0x180058523
test r12b, r12b
jne 0x180058523
lea r15d, [r8 + 1]
cmp dword [rsi + 0x10], ebx
jne 0x180058523
cmp byte [rsi + 0x48], r8b
je 0x180058526
mov rcx, qword [rsi + 0x30]
mov rdx, rdi
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
xor r8d, r8d
test eax, eax
je 0x180058526
mov r15b, r8b
mov ebx, dword [rbp + 0x1c8]
mov r12d, dword [rsp + 0x64]
inc ebx
mov dword [rsi + 8], r12d
mov ecx, dword [rsi + 0x1c]
mov qword [rbp - 0x40], r8
cmp ebx, ecx
jle 0x180058569
test ecx, ecx
je 0x180058551
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180058556
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.180046410
xor r8d, r8d
mov dword [rsi + 0x18], ebx
mov ecx, dword [rsi + 0x2c]
test ecx, ecx
jns 0x180058590
mov eax, ecx
cdq
sub eax, edx
mov edx, r8d
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x28]
test eax, eax
cmovg edx, eax
call fcn.18004638c
xor r8d, r8d
mov rbx, qword [rbp + 0x1c0]
lea rax, [rbp - 0x40]
mov edx, dword [rbp + 0x1c8]
xor r9d, r9d
mov dword [rsi + 0x28], r8d
mov rcx, qword [rsi + 0x20]
mov byte [rsi + 0x48], r8b
mov r8, rbx
mov qword [rsp + 0x20], rax
call fcn.180033238
mov ecx, dword [rbp - 0x40]
xor r9d, r9d
sub ecx, ebx
mov dword [rsi + 0xc], eax
mov dword [rsi + 0x10], ecx
mov edx, eax
lea r8d, [r9 + 1]
test r15b, r15b
je 0x1800585fc
cmp dword [rsi + 0x54], eax
mov ecx, eax
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], eax
mov dword [rsi + 0x54], ecx
cmovl eax, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], edx
mov ecx, dword [rsp + 0x60]
cmovl edx, dword [rsi + 0x5c]
mov dword [rsi + 0x5c], edx
mov dword [rsi + 0x58], eax
jmp 0x180058641
mov ecx, dword [rsp + 0x60]
mov al, cl
xor al, r8b
mov qword [rsi + 0x50], r9
mov byte [rsi + 0x6b], al
mov dword [rsi + 0xe72], 0x630000
mov dword [rsi + 0xe78], r9d
mov dword [rsi + 0xe7c], 0x3e7
mov qword [rsi + 0x58], r9
mov word [rsi + 0x69], 1
mov dword [rsi + 0x70], r9d
mov byte [rsi + 0x68], r9b
mov byte [rsi + 0x60], r9b
mov dword [rsi + 0x64], r9d
test cl, cl
jne 0x18005869e
mov r8d, dword [rbp + 0x1d8]
test r8b, 0x10
mov eax, dword [rsp + 0x54]
mov r8d, 1
movzx eax, al
cmovne eax, r8d
mov dword [rsp + 0x54], eax
cmp byte [rbp + 0x1e0], r9b
je 0x180058682
test r15b, r15b
je 0x18005867d
test byte [r14 + 0x48c4], 4
jne 0x180058682
mov byte [rsp + 0x54], r8b
test r13b, r13b
jne 0x180058699
cmp byte [rbp + 0x1b8], r9b
je 0x18005869e
cmp byte [r14 + 0xe24], r9b
je 0x18005869e
mov byte [rsp + 0x54], r8b
test dword [rbp + 0x1d8], 0x2000
mov rdi, qword [rsp + 0x70]
mov r15b, byte [rbp + 0x1b8]
je 0x1800586c1
mov byte [rsi + 0x60], r8b
jmp 0x1800586c1
mov r12d, dword [rsp + 0x64]
mov r13b, byte [r14 + 0x79]
mov bl, byte [rbp + 0x1e8]
mov byte [rsp + 0x69], r13b
cmp dword [r14 + 0x3f28], r12d
je 0x1800586fb
test bl, bl
je 0x1800586fb
mov rdx, rdi
mov ecx, r12d
call fcn.1800353cc
mov rdx, rdi
mov ecx, r12d
call fcn.180041094
mov rcx, rdi
call fcn.18003ca6c
xor edi, edi
cmp dword [r14 + 0x3f28], r12d
jne 0x180058828
test r15b, r15b
je 0x18005872b
mov rax, qword [0x1801aa2e0]
mov dword [rax + 0x4580], r12d
mov dword [rax + 0x457c], r12d
mov word [rax + 0x4584], di
mov eax, dword [r14 + 0x4738]
mov ecx, dword [rsp + 0x60]
or eax, 3
mov edx, dword [rbp + 0x1d8]
mov dword [r14 + 0x4738], eax
test cl, cl
jne 0x18005874e
test dl, dl
jns 0x180058758
or eax, 0xc
mov dword [r14 + 0x4738], eax
mov rax, qword [0x1801aa2e0]
mov dword [rax + 0x3fc8], r12d
mov dword [rax + 0x3fc4], r12d
mov word [rax + 0x3fcc], di
mov dword [rax + 0x3fd4], r12d
mov dword [rax + 0x3fd0], r12d
mov word [rax + 0x3fd8], di
test cl, cl
je 0x1800587b7
mov dword [rax + 0x3fb0], r12d
mov dword [rax + 0x3fac], r12d
mov word [rax + 0x3fb4], di
mov dword [rax + 0x3fbc], r12d
mov dword [rax + 0x3fb8], r12d
mov word [rax + 0x3fc0], di
test r13b, r13b
je 0x1800587d1
mov dword [rax + 0x45ec], r12d
mov dword [rax + 0x45e8], r12d
mov word [rax + 0x45f0], di
test edx, 0x440
je 0x1800587e9
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003d7ac
cmp dword [r14 + 0x3f28], r12d
jne 0x180058828
test rsi, rsi
jne 0x180058800
xor edx, edx
xor ecx, ecx
call fcn.1800353cc
cmp dword [r14 + 0x3f28], r12d
jne 0x180058828
mov ecx, 1
cmp byte [r14 + 0x3748], dil
je 0x18005883e
cmp byte [rsp + 0x59], dil
jne 0x18005883e
test bl, bl
jne 0x18005883e
mov byte [rsp + 0x58], cl
jmp 0x18005883e
test rsi, rsi
je 0x18005883b
cmp byte [rsp + 0x51], dil
je 0x18005883b
mov ecx, 1
jmp 0x18005883e
mov cl, dil
mov r12d, dword [rsp + 0x54]
mov byte [rbp + 0x1b8], cl
test rsi, rsi
je 0x180058867
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005885b
test r12b, r12b
je 0x180058867
test cl, cl
je 0x180058867
mov r8d, 1
jmp 0x18005886a
mov r8b, dil
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x54], r8d
movzx r15d, r8b
mov byte [rsp + 0x50], dil
mov byte [rsp + 0x59], dil
test al, al
je 0x18005894c
test rsi, rsi
je 0x18005894c
test cl, cl
jne 0x18005889f
test r8b, r8b
je 0x180058955
mov ebx, dword [rbp + 0x1c8]
mov ecx, dword [rsi + 0x1c]
inc ebx
mov qword [rbp + 0x1e8], rdi
cmp ebx, ecx
jle 0x1800588d9
test ecx, ecx
je 0x1800588c4
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1800588c9
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x18]
mov edx, ebx
cmovg edx, eax
call fcn.180046410
mov rdi, qword [rbp + 0x1c0]
lea rax, [rbp + 0x1e8]
mov dword [rsi + 0x18], ebx
mov r8, rdi
mov rcx, qword [rsi + 0x20]
xor r9d, r9d
mov edx, ebx
mov qword [rsp + 0x20], rax
call fcn.180033238
mov ecx, dword [rbp + 0x1e8]
mov edx, eax
sub ecx, edi
mov dword [rsi + 0xc], eax
cmp dword [rsi + 0x54], eax
mov dword [rsi + 0x10], ecx
mov ecx, eax
cmovl ecx, dword [rsi + 0x54]
cmp dword [rsi + 0x58], eax
mov dword [rsi + 0x54], ecx
mov ecx, eax
cmovl ecx, dword [rsi + 0x58]
cmp dword [rsi + 0x5c], eax
mov eax, dword [rsp + 0x5c]
cmovl edx, dword [rsi + 0x5c]
xor edi, edi
cmp ecx, edx
mov dword [rsi + 0x58], ecx
mov cl, byte [rbp + 0x1b8]
mov r8d, edi
cmovne r8d, r15d
mov dword [rsi + 0x5c], edx
mov dword [rsp + 0x54], r8d
test cl, cl
jne 0x180058965
test r8b, r8b
jne 0x180058965
mov r15d, dword [rsp + 0x64]
cmp dword [r14 + 0x3f28], r15d
jne 0x18005897e
jmp 0x18005896a
mov r15d, dword [rsp + 0x64]
test al, al
jne 0x18005897e
test rsi, rsi
je 0x18005897e
mov byte [rsp + 0x6c], 1
cmp byte [rsi + 0x48], dil
jne 0x180058983
mov byte [rsp + 0x6c], dil
cmp byte [rbp - 0x74], dil
je 0x180058a35
mov rcx, qword [r14 + 0x3c20]
mov edx, 0x2a
call fcn.18004d89c
mov ecx, dword [rcx + 0x14]
lea rdi, [r14 + 0x5a80]
mov rbx, qword [0x1801aa2e0]
mov r9, rax
mov dword [rdi + 0x14], ecx
mov rcx, qword [r14 + 0x3c20]
mov qword [rbp + 0x1e8], rdi
mov edx, dword [rcx + 0x64]
mov dword [rdi + 0x64], edx
mov rcx, qword [r14 + 0x3c20]
mov edx, dword [rcx + 0x68]
mov dword [rdi + 0x68], edx
mov rcx, qword [r14 + 0x3c20]
mov edx, dword [rcx + 0x6c]
mov dword [rdi + 0x6c], edx
mov rcx, qword [r14 + 0x3c20]
mov rax, qword [rcx + 0x40]
mov rcx, rdi
mov qword [rdi + 0x40], rax
mov qword [rdi + 0x38], r9
mov eax, dword [r9 + 4]
mov dword [rdi + 0x10], eax
call fcn.18003ccfc
lea rdx, [rbp + 0x1e8]
lea rcx, [rbx + 0x4830]
call fcn.18004604c
mov rdx, qword [rdi + 0x40]
mov rcx, qword [rbx + 0x3ec8]
mov rdx, qword [rdx + 8]
mov rcx, qword [rcx + 0x298]
call fcn.180047e5c
xor edi, edi
movss xmm8, dword [0x1801584a4]
mov dword [rbp - 0x40], edi
cmp dword [r14 + 0x3f28], r15d
jne 0x180058e35
mov eax, dword [rsi + 0x10]
mov ebx, dword [rbp + 0x1d8]
mov byte [rsi + 0xe86], dil
mov dword [rsi + 0xe88], ebx
mov dword [rbp - 0x40], eax
mov eax, dword [rbp + 0x1c8]
mov dword [rsi + 0x4c], eax
cmp byte [r14 + 0xe10], dil
mov dword [r14 + 0x5e0c], 1
sete al
mov byte [r14 + 0x3f35], al
movss xmm2, dword [r14 + 0xe08]
subss xmm2, xmm7
subss xmm2, dword [r14 + 0x3830]
addss xmm2, dword [rsi + 0x50]
cmp byte [rsp + 0x60], dil
je 0x180058ac5
mov rax, qword [rbp - 0x70]
movss xmm3, dword [r14 + 0xe0c]
subss xmm3, dword [rax + 0x104]
jmp 0x180058ad3
movss xmm3, dword [r14 + 0x3c28]
mulss xmm3, xmm8
test r12b, r12b
je 0x180058afa
mov eax, dword [rsi + 0xc]
mov r12d, 1
mov byte [rsi + 0xe85], r12b
mov dword [rsi + 0x58], edi
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], dil
jmp 0x180058c99
mov al, byte [rsp + 0x5a]
test al, al
je 0x180058c4f
mov ecx, 2
cmp word [r14 + 0x3752], cx
jb 0x180058c4f
cmp byte [r14 + 0xe25], dil
jne 0x180058c4f
lea rdi, [rsi + 0x54]
mov rcx, rsi
mov rdx, rdi
call fcn.180056418
mov r12d, 1
test byte [r14 + 0x3752], r12b
jne 0x180058be2
xor eax, eax
cmp dword [rdi], eax
je 0x180058b68
movsxd rcx, dword [rdi]
lea edx, [r12 + 9]
mov rax, qword [rsi + 0x20]
cmp word [rax + rcx*2 - 2], dx
je 0x180058b68
xor edi, edi
mov cl, dil
jmp 0x180058b6d
mov cl, r12b
xor edi, edi
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180058b79
test cl, cl
jne 0x180058b86
mov edx, 0x20000c
mov rcx, rsi
call fcn.1800579ec
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x180058ba1
cmp dword [rsi + 0x58], eax
jne 0x180058b9e
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x180058ba1
mov dword [rsi + 0x54], eax
mov edx, dword [rsi + 0x54]
mov rcx, rsi
call fcn.180055fb4
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x5c], eax
mov ecx, dword [rsi + 0x58]
mov edx, dword [rsi + 0x5c]
mov eax, dword [rsi + 0xc]
cmp ecx, edx
je 0x180058bd8
cmp ecx, eax
jle 0x180058bc8
mov dword [rsi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x180058bd1
mov dword [rsi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x180058bd8
mov dword [rsi + 0x54], ecx
cmp dword [rsi + 0x54], eax
jle 0x180058c43
mov dword [rsi + 0x54], eax
jmp 0x180058c43
movsxd rcx, dword [rdi]
mov edx, 0x200004
mov rax, qword [rsi + 0x20]
movzx ebx, word [rax + rcx*2]
mov rcx, rsi
call fcn.1800579ec
mov edx, 0x600005
mov rcx, rsi
call fcn.1800579ec
mov edx, 0x600001
mov rcx, rsi
call fcn.1800579ec
mov eax, 0xa
cmp bx, ax
je 0x180058c34
xor eax, eax
cmp byte [rsp + 0x60], al
je 0x180058c34
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
mov dword [rsi + 0x58], eax
mov dword [rsi + 0x5c], ecx
mov dword [rdi], ecx
mov ebx, dword [rbp + 0x1d8]
xor edi, edi
mov byte [rsi + 0xe84], dil
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x180058c99
cmp byte [r14 + 0x3748], dil
je 0x180058d2f
cmp byte [rsi + 0xe85], dil
jne 0x180058d2f
test al, al
je 0x180058c93
lea rdx, [rsi + 0x54]
mov rcx, rsi
cmp byte [r14 + 0xe25], dil
je 0x180058c84
call fcn.180056478
jmp 0x180058c89
call fcn.180056418
mov dword [rsi + 0xe80], 0xbe99999a
mov r12d, 1
cmp byte [rsi + 0xe85], dil
je 0x180058cb2
cmp byte [r14 + 0xe10], dil
jne 0x180058cb2
mov byte [rsi + 0xe85], dil
bt ebx, 0xa
jae 0x180058d06
xor r8d, r8d
mov edx, r15d
mov ecx, 0x200
call fcn.18003f210
mov ecx, dword [rsp + 0x5c]
test al, al
je 0x180058d0a
test cl, cl
jne 0x180058d0a
mov edx, ebx
mov dword [rbp + 0x1e8], 9
lea rcx, [rbp + 0x1e8]
mov dword [rsp + 0x20], 2
call fcn.180057a18
test al, al
je 0x180058d06
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.1800579ec
mov ecx, dword [rsp + 0x5c]
cmp byte [r14 + 0xe24], dil
je 0x180058d1c
cmp byte [r14 + 0xe26], dil
je 0x180058d2a
test r13b, r13b
je 0x180058d89
cmp byte [r14 + 0xe27], dil
je 0x180058d89
mov al, r12b
jmp 0x180058d8c
cmp byte [r14 + 0xe10], dil
je 0x180058c93
cmp byte [rsi + 0xe85], dil
jne 0x180058c93
ucomiss xmm12, dword [r14 + 0xf8]
jne 0x180058d61
ucomiss xmm12, dword [r14 + 0xfc]
je 0x180058c93
lea rdx, [rsi + 0x54]
mov rcx, rsi
call fcn.180056478
mov r12d, 1
mov dword [rsi + 0xe80], 0xbe99999a
mov byte [rsi + 0xe84], r12b
jmp 0x180058c99
mov al, dil
cmp dword [r14 + 0x37c0], edi
jle 0x180058e35
test al, al
jne 0x180058e0d
test cl, cl
jne 0x180058e0d
cmp byte [rbp + 0x1e0], dil
jne 0x180058e0d
mov r13d, dword [rbp + 0x1d8]
xor r15d, r15d
mov ebx, r15d
mov rax, qword [r14 + 0x37c8]
movzx ecx, word [rbx + rax]
mov dword [rbp + 0x1e0], ecx
cmp ecx, 9
je 0x180058df6
mov edx, r13d
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e0]
call fcn.180057a18
test al, al
je 0x180058df6
mov edx, dword [rbp + 0x1e0]
mov rcx, rsi
call fcn.1800579ec
add edi, r12d
add rbx, 2
cmp edi, dword [r14 + 0x37c0]
jl 0x180058db7
mov r13b, byte [rsp + 0x69]
xor edi, edi
lea rbx, [r14 + 0x37c0]
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x180058e33
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.180046410
mov dword [rbx], edi
mov r12d, dword [rsp + 0x64]
mov r15b, dil
mov byte [rbp + 0x1e0], dil
cmp dword [r14 + 0x3f28], r12d
jne 0x18005995a
cmp byte [r14 + 0x3f34], dil
jne 0x18005995a
cmp byte [rsp + 0x58], dil
jne 0x18005995a
movaps xmm0, xmm11
mov r15d, 1
subss xmm0, dword [r14 + 0x3834]
mov ecx, r15d
divss xmm0, dword [r14 + 0x3c28]
cvttss2si eax, xmm0
cmp eax, r15d
cmovge ecx, eax
mov dword [rsi + 0x64], ecx
mov al, byte [r14 + 0xe25]
neg al
mov dword [rsp + 0x70], ecx
sbb edi, edi
xor ebx, ebx
and edi, 0x400000
test r13b, r13b
je 0x180058eed
mov al, byte [r14 + 0xe26]
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe27], bl
je 0x180058efa
mov byte [rbp + 0x1e8], al
cmp byte [r14 + 0xe24], bl
jne 0x180058efa
mov byte [rbp + 0x1e8], al
cmp al, bl
jne 0x180058efa
mov byte [rsp + 0x51], r15b
mov byte [rbp + 0x1e8], al
jmp 0x180058efe
mov al, byte [r14 + 0xe24]
mov byte [rbp + 0x1e8], al
mov byte [rsp + 0x51], bl
mov r8d, r15d
mov edx, r12d
mov ecx, 0xa39
call fcn.18003f210
test al, al
jne 0x180058f26
mov r8d, r15d
mov edx, r12d
mov ecx, 0x220a
call fcn.18003f210
test al, al
je 0x180058f4c
mov r15d, dword [rsp + 0x5c]
test r15b, r15b
jne 0x180058f51
cmp byte [rbp - 0x74], bl
mov ebx, dword [rsp + 0x60]
jne 0x180058f55
test bl, bl
je 0x180058f45
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x180058f55
mov byte [rsp + 0x68], 1
jmp 0x180058f5b
mov r15d, dword [rsp + 0x5c]
mov ebx, dword [rsp + 0x60]
xor eax, eax
mov byte [rsp + 0x68], al
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa24
call fcn.18003f210
test al, al
jne 0x180058f83
xor r8d, r8d
mov edx, r12d
mov ecx, 0x1209
call fcn.18003f210
test al, al
je 0x180058fa3
xor eax, eax
cmp byte [rbp - 0x74], al
jne 0x180058fa3
test bl, bl
je 0x180058f96
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x180058fa3
mov eax, 1
xor ebx, ebx
mov byte [rsp + 0x6b], al
jmp 0x180058fac
xor ebx, ebx
mov byte [rsp + 0x6b], bl
lea eax, [rbx + 1]
mov r8d, eax
mov edx, r12d
mov ecx, 0xa37
call fcn.18003f210
test al, al
jne 0x180058fd7
mov r8d, 1
mov edx, r12d
mov ecx, 0x2209
call fcn.18003f210
test al, al
je 0x180058fe7
test r15b, r15b
jne 0x180058fe7
mov eax, 1
mov byte [rsp + 0x5a], al
jmp 0x180058ff0
mov byte [rsp + 0x5a], bl
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3b
call fcn.18003f210
mov ebx, dword [rbp - 0x20]
test al, al
je 0x18005901b
test r15b, r15b
jne 0x18005901b
test bl, bl
je 0x18005901b
mov eax, 1
mov byte [rsp + 0x6a], al
jmp 0x180059025
mov byte [rsp + 0x6a], 0
mov eax, 1
mov r8d, eax
mov edx, r12d
mov ecx, 0xa3a
call fcn.18003f210
test al, al
jne 0x1800590f1
test r13b, r13b
je 0x180059060
mov r13d, 1
mov edx, r12d
mov r8d, r13d
mov ecx, 0x2a3b
call fcn.18003f210
test al, al
jne 0x1800590f7
xor r15d, r15d
mov r13b, r15b
xor r8d, r8d
mov edx, r12d
mov ecx, 0xa22
call fcn.18003f210
mov byte [rbp - 0x78], al
mov eax, 2
lea r12d, [rax - 1]
test byte [r14 + 8], al
je 0x180059091
mov bl, r12b
test byte [r14 + 0xc], r12b
jne 0x180059094
mov bl, r15b
mov r8d, r12d
xor edx, edx
mov ecx, 0x20d
call fcn.18003d8ec
test al, al
jne 0x1800590bd
mov r8d, r12d
xor edx, edx
mov ecx, 0x267
call fcn.18003d8ec
test al, al
jne 0x1800590bd
mov r12b, r15b
test bl, bl
je 0x180059110
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18003d8ec
test al, al
jne 0x1800590e7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18003d8ec
test al, al
je 0x180059110
mov eax, 1
mov r15b, al
jmp 0x180059115
mov r13d, 1
test r15b, r15b
jne 0x180059060
xor r15d, r15d
test bl, bl
je 0x180059063
jmp 0x180059066
mov eax, 1
mov edx, dword [rsp + 0x64]
mov r8d, eax
mov ecx, 0x20e
call fcn.18003f210
xor ecx, ecx
test al, al
jne 0x180059151
test bl, bl
je 0x180059148
mov edx, dword [rsp + 0x64]
lea r8d, [rcx + 1]
mov ecx, 0x26c
call fcn.18003f210
xor ecx, ecx
test al, al
jne 0x180059151
mov bl, cl
mov eax, 1
jmp 0x180059158
mov eax, 1
mov bl, al
mov r8d, eax
xor edx, edx
mov ecx, 0x201
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x1800591a1
neg byte [rbp + 0x1e8]
mov eax, 0x200004
sbb edx, edx
and edx, 0xc
add edx, 0x200000
cmp byte [rsp + 0x51], cl
cmovne edx, eax
or edx, edi
mov rcx, rsi
call fcn.1800579ec
xor edi, edi
mov r13d, 1
jmp 0x18005992c
xor edx, edx
mov ecx, 0x202
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x1800591cf
neg byte [rbp + 0x1e8]
mov eax, 0x200005
sbb edx, edx
and edx, 0xc
add edx, 0x200001
jmp 0x180059183
xor edx, edx
mov ecx, 0x203
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x18005923e
cmp byte [rsp + 0x60], cl
je 0x18005923e
cmp byte [r14 + 0xe24], cl
je 0x18005922d
mov r8, qword [rbp - 0x70]
xor edi, edi
movss xmm0, dword [r8 + 0x88]
subss xmm0, dword [r14 + 0x3c28]
mov dword [r8 + 0xa0], edi
mov dword [r8 + 0xa8], edi
maxss xmm0, xmm12
movss dword [r8 + 0x98], xmm0
jmp 0x180059196
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200002]
jmp 0x18005918a
xor edx, edx
mov ecx, 0x204
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x1800592ba
cmp byte [rsp + 0x60], cl
je 0x1800592ba
cmp byte [r14 + 0xe24], cl
je 0x1800592a9
mov rdx, qword [rbp - 0x70]
xor edi, edi
movss xmm0, dword [r14 + 0x3c28]
mov rax, qword [0x1801aa2e0]
addss xmm0, dword [rdx + 0x88]
mov rcx, qword [rax + 0x3ec8]
minss xmm0, dword [rcx + 0x90]
mov dword [rdx + 0xa0], edi
mov dword [rdx + 0xa8], edi
movss dword [rdx + 0x98], xmm0
jmp 0x180059196
movzx eax, byte [rsp + 0x51]
lea edx, [rax*4 + 0x200003]
jmp 0x18005918a
xor edx, edx
mov ecx, 0x205
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x180059301
cmp byte [rsp + 0x60], cl
je 0x180059301
or edi, 0x20000e
mov rcx, rsi
mov edx, edi
call fcn.1800579ec
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
subss xmm6, xmm0
jmp 0x180059194
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x180059348
cmp byte [rsp + 0x60], cl
je 0x180059348
or edi, 0x20000f
mov rcx, rsi
mov edx, edi
call fcn.1800579ec
movd xmm0, dword [rsp + 0x70]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [r14 + 0x3c28]
addss xmm6, xmm0
jmp 0x180059194
xor edx, edx
mov ecx, 0x207
lea r8d, [rdx + 1]
call fcn.18003d8ec
test al, al
je 0x180059376
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200004
sbb edx, edx
and edx, 2
add edx, eax
jmp 0x18005918a
xor edx, edx
mov ecx, 0x208
lea r8d, [rdx + 1]
call fcn.18003d8ec
test al, al
je 0x18005939a
mov al, byte [r14 + 0xe24]
neg al
mov eax, 0x200005
jmp 0x18005936a
xor edx, edx
mov ecx, 0x20a
lea r8d, [rdx + 1]
call fcn.18003d8ec
xor ecx, ecx
test al, al
je 0x1800593e6
cmp byte [rsp + 0x5c], cl
jne 0x1800593e6
cmp byte [rsp + 0x68], cl
jne 0x1800593e6
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x1800593d9
cmp byte [rbp + 0x1e8], cl
je 0x1800593d9
mov edx, 0x60000d
mov rcx, rsi
call fcn.1800579ec
or edi, 0x200008
mov edx, edi
jmp 0x18005918c
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.18003d8ec
mov r8d, dword [rsp + 0x5c]
xor ecx, ecx
test al, al
je 0x180059453
test r8b, r8b
jne 0x180059453
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x18005944b
cmp byte [rbp + 0x1e8], cl
je 0x18005941d
mov edx, 0x60000c
jmp 0x180059443
cmp byte [rsp + 0x69], cl
je 0x18005944b
cmp byte [r14 + 0xe27], cl
je 0x18005944b
cmp byte [r14 + 0xe26], cl
jne 0x18005944b
cmp byte [r14 + 0xe24], cl
jne 0x18005944b
mov edx, 0x600004
mov rcx, rsi
call fcn.1800579ec
or edi, 0x200009
jmp 0x1800593df
xor edi, edi
test r12b, r12b
jne 0x180059897
test r15b, r15b
jne 0x180059897
test bl, bl
je 0x1800594c8
test dword [rbp + 0x1d8], 0x100000
je 0x1800594a5
mov eax, dword [rsi + 0x10]
test eax, eax
jg 0x18005948f
mov byte [rsp + 0x54], dil
mov byte [rbp + 0x1b8], dil
mov byte [rsp + 0x58], 1
setg r15b
mov r13d, 1
mov byte [rbp + 0x1e0], r15b
jmp 0x180059933
mov r13d, 1
mov dl, dil
mov r15b, r13b
mov byte [rbp + 0x1e0], r13b
mov byte [rsp + 0x58], r13b
mov byte [rbp + 0x1b8], dl
jmp 0x18005993d
movzx eax, byte [rsp + 0x6a]
test al, al
jne 0x180059870
test r13b, r13b
jne 0x180059870
cmp byte [rbp - 0x78], dil
je 0x180059506
mov eax, dword [rsi + 0xc]
mov r13d, 1
mov byte [rsi + 0xe84], r13b
mov dword [rsi + 0x58], edi
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov byte [rsi + 0x6a], dil
jmp 0x18005992c
mov r13b, byte [rsp + 0x68]
test r13b, r13b
jne 0x180059728
cmp byte [rsp + 0x6b], dil
jne 0x180059728
cmp byte [rsp + 0x5a], dil
je 0x180059196
mov rax, qword [0x1801aa2e0]
mov rdx, qword [rax + 0xb0]
test rdx, rdx
je 0x18005955b
mov rcx, qword [rax + 0xc0]
call rdx
mov rbx, rax
test rax, rax
je 0x180059196
mov rax, qword [0x1801aa2e0]
jmp 0x180059562
lea rbx, [0x1800efaa8]
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], dil
jne 0x180059566
mov r13d, 1
test rax, rax
je 0x180059581
add dword [rax + 0xf4], r13d
lea eax, [rcx + 1]
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15d, edi
mov r12, rax
mov qword [rsp + 0x70], rax
cmp byte [rbx], dil
je 0x180059609
mov r14d, dword [rbp + 0x1d8]
xor r12d, r12d
mov rdi, rax
lea esi, [r12 + 2]
xor r8d, r8d
lea rcx, [rbp + 0x1e8]
mov rdx, rbx
call fcn.180033098
movsxd rcx, eax
mov edx, r14d
add rbx, rcx
mov dword [rsp + 0x20], 4
lea rcx, [rbp + 0x1e8]
call fcn.180057a18
test al, al
je 0x1800595f5
movzx eax, word [rbp + 0x1e8]
add r15d, r13d
mov word [rdi], ax
add rdi, rsi
cmp byte [rbx], r12b
jne 0x1800595b2
mov rsi, qword [rbp - 0x30]
xor edi, edi
mov r14, qword [rbp + 0x30]
mov r12, qword [rsp + 0x70]
movsxd rax, r15d
mov word [r12 + rax*2], di
test r15d, r15d
jle 0x180059703
mov ecx, dword [rsi + 0xc]
lea rbx, [rsi + 0x54]
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x180059652
mov edx, eax
cmp eax, ecx
jle 0x180059638
mov dword [rbx + 4], ecx
mov edx, ecx
mov r9d, r8d
cmp r8d, ecx
jle 0x180059646
mov dword [rbx + 8], ecx
mov r9d, ecx
mov eax, edx
mov r8d, r9d
cmp edx, r9d
jne 0x180059652
mov dword [rbx], edx
mov r9d, dword [rbx]
cmp r9d, ecx
jle 0x18005965f
mov dword [rbx], ecx
mov r9d, ecx
mov ecx, dword [rsi + 0xc]
cmp eax, r8d
je 0x18005968f
mov edx, eax
cmp eax, ecx
jle 0x180059672
mov dword [rbx + 4], ecx
mov edx, ecx
mov r10d, r8d
cmp r8d, ecx
jle 0x180059680
mov dword [rbx + 8], ecx
mov r10d, ecx
mov eax, edx
mov r8d, r10d
cmp edx, r10d
jne 0x18005968f
mov dword [rbx], edx
mov r9d, edx
cmp r9d, ecx
jle 0x180059696
mov dword [rbx], ecx
cmp eax, r8d
je 0x1800596d0
mov rdx, rbx
mov rcx, rsi
jge 0x1800596b9
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180056654
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x1800596ca
sub eax, r8d
mov r9d, eax
call fcn.180056654
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], dil
mov edx, dword [rbx]
mov r9d, r15d
mov r8, r12
mov rcx, rsi
call fcn.180056184
test al, al
je 0x1800596fc
mov edx, dword [rbx]
lea rcx, [rbx + 0x20]
mov r9d, r15d
xor r8d, r8d
call fcn.1800573b4
add dword [rbx], r15d
mov byte [rbx + 0x16], dil
mov byte [rsi + 0xe84], r13b
test r12, r12
je 0x18005971a
mov rax, qword [0x1801aa2e0]
test rax, rax
je 0x18005971a
dec dword [rax + 0xf4]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18005992c
cmp qword [r14 + 0xb8], rdi
je 0x1800597cb
mov ecx, dword [rsi + 0x58]
mov eax, dword [rsi + 0x5c]
cmp ecx, eax
je 0x180059749
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x18005974e
mov eax, dword [rsi + 0xc]
mov edx, edi
movsxd r15, eax
mov rax, qword [rsi + 0x20]
movsxd r12, edx
lea rdx, [rax + r15*2]
lea rcx, [rax + r12*2]
call fcn.180033498
mov edx, 1
lea edi, [rdx + rax]
mov rax, qword [0x1801aa2e0]
test rax, rax
je 0x18005977f
add dword [rax + 0xf4], edx
movsxd rcx, edi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsi + 0x20]
mov edx, edi
mov rbx, rax
lea r9, [rcx + r15*2]
lea r8, [rcx + r12*2]
mov rcx, rax
call fcn.1800333f8
mov rcx, rbx
call fcn.180035900
xor edi, edi
test rbx, rbx
je 0x1800597c2
mov rcx, qword [0x1801aa2e0]
test rcx, rcx
je 0x1800597c2
dec dword [rcx + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test r13b, r13b
je 0x180059196
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
jne 0x1800597ec
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], edi
mov byte [rsi + 0x6a], dil
lea rbx, [rsi + 0x54]
mov r13d, 1
mov byte [rsi + 0xe84], r13b
mov eax, dword [rbx + 4]
mov r8d, dword [rbx + 8]
cmp eax, r8d
je 0x18005992c
mov ecx, dword [rsi + 0xc]
cmp eax, ecx
jle 0x180059819
mov dword [rbx + 4], ecx
mov eax, ecx
cmp r8d, ecx
jle 0x180059824
mov dword [rbx + 8], ecx
mov r8d, ecx
cmp eax, r8d
jne 0x18005982b
mov dword [rbx], eax
cmp dword [rbx], ecx
jle 0x180059831
mov dword [rbx], ecx
cmp eax, r8d
je 0x180059867
mov rdx, rbx
mov rcx, rsi
jge 0x180059854
sub r8d, eax
mov r9d, r8d
mov r8d, eax
call fcn.180056654
mov eax, dword [rbx + 4]
mov dword [rbx + 8], eax
jmp 0x180059865
sub eax, r8d
mov r9d, eax
call fcn.180056654
mov eax, dword [rbx + 8]
mov dword [rbx + 4], eax
mov dword [rbx], eax
mov byte [rbx + 0x16], dil
jmp 0x18005992c
mov edx, eax
mov r13d, 1
xor edx, r13d
mov rcx, rsi
add edx, 0x20000a
call fcn.1800579ec
mov eax, dword [rsi + 0x54]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x58], eax
jmp 0x18005992c
mov edx, dword [rbp + 0x1d8]
mov r13d, 1
mov ecx, dword [rsp + 0x60]
mov eax, edx
shr eax, 0xb
and al, r13b
test cl, cl
je 0x1800598c5
test r15b, r15b
jne 0x1800598c5
test al, al
je 0x1800598e6
cmp byte [r14 + 0xe24], dil
jne 0x1800598ef
mov byte [rsp + 0x59], r13b
cmp byte [r14 + 0x7c], dil
je 0x180059927
test cl, cl
jne 0x180059927
mov eax, dword [rsi + 0xc]
mov dword [rsi + 0x5c], eax
mov dword [rsi + 0x54], eax
mov dword [rsi + 0x58], edi
mov byte [rsi + 0x6a], dil
jmp 0x18005992c
cmp byte [r14 + 0xe24], dil
jne 0x1800598c5
test r8b, r8b
jne 0x18005992c
mov eax, 0xa
mov dword [rsp + 0x20], 2
lea rcx, [rbp + 0x1e8]
mov dword [rbp + 0x1e8], eax
call fcn.180057a18
test al, al
je 0x18005992c
mov edx, dword [rbp + 0x1e8]
mov rcx, rsi
call fcn.1800579ec
jmp 0x18005992c
mov byte [rsp + 0x58], r13b
mov r15b, byte [rbp + 0x1e0]
mov ecx, dword [rsp + 0x54]
mov dl, byte [rbp + 0x1b8]
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
je 0x18005994c
mov al, r13b
test dl, dl
jne 0x18005994f
mov al, dil
mov r12d, dword [rsp + 0x64]
or cl, al
mov dword [rsp + 0x54], ecx
mov r13d, edi
mov qword [rsp + 0x70], rdi
cmp dword [r14 + 0x3f28], r12d
jne 0x180059f15
cmp byte [rsp + 0x5c], dil
jne 0x180059b1a
test r15b, r15b
je 0x180059aca
test dword [rbp + 0x1d8], 0x100000
je 0x1800599cd
mov r9d, dword [rsi + 0xc]
lea rax, [0x1800efaa8]
xor r8d, r8d
mov qword [rsp + 0x70], rax
lea rdx, [rsi + 0x54]
mov dword [rsp + 0x20], edi
mov rcx, rsi
call fcn.1800578fc
mov r8d, dword [rsi + 0xc]
xor edx, edx
mov rcx, rsi
call fcn.1800560f8
and qword [rsi + 0x58], 0
mov dword [rsi + 0x54], edi
jmp 0x180059aca
mov rax, qword [rbp + 0x1c0]
mov r9d, 1
mov r8, qword [rsi + 0x40]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1800599f4
add rax, r9
test ecx, ecx
jne 0x1800599e1
test edx, edx
je 0x180059aca
mov r13d, dword [rsi + 0x38]
mov ebx, edi
mov r12, qword [rsi + 0x40]
sub r13d, r9d
mov qword [rsp + 0x70], r12
mov byte [rsp + 0x50], r9b
test r13d, r13d
jle 0x180059a87
movsxd r15, r13d
mov rcx, r12
add r15, r12
mov rdx, r15
call fcn.1800332d8
mov r8d, 1
xor edx, edx
lea ebx, [r8 + rax]
test ebx, ebx
jle 0x180059a6b
lea ecx, [rdx + 8]
mov eax, ebx
cmp ebx, ecx
cmovl eax, ecx
test eax, eax
jle 0x180059a6b
mov rcx, qword [0x1801aa2e0]
test rcx, rcx
je 0x180059a5a
add dword [rcx + 0xf4], r8d
movsxd rcx, eax
add rcx, rcx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
xor edx, edx
mov qword [rsp + 0x20], rdx
mov r9, r15
mov edx, ebx
mov r8, r12
mov rcx, rdi
call fcn.180033238
mov r15b, byte [rbp + 0x1e0]
lea ecx, [rbx - 1]
mov r8, rdi
xor ebx, ebx
lea rdx, [rsi + 0x54]
mov r9d, ebx
test r13d, r13d
cmovg r9d, ecx
mov rcx, rsi
call fcn.180057968
test rdi, rdi
je 0x180059ac5
mov rax, qword [0x1801aa2e0]
test rax, rax
je 0x180059abc
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r12d, dword [rsp + 0x64]
mov eax, dword [rsi + 0x18]
mov byte [rsi + 0x48], 1
mov ecx, dword [rsi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x180059b03
test ecx, ecx
je 0x180059aee
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059af3
mov eax, 8
cmp eax, ebx
lea rcx, [rsi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.18004638c
mov dword [rsi + 0x28], ebx
xor r9d, r9d
mov r8, qword [rsi + 0x20]
mov edx, ebx
mov rcx, qword [rsi + 0x30]
call fcn.1800333f8
xor edi, edi
test r15b, r15b
je 0x180059c64
cmp byte [rsp + 0x59], dil
je 0x180059b3b
mov r15d, dword [rbp + 0x1d8]
test r15b, 0x20
jne 0x180059c6b
mov r12, qword [rbp + 0x1c0]
mov ebx, dword [rsp + 0x5c]
mov r10, qword [rsp + 0x70]
mov r11b, byte [rsp + 0x50]
mov r15d, dword [rsp + 0x64]
cmp dword [r14 + 0x5a68], r15d
jne 0x180059be6
cmp dword [r14 + 0x3f28], r15d
je 0x180059bdf
mov r9, qword [0x1801aa2e0]
call fcn.1800382f0
test al, al
je 0x180059bdf
cmp byte [r9 + 0x3f5d], dil
jne 0x180059b96
cmp dword [r9 + 0x3f28], edi
jne 0x180059bdf
cmp byte [r9 + 0x3f38], dil
je 0x180059bdf
test bl, bl
jne 0x180059bdf
mov r10, qword [r14 + 0x5a78]
mov r9d, 1
mov r13d, dword [r14 + 0x5a70]
mov r8, r12
sub r13d, r9d
mov qword [rsp + 0x70], r10
sub r8, r10
mov rax, r10
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180059bd2
add rax, r9
test ecx, ecx
jne 0x180059bbf
test edx, edx
setne al
or r11b, al
mov byte [rsp + 0x50], r11b
mov dword [r14 + 0x5a68], edi
test r10, r10
je 0x180059f5b
cmp byte [rbp - 0x54], dil
je 0x180059f28
mov eax, dword [rbp + 0x1d8]
lea rcx, [rbp + 0x40]
mov dword [rbp + 0x4c], eax
xorps xmm0, xmm0
lea eax, [r13 + 1]
mov qword [rbp + 0x58], rdi
cmp dword [rbp + 0x1c8], eax
movdqa xmmword [rbp + 0x70], xmm0
cmovge eax, dword [rbp + 0x1c8]
mov dword [rbp + 0x6c], eax
mov qword [rbp + 0x40], r14
mov dword [rbp + 0x48], 0x40000
mov qword [rbp + 0x60], r12
mov dword [rbp + 0x68], r13d
mov qword [rbp + 0x50], rdi
call rdi
mov ecx, dword [rbp + 0x6c]
mov r12, qword [rbp + 0x60]
mov r10, qword [rsp + 0x70]
mov qword [rbp + 0x1c0], r12
lea r13d, [rcx - 1]
cmp dword [rbp + 0x68], r13d
cmovl r13d, dword [rbp + 0x68]
jmp 0x180059f2e
mov r15d, dword [rbp + 0x1d8]
test r15d, 0x801c0
je 0x180059ebd
mov ebx, 0x40
test bl, r15b
je 0x180059ca0
xor r8d, r8d
mov edx, r12d
mov ecx, 0x200
call fcn.18003f210
xor r12d, r12d
test al, al
je 0x180059ca3
mov edi, 0x200
jmp 0x180059d0c
xor r12d, r12d
test r15b, r15b
jns 0x180059ceb
mov ebx, 1
xor edx, edx
mov r8d, ebx
mov ecx, 0x203
call fcn.18003d8ec
test al, al
je 0x180059ccc
mov ebx, 0x80
mov edi, 0x203
jmp 0x180059d0c
mov r8d, ebx
xor edx, edx
mov ecx, 0x204
call fcn.18003d8ec
test al, al
je 0x180059ceb
mov ebx, 0x80
mov edi, 0x204
jmp 0x180059d0c
mov ebx, 0x80000
test ebx, r15d
je 0x180059cfe
cmp byte [rsi + 0xe86], r12b
jne 0x180059d0c
mov eax, 0x100
mov ebx, r12d
test eax, r15d
cmovne ebx, eax
test ebx, ebx
je 0x180059ebb
mov rax, qword [rbp + 0x1c0]
mov dword [rbp + 8], r12d
mov word [rbp + 0x21], r12w
mov byte [rbp + 0x23], r12b
mov qword [rbp - 0x10], r14
mov dword [rbp - 8], ebx
mov dword [rbp - 4], r15d
mov qword [rbp], r12
cmp byte [rsp + 0x5c], r12b
jne 0x180059d42
mov rax, qword [rsi + 0x30]
mov r11, qword [rsi + 0x20]
mov qword [rbp + 0x10], rax
mov rcx, r11
mov eax, dword [rsi + 0x10]
mov dword [rbp + 0x18], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbp + 0x1c], eax
movsxd rax, dword [rsi + 0x54]
mov dword [rbp + 0xc], edi
mov byte [rbp + 0x20], r12b
lea rdx, [r11 + rax*2]
call fcn.180033498
movsxd rdx, dword [rsi + 0x58]
mov rcx, r11
mov ebx, eax
mov dword [rbp + 0x24], eax
lea rdx, [r11 + rdx*2]
call fcn.180033498
movsxd rdx, dword [rsi + 0x5c]
mov rcx, r11
mov dword [rbp + 0x1e0], eax
mov dword [rbp + 0x28], eax
lea rdx, [r11 + rdx*2]
call fcn.180033498
lea rcx, [rbp - 0x10]
mov dword [rbp + 0x1e8], eax
mov dword [rbp + 0x2c], eax
call r12
movsxd r12, dword [rbp + 0x24]
mov rdi, qword [rbp + 0x10]
mov r15b, byte [rbp + 0x20]
cmp r12d, ebx
jne 0x180059dc1
test r15b, r15b
je 0x180059dd7
lea rdx, [rdi + r12]
mov rcx, rdi
call fcn.1800332d8
mov dword [rsi + 0x54], eax
mov byte [rsi + 0xe84], 1
movsxd rbx, dword [rbp + 0x28]
cmp ebx, dword [rbp + 0x1e0]
jne 0x180059de8
test r15b, r15b
je 0x180059e01
cmp ebx, r12d
jne 0x180059df2
mov eax, dword [rsi + 0x54]
jmp 0x180059dfe
lea rdx, [rdi + rbx]
mov rcx, rdi
call fcn.1800332d8
mov dword [rsi + 0x58], eax
movsxd rax, dword [rbp + 0x2c]
cmp eax, dword [rbp + 0x1e8]
jne 0x180059e16
test r15b, r15b
je 0x180059ebb
cmp eax, ebx
jne 0x180059e1f
mov eax, dword [rsi + 0x58]
jmp 0x180059e2b
lea rdx, [rdi + rax]
mov rcx, rdi
call fcn.1800332d8
mov dword [rsi + 0x5c], eax
test r15b, r15b
je 0x180059ebb
mov r8d, dword [rbp + 0x18]
mov rdx, rdi
mov rcx, rsi
call fcn.180057bf0
mov eax, dword [rbp - 0x40]
xor edi, edi
mov ebx, dword [rbp + 0x18]
cmp ebx, eax
jle 0x180059e8e
cmp byte [rbp - 0x54], dil
je 0x180059e8e
lea rdi, [rsi + 0x18]
sub ebx, eax
add ebx, dword [rdi]
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x180059e8a
test ecx, ecx
je 0x180059e76
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180059e7b
mov eax, 8
cmp eax, ebx
mov edx, ebx
mov rcx, rdi
cmovg edx, eax
call fcn.180046410
mov dword [rdi], ebx
xor edi, edi
mov r8, qword [rbp + 0x10]
xor r9d, r9d
mov edx, dword [rsi + 0x18]
mov rcx, qword [rsi + 0x20]
mov qword [rsp + 0x20], rdi
call fcn.180033238
mov dword [rsi + 0xc], eax
mov eax, dword [rbp + 0x18]
mov dword [rsi + 0x10], eax
mov dword [rsi + 0xe80], 0xbe99999a
jmp 0x180059ebd
xor edi, edi
mov ebx, dword [rsp + 0x5c]
mov r12, qword [rbp + 0x1c0]
test bl, bl
jne 0x180059b46
mov rax, qword [rsi + 0x30]
mov r8, r12
sub r8, rax
mov r9d, 1
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x180059ef3
add rax, r9
test ecx, ecx
jne 0x180059ee0
test edx, edx
je 0x180059b46
mov r10, qword [rsi + 0x30]
mov r11b, r9b
mov r13d, dword [rsi + 0x10]
mov qword [rsp + 0x70], r10
mov byte [rsp + 0x50], r9b
jmp 0x180059b50
mov r12, qword [rbp + 0x1c0]
mov r10, rdi
mov ebx, dword [rsp + 0x5c]
jmp 0x180059b4b
mov ecx, dword [rbp + 0x1c8]
lea eax, [r13 + 1]
cmp eax, ecx
cmovl ecx, eax
mov eax, 1
movsxd rbx, ecx
cmp rbx, rax
jb 0x180059f5b
jbe 0x180059f56
lea r8, [rbx - 1]
mov rdx, r10
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [rbx + r12 - 1], dil
cmp byte [rsp + 0x58], dil
je 0x180059f74
cmp dword [r14 + 0x3f28], r15d
jne 0x180059f74
xor edx, edx
xor ecx, ecx
call fcn.1800353cc
mov r13d, dword [rsp + 0x60]
mov ebx, 1
test r13b, r13b
jne 0x180059fea
mov r8d, ebx
lea rcx, [rsp + 0x78]
mov edx, r15d
call fcn.180034470
mov rax, qword [0x1801aa2e0]
lea rcx, [rbp + 0x30]
movdqu xmm0, xmmword [rax + 0x3940]
movups xmmword [rbp + 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp + 0x3c], xmm0
call fcn.18003358c
movss xmm0, dword [r14 + 0x3838]
mov r8d, eax
mov rdx, qword [rbp - 0x80]
mov r9b, bl
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm9
movq rcx, xmm0
call fcn.1800341a4
mov r11, qword [rbp - 0x70]
movaps xmm0, xmm10
movss dword [rbp - 0x50], xmm7
movaps xmm1, xmm9
movss dword [rbp - 0x4c], xmm9
addss xmm0, xmm7
addss xmm1, xmm11
lea rax, [rbp + 0x1e0]
movss dword [rbp - 0x48], xmm0
movss dword [rbp - 0x44], xmm1
test r13b, r13b
je 0x18005a033
movsd xmm0, qword [r11 + 0x100]
movsd qword [rbp + 0x1e0], xmm0
jmp 0x18005a059
addss xmm7, dword [r14 + 0x3830]
movaps xmm0, xmm9
addss xmm0, dword [r14 + 0x3834]
movss dword [rbp + 0x1e0], xmm7
movss dword [rbp + 0x1e4], xmm0
movaps xmm14, xmm12
movsd xmm0, qword [rax]
movsd qword [rbp - 0x60], xmm0
movss dword [rbp + 0x1e0], xmm12
cmp byte [rsp + 0x6c], dil
je 0x18005a081
mov r12, qword [rsi + 0x30]
mov qword [rbp + 0x1c0], r12
mov r10b, byte [rbp + 0x1b8]
mov r8d, dword [rsp + 0x54]
test r10b, r10b
jne 0x18005a1ad
test r8b, r8b
jne 0x18005a1ad
test r13b, r13b
je 0x18005a0f3
mov dl, byte [r12]
mov ecx, edi
lea rdi, [r12 + 1]
xor r9d, r9d
jmp 0x18005a0c4
cmp dl, 0xa
lea eax, [rcx + 1]
mov dl, byte [rdi]
cmovne eax, ecx
add rdi, rbx
mov ecx, eax
test dl, dl
jne 0x18005a0b4
sub rdi, rbx
mov eax, 0xa
cmp byte [rdi], al
je 0x18005a0db
cmp byte [rdi], 0xd
je 0x18005a0db
add ecx, ebx
movd xmm14, ecx
movaps xmm6, xmm10
cvtdq2ps xmm14, xmm14
mulss xmm14, dword [r14 + 0x3c28]
jmp 0x18005a131
cmp dword [r14 + 0x3f28], r15d
jne 0x18005a108
movsxd rdi, dword [rsi + 0x10]
add rdi, r12
xor r9d, r9d
jmp 0x18005a11b
or rdi, 0xffffffffffffffff
xor r9d, r9d
inc rdi
cmp byte [r12 + rdi], r9b
jne 0x18005a10f
add rdi, r12
movss xmm6, dword [rbp + 0x1e0]
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005a1a5
mov rax, qword [0x1801aa2e0]
lea r8, [rbp - 0x50]
test r13b, r13b
lea rcx, [rsp + 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x7c], xmm0
call fcn.18003358c
movss xmm2, dword [r14 + 0x3c28]
lea r9, [rbp - 0x60]
mov rdx, qword [r14 + 0x3c20]
mov rcx, qword [r11 + 0x298]
mov qword [rsp + 0x40], r8
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.18004ba60
xor r9d, r9d
jmp 0x18005a999
movsxd rdi, dword [rsi + 0x10]
xor r11d, r11d
add rdi, r12
mov edx, 0xfffffc18
mov r12, qword [rsi + 0x20]
movaps xmm9, xmm12
mov qword [rsp + 0x70], rdi
movaps xmm7, xmm12
mov r9d, r11d
mov r13d, r11d
mov r15d, edx
mov ecx, r11d
test r10b, r10b
je 0x18005a1eb
movsxd rax, dword [rsi + 0x54]
or edx, 0xffffffff
mov ecx, ebx
lea r9, [r12 + rax*2]
test r8b, r8b
je 0x18005a206
mov eax, dword [rsi + 0x5c]
cmp dword [rsi + 0x58], eax
cmovl eax, dword [rsi + 0x58]
or r15d, 0xffffffff
cdqe
add ecx, ebx
lea r13, [r12 + rax*2]
movzx eax, byte [rsp + 0x60]
mov ebx, r11d
movzx r8d, word [r12]
add ecx, eax
mov rax, r12
mov r10d, 0xa
test r8w, r8w
je 0x18005a26f
lea edi, [r10 - 9]
lea esi, [rdi + 1]
cmp r8w, r10w
jne 0x18005a259
add ebx, edi
cmp edx, 0xffffffff
jne 0x18005a245
cmp rax, r9
jb 0x18005a245
sub ecx, edi
mov edx, ebx
test ecx, ecx
jle 0x18005a266
cmp r15d, 0xffffffff
jne 0x18005a259
cmp rax, r13
jb 0x18005a259
sub ecx, edi
mov r15d, ebx
test ecx, ecx
jle 0x18005a266
add rax, rsi
movzx r8d, word [rax]
test r8w, r8w
jne 0x18005a22b
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rsp + 0x70]
inc ebx
mov r8, r9
cmp edx, 0xffffffff
mov eax, ebx
cmovne eax, edx
cmp r15d, 0xffffffff
mov dword [rbp + 0x1e8], eax
cmove r15d, ebx
cmp r9, r12
jbe 0x18005a2a1
lea rax, [r8 - 2]
cmp word [rax], r10w
je 0x18005a2a1
mov r8, rax
cmp rax, r12
ja 0x18005a28f
mov byte [rsp + 0x30], r11b
lea rcx, [rbp + 0x30]
mov rdx, r14
mov qword [rsp + 0x20], r11
call fcn.180055d3c
movd xmm15, dword [rbp + 0x1e8]
xor r9d, r9d
movss xmm5, dword [r14 + 0x3c28]
cvtdq2ps xmm15, xmm15
movss xmm13, dword [rax]
mulss xmm15, xmm5
movss dword [rbp - 0x54], xmm13
test r15d, r15d
js 0x18005a338
mov r8, r13
cmp r13, r12
jbe 0x18005a302
lea ecx, [r9 + 0xa]
lea rax, [r8 - 2]
cmp word [rax], cx
je 0x18005a302
mov r8, rax
cmp rax, r12
ja 0x18005a2f1
mov byte [rsp + 0x30], r9b
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], r9
mov rdx, r14
mov r9, r13
call fcn.180055d3c
movss xmm5, dword [r14 + 0x3c28]
xor r9d, r9d
movd xmm7, r15d
cvtdq2ps xmm7, xmm7
movss xmm9, dword [rax]
mulss xmm7, xmm5
mov r13d, dword [rsp + 0x60]
test r13b, r13b
je 0x18005a359
movd xmm14, ebx
cvtdq2ps xmm14, xmm14
movss dword [rbp + 0x1e0], xmm10
mulss xmm14, xmm5
mov r15b, byte [rbp + 0x1b8]
test r15b, r15b
je 0x18005a483
cmp byte [rsi + 0xe84], r9b
je 0x18005a483
test dword [rbp + 0x1d8], 0x1000
jne 0x18005a3d2
comiss xmm13, dword [rsi + 0x50]
movaps xmm1, xmm10
movaps xmm0, xmm13
mulss xmm1, dword [0x180158468]
subss xmm10, dword [r14 + 0x3830]
jae 0x18005a3b1
subss xmm0, xmm1
maxss xmm0, xmm12
cvttss2si eax, xmm0
jmp 0x18005a3c4
subss xmm0, xmm10
comiss xmm0, dword [rsi + 0x50]
jb 0x18005a3d6
addss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x50], xmm0
jmp 0x18005a3d6
mov dword [rsi + 0x50], r9d
test r13b, r13b
je 0x18005a47c
movaps xmm0, xmm15
subss xmm0, dword [r14 + 0x3c28]
comiss xmm0, xmm6
jae 0x18005a3fb
movaps xmm6, xmm0
maxss xmm6, xmm12
jmp 0x18005a42a
movss xmm2, dword [r14 + 0x3834]
movaps xmm1, xmm11
addss xmm2, xmm2
movaps xmm0, xmm15
subss xmm1, xmm2
subss xmm0, xmm1
comiss xmm0, xmm6
jb 0x18005a42a
movaps xmm6, xmm15
subss xmm6, xmm11
addss xmm6, xmm2
comiss xmm6, xmm12
movss xmm2, dword [r14 + 0x3834]
jae 0x18005a43f
movaps xmm2, xmm12
jmp 0x18005a456
addss xmm2, xmm2
addss xmm2, xmm14
subss xmm2, xmm11
maxss xmm2, xmm12
minss xmm2, xmm6
movss xmm1, dword [rbp - 0x5c]
mov rax, qword [rbp - 0x70]
movss xmm0, dword [rax + 0x88]
subss xmm0, xmm2
addss xmm1, xmm0
movss dword [rbp - 0x5c], xmm1
movss dword [rax + 0x88], xmm2
mov byte [rsi + 0xe84], r9b
movss xmm10, dword [rsi + 0x50]
movss xmm11, dword [0x1801584fc]
cmp byte [rsp + 0x54], r9b
je 0x18005a714
mov edx, dword [rsi + 0x5c]
mov eax, edx
mov ecx, dword [rsi + 0x58]
cmp ecx, edx
cmovl eax, ecx
cmovge edx, ecx
cdqe
lea r8, [r12 + rax*2]
movsxd rax, edx
lea rbx, [r12 + rax*2]
test r15b, r15b
je 0x18005a4c5
movaps xmm1, xmm11
jmp 0x18005a4cd
movss xmm1, dword [0x1801584ac]
mov rax, qword [0x1801aa2e0]
lea rcx, [rsp + 0x78]
movdqu xmm0, xmmword [rax + 0x3bc0]
mulss xmm1, dword [rax + 0x37f4]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x7c], xmm0
call fcn.18003358c
mov r15d, eax
test r13b, r13b
je 0x18005a510
movss dword [rbp - 0x68], xmm12
jmp 0x18005a519
movss xmm12, dword [0x180158540]
movss xmm6, dword [rbp - 0x5c]
mov qword [rbp + 0x1e8], r8
addss xmm6, xmm7
addss xmm9, dword [rbp - 0x60]
subss xmm9, xmm10
cmp r8, rbx
jae 0x18005a709
movss xmm3, dword [rbp - 0x44]
xorps xmm11, xmm11
movss xmm7, dword [rbp - 0x4c]
xor edi, edi
movss xmm13, dword [rbp - 0x68]
mov r13, qword [rbp - 0x70]
movaps xmm0, xmm3
addss xmm0, dword [r14 + 0x3c28]
comiss xmm6, xmm0
ja 0x18005a6e9
comiss xmm6, xmm7
jae 0x18005a5a1
cmp r8, rbx
jae 0x18005a6cc
mov ecx, 0xa
movzx eax, word [r8]
add r8, 2
mov qword [rbp + 0x1e8], r8
cmp ax, cx
je 0x18005a6cc
cmp r8, rbx
jb 0x18005a57f
jmp 0x18005a6cc
lea rax, [rbp + 0x1e8]
mov byte [rsp + 0x30], 1
mov r9, rbx
mov qword [rsp + 0x20], rax
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.180055d3c
movss xmm5, dword [rbp - 0x40]
comiss xmm5, xmm11
ja 0x18005a600
mov rax, qword [r14 + 0x3c20]
cmp dword [rax], 0x20
jle 0x18005a5e6
mov rax, qword [rax + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x18005a5eb
movss xmm0, dword [rax + 0x10]
mulss xmm0, xmm8
cvttss2si eax, xmm0
movd xmm5, eax
cvtdq2ps xmm5, xmm5
movss dword [rbp - 0x40], xmm5
movss xmm7, dword [rbp - 0x4c]
movaps xmm0, xmm9
movss xmm8, dword [rbp - 0x50]
addss xmm0, xmm5
movss xmm3, dword [rbp - 0x44]
movaps xmm2, xmm13
subss xmm2, dword [r14 + 0x3c28]
movaps xmm5, xmm8
movaps xmm1, xmm12
maxss xmm5, xmm9
movss xmm9, dword [rbp - 0x48]
addss xmm1, xmm6
movaps xmm4, xmm9
minss xmm4, xmm0
movaps xmm0, xmm3
addss xmm2, xmm6
movss dword [rsp + 0x78], xmm5
minss xmm0, xmm1
movss dword [rbp - 0x80], xmm4
maxss xmm2, xmm7
comiss xmm7, xmm0
movss dword [rsp + 0x7c], xmm2
movss dword [rbp - 0x7c], xmm0
jae 0x18005a6bc
comiss xmm3, xmm2
jbe 0x18005a6bc
comiss xmm8, xmm4
jae 0x18005a6bc
comiss xmm9, xmm5
jbe 0x18005a6bc
mov rcx, qword [r13 + 0x298]
lea r8, [rbp - 0x80]
mov dword [rsp + 0x28], edi
lea rdx, [rsp + 0x78]
mov r9d, r15d
movss dword [rsp + 0x20], xmm11
call fcn.18004a334
movss xmm1, dword [rbp - 0x68]
movss xmm3, dword [rbp - 0x44]
movss xmm7, dword [rbp - 0x4c]
movss dword [rbp - 0x68], xmm1
movss xmm13, dword [rbp - 0x68]
movss xmm8, dword [0x1801584a4]
mov r8, qword [rbp + 0x1e8]
movss xmm9, dword [rbp - 0x60]
subss xmm9, xmm10
addss xmm6, dword [r14 + 0x3c28]
cmp r8, rbx
jb 0x18005a557
movss xmm11, dword [0x1801584fc]
xor r9d, r9d
movss xmm13, dword [rbp - 0x54]
mov rsi, qword [rbp - 0x30]
mov rdi, qword [rsp + 0x70]
mov r13d, dword [rsp + 0x60]
mov r15b, byte [rbp + 0x1b8]
xorps xmm12, xmm12
mov r12, qword [rbp + 0x1c0]
test r13b, r13b
jne 0x18005a732
mov rax, rdi
sub rax, r12
cmp rax, 0x200000
jge 0x18005a7d1
mov rax, qword [0x1801aa2e0]
lea r8, [rbp - 0x50]
test r13b, r13b
lea rcx, [rsp + 0x78]
cmovne r8, r9
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rsp + 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x7c], xmm0
movss xmm0, dword [rbp - 0x60]
subss xmm0, xmm10
movss dword [rbp + 0x1b8], xmm0
movss xmm0, dword [rbp - 0x5c]
movss dword [rbp + 0x1bc], xmm0
call fcn.18003358c
mov rbx, qword [rbp - 0x70]
lea r9, [rbp + 0x1b8]
movss xmm2, dword [r14 + 0x3c28]
mov rdx, qword [r14 + 0x3c20]
mov qword [rsp + 0x40], r8
mov rcx, qword [rbx + 0x298]
movss dword [rsp + 0x38], xmm12
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], eax
call fcn.18004ba60
xor r9d, r9d
jmp 0x18005a7d5
mov rbx, qword [rbp - 0x70]
test r15b, r15b
je 0x18005a97a
movss xmm0, dword [r14 + 0x18]
addss xmm0, dword [rsi + 0xe80]
movss dword [rsi + 0xe80], xmm0
cmp byte [r14 + 0x7b], r9b
je 0x18005a822
comiss xmm0, xmm12
jbe 0x18005a822
movss xmm1, dword [0x180158514]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
xor r9d, r9d
comiss xmm0, dword [0x1801584c4]
jbe 0x18005a822
mov cl, r9b
lea esi, [r9 + 1]
jmp 0x18005a82a
mov esi, 1
mov cl, sil
movss xmm0, dword [rbp - 0x5c]
addss xmm0, xmm15
addss xmm13, dword [rbp - 0x60]
subss xmm13, xmm10
cvttss2si eax, xmm13
movd xmm6, eax
cvtdq2ps xmm6, xmm6
cvttss2si eax, xmm0
movss dword [rsp + 0x78], xmm6
movaps xmm3, xmm6
addss xmm3, xmm11
movd xmm7, eax
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x80], xmm3
movaps xmm1, xmm7
movaps xmm2, xmm7
subss xmm1, dword [r14 + 0x3c28]
subss xmm2, dword [0x180158534]
addss xmm1, xmm8
movss dword [rbp - 0x7c], xmm2
movss dword [rsp + 0x7c], xmm1
test cl, cl
je 0x18005a926
movss xmm0, dword [rbp - 0x4c]
comiss xmm0, xmm2
jae 0x18005a926
movss xmm0, dword [rbp - 0x44]
comiss xmm0, xmm1
jbe 0x18005a926
movss xmm0, dword [rbp - 0x50]
comiss xmm0, xmm3
jae 0x18005a926
movss xmm0, dword [rbp - 0x48]
comiss xmm0, xmm6
jbe 0x18005a926
mov rax, qword [0x1801aa2e0]
lea rcx, [rbp - 0x30]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm2
movdqu xmm0, xmmword [rax + 0x38d0]
movups xmmword [rbp - 0x30], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x37f4]
movss dword [rbp - 0x24], xmm0
call fcn.18003358c
mov rcx, qword [rbx + 0x298]
lea rdx, [rsp + 0x78]
mov r9d, eax
movss dword [rsp + 0x20], xmm11
lea r8, [rbp + 0x1b8]
call fcn.18004a0e8
xor r9d, r9d
movss xmm9, dword [rbp - 0x64]
movss xmm13, dword [rbp - 0x58]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x64]
cmp byte [rsp + 0x5c], r9b
jne 0x18005a991
movss xmm0, dword [r14 + 0x3c28]
subss xmm6, xmm11
subss xmm7, xmm0
movss dword [r14 + 0x5ba4], xmm0
mov byte [r14 + 0x5b98], sil
movss dword [r14 + 0x5b9c], xmm6
movss dword [r14 + 0x5ba0], xmm7
jmp 0x18005a991
movss xmm9, dword [rbp - 0x64]
movss xmm13, dword [rbp - 0x58]
movss xmm15, dword [rbp - 0x38]
mov r15d, dword [rsp + 0x64]
movss xmm6, dword [rbp + 0x1e0]
mov ebx, dword [rbp - 0x74]
test bl, bl
je 0x18005a9a8
call fcn.18003cd98
xor r9d, r9d
test r13b, r13b
je 0x18005aa3b
addss xmm14, dword [r14 + 0x3834]
lea rcx, [rbp + 0x1b8]
movss dword [rbp + 0x1b8], xmm6
movss dword [rbp + 0x1bc], xmm14
call fcn.180053934
mov ebx, dword [r14 + 0x4748]
mov eax, ebx
or eax, 0x401
mov dword [r14 + 0x4748], eax
call fcn.180038564
mov eax, dword [r14 + 0x476c]
mov esi, dword [rbp + 0x88]
and eax, 0x80
or esi, eax
mov dword [r14 + 0x4748], ebx
call fcn.18003fa70
mov ebx, dword [rbp - 0x74]
xor r9d, r9d
cmp dword [r14 + 0x4764], r9d
jne 0x18005aa3b
mov eax, dword [rbp + 0x84]
mov dword [r14 + 0x4768], eax
mov dword [r14 + 0x4764], r15d
mov dword [r14 + 0x476c], esi
cmp byte [r14 + 0x5c50], r9b
je 0x18005aa7a
test bl, bl
jne 0x18005aa7a
mov rax, qword [0x1801aa2e0]
lea rcx, [0x1800efbc4]
mov r8, rdi
mov rdx, r12
mov qword [rax + 0x5c70], rcx
lea rcx, [0x1800efbc0]
mov qword [rax + 0x5c78], rcx
lea rcx, [rbp - 0x60]
call fcn.1800443f8
comiss xmm15, xmm12
jbe 0x18005aab0
addss xmm13, dword [r14 + 0x3848]
addss xmm9, dword [r14 + 0x3834]
mov rdx, qword [rbp + 0x1b0]
mov r9d, 1
xor r8d, r8d
unpcklps xmm13, xmm9
movq rcx, xmm13
call fcn.180033d3c
movzx r9d, byte [rsp + 0x50]
mov r8d, dword [rbp + 0x1d8]
test r9b, r9b
je 0x18005aad1
bt r8d, 0x1b
jb 0x18005aad1
mov ecx, r15d
call fcn.180035528
movzx ecx, byte [rsp + 0x59]
test r8b, 0x20
mov eax, r9d
cmovne eax, ecx
jmp 0x1800580cf