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

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xa8]
sub rsp, 0x1a8
mov rax, qword [0x14004d010]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, qword [0x14004d9c0]
mov qword [rbp - 0x70], r8
mov rsi, rbx
mov qword [rsp + 0x60], rbx
mov rax, qword [rbx + 0x4000]
mov byte [rax + 0xc0], 1
mov rdi, qword [rbx + 0x4000]
mov qword [rbp - 0x38], rdi
cmp byte [rdi + 0xc3], 0
je 0x14003994e
xor al, al
jmp 0x14003c213
movsxd rcx, dword [rdi + 0x100]
xor edx, edx
mov rax, qword [rdi + 0x108]
mov qword [rsp + 0x1d0], r12
mov qword [rsp + 0x1d8], r13
mov qword [rsp + 0x1e8], r14
lea r14, str.How_many_orbs_to_add
mov r8d, dword [rax + rcx*4 - 4]
mov rcx, r14
mov qword [rsp + 0x1a0], r15
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
movaps xmmword [rsp + 0x130], xmm12
movaps xmmword [rsp + 0x120], xmm13
movaps xmmword [rsp + 0x110], xmm14
movaps xmmword [rsp + 0x100], xmm15
call fcn.140009b90
mov rcx, qword [rdi]
mov r12d, eax
mov dword [rbp - 0x80], eax
cmp dword [rcx + 0x404c], eax
jne 0x140039a11
mov r8, r14
mov edx, 0xb
mov ecx, eax
call fcn.140020a50
mov rbx, qword [0x14004d9c0]
mov rcx, r14
cmp r14, 0xffffffffffffffff
jae 0x140039a3d
nop word [rax + rax]
movzx edx, byte [rcx]
test dl, dl
je 0x140039a3d
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140039a34
cmp byte [rax], dl
je 0x140039a3d
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140039a20
movss xmm0, dword [rbx + 0x3d38]
xorps xmm15, xmm15
movss xmm1, dword [0x140045908]
cmp r14, rcx
jne 0x140039a5c
xorps xmm11, xmm11
jmp 0x140039aa9
movss xmm3, dword [0x1400458fc]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x30], rcx
movaps xmm2, xmm0
mov rcx, qword [rbx + 0x3d30]
mov qword [rsp + 0x28], r14
movss dword [rsp + 0x20], xmm1
call fcn.140031f70
movss xmm0, dword [rsp + 0x78]
addss xmm0, dword [0x140045850]
cvttss2si eax, xmm0
movss xmm0, dword [rsp + 0x7c]
movd xmm11, eax
cvtdq2ps xmm11, xmm11
movss xmm6, dword [rsi + 0x3928]
movaps xmm3, xmm6
movss dword [rbp - 0x40], xmm11
addss xmm3, xmm6
addss xmm3, xmm0
call fcn.140019b00
mov rdx, qword [rbp + 0xf0]
lea rcx, [rsp + 0x78]
movaps xmm2, xmm0
mov rdx, qword [rdx]
call fcn.140019b80
comiss xmm11, xmm15
jbe 0x140039af2
movaps xmm1, xmm11
addss xmm1, dword [rsi + 0x393c]
jmp 0x140039af5
xorps xmm1, xmm1
movss xmm10, dword [rdi + 0x114]
lea rcx, [rsp + 0x78]
movss xmm7, dword [rdi + 0x110]
movaps xmm0, xmm10
movss xmm9, dword [rsp + 0x7c]
movaps xmm12, xmm7
movss xmm8, dword [rsp + 0x78]
addss xmm0, xmm9
addss xmm1, xmm8
movss dword [rbp - 0x64], xmm7
addss xmm12, xmm8
movss dword [rsp + 0x70], xmm10
movss dword [rbp - 0x7c], xmm9
movss dword [rbp - 0x28], xmm7
movss dword [rbp - 0x1c], xmm0
movaps xmm0, xmm10
addss xmm1, xmm7
movss dword [rbp - 0x24], xmm10
addss xmm0, xmm9
movss dword [rbp - 0x30], xmm12
movss dword [rbp - 0x20], xmm12
subss xmm1, xmm7
subss xmm0, xmm10
movss dword [rsp + 0x78], xmm1
movaps xmm1, xmm6
movss dword [rsp + 0x7c], xmm0
call fcn.1400198e0
mov r8d, dword [rsi + 0x49ac]
lea rcx, [rbp - 0x28]
mov edx, r12d
call fcn.14000dc00
mov byte [rsp + 0x55], al
mov ecx, 1
mov rdx, rsi
test al, al
je 0x140039bb1
mov dword [rsi + 0x4ed8], ecx
mov rdi, qword [0x14004d9c0]
xor r9d, r9d
test r12d, r12d
je 0x140039bd2
cmp dword [rdi + 0x4ef0], r12d
jne 0x140039bd2
add rdi, 0x4ee8
jmp 0x140039bd5
mov rdi, r9
mov ecx, dword [rdx + 0x49ac]
mov r8d, 0x80
and ecx, r8d
shl ecx, 7
or ecx, 0x18000010
mov dword [rbp - 0x60], ecx
shr ecx, 0xe
mov dword [rbp - 0x78], ecx
cmp dword [rdx + 0x4064], r12d
je 0x140039c1f
cmp dword [rdx + 0x4b38], r12d
jne 0x140039c1f
test byte [rdx + 0x4b44], 1
jne 0x140039c1a
cmp dword [rdx + 0x4b5c], 2
jne 0x140039c1f
mov r14b, 1
jmp 0x140039c22
xor r14b, r14b
mov byte [rsp + 0x51], r14b
test al, al
je 0x140039c38
cmp byte [rdx + 0x3860], r9b
je 0x140039c38
mov bl, 1
jmp 0x140039c3a
xor bl, bl
xor r13b, r13b
mov byte [rsp + 0x53], bl
mov byte [rbp - 0x68], r9b
test rdi, rdi
je 0x140039c55
cmp byte [rdi + 0x6b], 1
je 0x140039c55
mov r15b, 1
jmp 0x140039c58
xor r15b, r15b
test bl, bl
jne 0x140039c68
test r14b, r14b
jne 0x140039c68
mov byte [rsp + 0x52], r9b
jmp 0x140039c76
mov byte [rsp + 0x52], 1
cmp dword [rdx + 0x4064], r12d
jne 0x140039c7f
test r15b, r15b
je 0x140039e8a
lea rdi, [rdx + 0x4ee8]
mov dword [rdi + 0xe80], 0xbe99999a
mov ecx, dword [rdi + 8]
call fcn.140039810
mov r13, qword [rbp - 0x70]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rbx + r13], 0
jne 0x140039ca3
mov ecx, dword [rdi + 0x3c]
lea esi, [rbx + 1]
cmp esi, ecx
jle 0x140039cdb
test ecx, ecx
je 0x140039cc6
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140039ccb
mov eax, 8
cmp eax, esi
lea rcx, [rdi + 0x38]
mov edx, esi
cmovg edx, eax
call fcn.140021a10
mov dword [rdi + 0x38], esi
mov rdx, r13
mov rcx, qword [rdi + 0x40]
movsxd r8, esi
call sub.VCRUNTIME140.dll_memcpy
cmp dword [rdi + 8], r12d
jne 0x140039d1a
test r15b, r15b
jne 0x140039d1a
mov r12b, 1
cmp dword [rdi + 0x10], ebx
jne 0x140039d1a
cmp byte [rdi + 0x48], r15b
je 0x140039d1d
mov rcx, qword [rdi + 0x30]
mov rdx, r13
movsxd r8, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncmp]
test eax, eax
je 0x140039d1d
xor r12b, r12b
mov edx, dword [rbp - 0x80]
mov dword [rdi + 8], edx
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x140039d52
test ecx, ecx
je 0x140039d3a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140039d3f
mov eax, 8
mov edx, 0x21
lea rcx, [rdi + 0x18]
cmp eax, edx
cmovg edx, eax
call fcn.140021af0
mov dword [rdi + 0x18], 0x21
mov ecx, dword [rdi + 0x2c]
test ecx, ecx
jns 0x140039d7b
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
mov edx, ecx
test eax, eax
lea rcx, [rdi + 0x28]
cmovg edx, eax
call fcn.140021a10
xor r9d, r9d
mov rsi, r13
mov dword [rdi + 0x28], r9d
mov r15, qword [rdi + 0x20]
mov byte [rdi + 0x48], r9b
mov rbx, r15
lea r14, [r15 + 0x3e]
cmp r15, r14
jae 0x140039dcf
nop dword [rax]
cmp byte [rsi], 0
je 0x140039dcc
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.140009ed0
movsxd rcx, eax
movzx eax, word [rsp + 0x78]
add rsi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x140039da0
xor r9d, r9d
mov word [rbx], r9w
sub esi, r13d
sub rbx, r15
mov dword [rdi + 0x10], esi
sar rbx, 1
mov dword [rdi + 0xc], ebx
test r12b, r12b
je 0x140039e0b
cmp dword [rdi + 0x54], ebx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], ebx
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], ebx
mov dword [rdi + 0x58], ecx
cmovl ebx, dword [rdi + 0x5c]
mov dword [rdi + 0x5c], ebx
jmp 0x140039e50
mov qword [rdi + 0x50], 0
mov dword [rdi + 0xe72], 0x630000
mov dword [rdi + 0xe78], r9d
mov dword [rdi + 0xe7c], 0x3e7
mov qword [rdi + 0x58], 0
mov word [rdi + 0x69], 1
mov dword [rdi + 0x70], r9d
mov byte [rdi + 0x68], 0
mov byte [rdi + 0x6b], 1
mov byte [rdi + 0x60], 0
mov dword [rdi + 0x64], r9d
movzx r14d, byte [rsp + 0x51]
mov r13b, 1
test r14b, r14b
je 0x140039e68
test r12b, r12b
je 0x140039e68
mov rsi, qword [rsp + 0x60]
movzx ebx, byte [rsp + 0x53]
mov rdx, qword [rsp + 0x60]
test bl, bl
je 0x140039e8a
cmp byte [rdx + 0xe5c], 0
mov eax, 1
movzx r13d, r13b
cmovne r13d, eax
movzx ecx, byte [rdx + 0x59]
mov r15d, dword [rbp - 0x80]
movzx esi, byte [rsp + 0x52]
mov byte [rsp + 0x5c], cl
cmp dword [rdx + 0x4064], r15d
je 0x140039ee4
test sil, sil
je 0x140039ed7
mov r12, qword [rbp - 0x38]
mov ecx, r15d
mov rdx, r12
call fcn.14000d980
mov rdx, r12
mov ecx, r15d
call fcn.14001b040
xor edx, edx
mov rcx, r12
call fcn.140016400
movzx ecx, byte [rsp + 0x5c]
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x140039fd1
test bl, bl
je 0x140039f06
mov rax, qword [0x14004d9c0]
mov dword [rax + 0x478c], r15d
mov dword [rax + 0x4788], r15d
mov word [rax + 0x4790], 0
or dword [rdx + 0x4968], 3
mov rax, qword [0x14004d9c0]
mov dword [rax + 0x4174], r15d
mov dword [rax + 0x4170], r15d
mov word [rax + 0x4178], 0
mov dword [rax + 0x463c], r15d
mov dword [rax + 0x4638], r15d
mov word [rax + 0x4640], 0
mov dword [rax + 0x412c], r15d
mov dword [rax + 0x4128], r15d
mov word [rax + 0x4130], 0
mov dword [rax + 0x4138], r15d
mov dword [rax + 0x4134], r15d
mov word [rax + 0x413c], 0
test cl, cl
je 0x140039f8b
mov dword [rax + 0x47f8], r15d
mov dword [rax + 0x47f4], r15d
mov word [rax + 0x47fc], 0
cmp dword [rdx + 0x4064], r15d
jne 0x140039fd1
test rdi, rdi
jne 0x140039fa7
xor edx, edx
xor ecx, ecx
call fcn.14000d980
mov rdx, qword [rsp + 0x60]
cmp dword [rdx + 0x4064], r15d
jne 0x140039fd1
cmp byte [rdx + 0x3860], 0
je 0x140039fcd
mov eax, dword [rbp - 0x68]
test sil, sil
movzx eax, al
mov ecx, 1
cmove eax, ecx
mov dword [rbp - 0x68], eax
mov cl, 1
jmp 0x140039fd3
xor cl, cl
mov byte [rsp + 0x50], cl
test rdi, rdi
je 0x140039ff2
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x140039fe9
test r13b, r13b
je 0x140039ff2
test cl, cl
je 0x140039ff2
mov r8b, 1
jmp 0x140039ff5
xor r8b, r8b
cmp byte [rbp - 0x78], 0
mov dword [rsp + 0x58], r8d
movzx r12d, r8b
mov byte [rsp + 0x52], 0
je 0x14003a0f7
test rdi, rdi
je 0x14003a0f7
test cl, cl
jne 0x14003a023
test r8b, r8b
je 0x14003a100
mov ecx, dword [rdi + 0x1c]
cmp ecx, 0x21
jge 0x14003a052
test ecx, ecx
je 0x14003a03a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003a03f
mov eax, 8
mov edx, 0x21
lea rcx, [rdi + 0x18]
cmp eax, edx
cmovg edx, eax
call fcn.140021af0
mov rax, qword [rbp - 0x70]
mov dword [rdi + 0x18], 0x21
mov rsi, rax
mov r15, qword [rdi + 0x20]
mov rbx, r15
lea r14, [r15 + 0x40]
cmp r15, r14
jae 0x14003a0a0
cmp byte [rsi], 0
je 0x14003a09c
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.140009ed0
movsxd rcx, eax
movzx eax, word [rsp + 0x78]
add rsi, rcx
mov word [rbx], ax
add rbx, 2
cmp rbx, r14
jb 0x14003a070
mov rax, qword [rbp - 0x70]
movzx r14d, byte [rsp + 0x51]
xor edx, edx
mov word [rbx], dx
sub esi, eax
sub rbx, r15
mov dword [rdi + 0x10], esi
mov r15d, dword [rbp - 0x80]
mov r8d, edx
mov rdx, qword [rsp + 0x60]
sar rbx, 1
cmp dword [rdi + 0x54], ebx
mov ecx, ebx
mov dword [rdi + 0xc], ebx
cmovl ecx, dword [rdi + 0x54]
cmp dword [rdi + 0x58], ebx
mov dword [rdi + 0x54], ecx
mov ecx, ebx
cmovl ecx, dword [rdi + 0x58]
cmp dword [rdi + 0x5c], ebx
mov dword [rdi + 0x58], ecx
cmovl ebx, dword [rdi + 0x5c]
cmp ecx, ebx
mov dword [rdi + 0x5c], ebx
movzx ecx, byte [rsp + 0x50]
cmovne r8d, r12d
mov dword [rsp + 0x58], r8d
test cl, cl
jne 0x14003a109
test r8b, r8b
jne 0x14003a109
cmp dword [rdx + 0x4064], r15d
jne 0x14003a124
mov r12d, dword [rbp - 0x78]
test r12b, r12b
jne 0x14003a128
test rdi, rdi
je 0x14003a128
cmp byte [rdi + 0x48], r12b
je 0x14003a128
mov byte [rsp + 0x6c], 1
jmp 0x14003a12d
mov r12d, dword [rbp - 0x78]
mov byte [rsp + 0x6c], 0
mov esi, 0x20000c
movss xmm0, dword [0x140045824]
cmp dword [rdx + 0x4064], r15d
jne 0x14003a55c
mov eax, dword [rbp - 0x60]
mov dword [rdi + 0xe88], eax
mov byte [rdi + 0xe86], 0
mov dword [rdi + 0x4c], 0x20
cmp byte [rdx + 0xe48], 0
movss xmm2, dword [rdx + 0x3d38]
sete al
mulss xmm2, xmm0
mov byte [rdx + 0x4071], al
test r13b, r13b
movss xmm6, dword [rdx + 0xe40]
mov r13, qword [rsp + 0x60]
subss xmm6, xmm7
subss xmm6, dword [rdx + 0x3924]
addss xmm6, dword [rdi + 0x50]
je 0x14003a1ba
mov eax, dword [rdi + 0xc]
xor ecx, ecx
mov dword [rdi + 0x58], ecx
mov byte [rdi + 0x6a], cl
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe85], 1
jmp 0x14003a44b
movzx ecx, byte [rsp + 0x55]
test cl, cl
je 0x14003a332
cmp word [r13 + 0x386a], 2
jb 0x14003a332
cmp byte [r13 + 0xe5d], 0
jne 0x14003a332
cmp byte [rdi + 0x6b], 0
je 0x14003a1fe
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.140037780
movss xmm2, dword [rbp - 0x4c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140037d20
mov dword [rdi + 0x54], eax
mov edx, eax
mov dword [rdi + 0x58], eax
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x6a], 0
test byte [r13 + 0x386a], 1
jne 0x14003a2ce
test eax, eax
je 0x14003a23e
dec eax
movsxd rcx, eax
mov rax, qword [rdi + 0x20]
cmp word [rax + rcx*2], 0xa
je 0x14003a23e
xor cl, cl
jmp 0x14003a240
mov cl, 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a24c
test cl, cl
jne 0x14003a26f
mov r8d, esi
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov edx, dword [rdi + 0x54]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a289
cmp dword [rdi + 0x58], eax
jne 0x14003a284
mov dword [rdi + 0x5c], edx
mov dword [rdi + 0x58], edx
jmp 0x14003a289
mov dword [rdi + 0x54], eax
mov edx, eax
mov rcx, rdi
call fcn.140037960
mov dword [rdi + 0x54], eax
mov dword [rdi + 0x5c], eax
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0xc]
cmp ecx, edx
je 0x14003a2bd
cmp ecx, eax
jle 0x14003a2ad
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x14003a2b6
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x14003a2bd
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x14003a441
mov dword [rdi + 0x54], eax
jmp 0x14003a441
mov r8d, 0x200004
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400381d0
mov r8d, 0x600005
mov byte [rdi + 0xe84], 1
lea rdx, [rdi + 0x54]
mov dword [rdi + 0xe80], 0xbe99999a
mov rcx, rdi
call fcn.1400381d0
mov r8d, 0x600001
mov byte [rdi + 0xe84], 1
lea rdx, [rdi + 0x54]
mov dword [rdi + 0xe80], 0xbe99999a
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 0
jmp 0x14003a441
cmp byte [r13 + 0x3860], 0
movzx eax, byte [rdi + 0xe85]
je 0x14003a3d1
test al, al
jne 0x14003a3d1
test cl, cl
je 0x14003a44b
cmp byte [r13 + 0xe5d], al
je 0x14003a39d
cmp byte [rdi + 0x6b], al
je 0x14003a379
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.140037780
movss xmm2, dword [rbp - 0x4c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a387
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140037d20
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x14003a441
cmp byte [rdi + 0x6b], 0
je 0x14003a3b7
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.140037780
movss xmm2, dword [rbp - 0x4c]
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140037d20
mov dword [rdi + 0x58], eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x14003a441
cmp byte [r13 + 0xe48], 0
je 0x14003a44b
test al, al
jne 0x14003a44b
movss xmm0, dword [r13 + 0xe8]
ucomiss xmm0, xmm15
jp 0x14003a401
jne 0x14003a401
movss xmm0, dword [r13 + 0xec]
ucomiss xmm0, xmm15
jp 0x14003a401
je 0x14003a44b
cmp byte [rdi + 0x6b], 0
je 0x14003a41b
xor r8d, r8d
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.140037780
movss xmm2, dword [rbp - 0x4c]
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003a429
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x58], eax
movaps xmm1, xmm6
mov rcx, rdi
call fcn.140037d20
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
cmp byte [rdi + 0xe85], 0
je 0x14003a465
cmp byte [r13 + 0xe48], 0
jne 0x14003a465
mov byte [rdi + 0xe85], 0
cmp byte [r13 + 0xe5c], 0
je 0x14003a479
cmp byte [r13 + 0xe5e], 0
je 0x14003a48a
cmp byte [rsp + 0x5c], 0
je 0x14003a48e
cmp byte [r13 + 0xe5f], 0
je 0x14003a48e
mov al, 1
jmp 0x14003a490
xor al, al
cmp dword [r13 + 0x38d8], 0
jle 0x14003a561
test al, al
jne 0x14003a528
test r12b, r12b
jne 0x14003a528
test r14b, r14b
jne 0x14003a528
mov r15d, dword [rbp - 0x60]
xor r14d, r14d
mov esi, r14d
mov ebx, r14d
mov rax, qword [r13 + 0x38e0]
movzx ecx, word [rax + rbx]
mov dword [rsp + 0x78], ecx
cmp ecx, 9
je 0x14003a513
mov r8d, r15d
mov dword [rsp + 0x28], 2
lea rdx, [rsp + 0x78]
mov rcx, r13
call fcn.1400395d0
test al, al
je 0x14003a513
mov r8d, dword [rsp + 0x78]
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
inc esi
add rbx, 2
cmp esi, dword [r13 + 0x38d8]
jl 0x14003a4c1
mov r15d, dword [rbp - 0x80]
jmp 0x14003a52b
xor r14d, r14d
mov ecx, dword [r13 + 0x38dc]
test ecx, ecx
jns 0x14003a553
mov eax, ecx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, ecx
lea rcx, [r13 + 0x38d8]
test eax, eax
cmovg edx, eax
call fcn.140021af0
mov dword [r13 + 0x38d8], r14d
jmp 0x14003a561
mov r13, qword [rsp + 0x60]
xor cl, cl
mov byte [rsp + 0x55], cl
cmp dword [r13 + 0x4064], r15d
jne 0x14003b25b
cmp byte [r13 + 0x4070], cl
jne 0x14003b25b
cmp byte [rbp - 0x68], cl
jne 0x14003b25b
movzx esi, byte [rsp + 0x5c]
movaps xmm0, xmm9
subss xmm0, dword [r13 + 0x3928]
mov ecx, 1
divss xmm0, dword [r13 + 0x3d38]
cvttss2si eax, xmm0
cmp eax, ecx
cmovge ecx, eax
mov dword [rdi + 0x64], ecx
movzx eax, byte [r13 + 0xe5d]
neg al
sbb r14d, r14d
and r14d, 0x400000
test sil, sil
je 0x14003a5fa
cmp byte [r13 + 0xe5f], 0
movzx eax, byte [r13 + 0xe5e]
mov byte [rsp + 0x54], al
je 0x14003a606
cmp byte [r13 + 0xe5c], 0
jne 0x14003a606
test al, al
jne 0x14003a606
mov byte [rsp + 0x53], 1
jmp 0x14003a60b
movzx eax, byte [r13 + 0xe5c]
mov byte [rsp + 0x54], al
mov byte [rsp + 0x53], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a631
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a631
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa39
call fcn.140017420
test al, al
je 0x14003a65d
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa39
call fcn.140019660
test al, al
jne 0x14003a6af
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a683
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a683
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x220a
call fcn.140017420
test al, al
je 0x14003a6b9
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x220a
call fcn.140019660
test al, al
je 0x14003a6b9
mov byte [rsp + 0x51], 1
test r12b, r12b
je 0x14003a6be
mov byte [rsp + 0x51], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a6e4
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a6e4
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.140017420
test al, al
je 0x14003a710
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa24
call fcn.140019660
test al, al
jne 0x14003a762
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a736
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a736
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.140017420
test al, al
je 0x14003a769
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0x1209
call fcn.140019660
test al, al
je 0x14003a769
mov byte [rsp + 0x6a], 1
jmp 0x14003a76e
mov byte [rsp + 0x6a], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a794
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a794
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa37
call fcn.140017420
test al, al
je 0x14003a7c0
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa37
call fcn.140019660
test al, al
jne 0x14003a812
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a7e6
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a7e6
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2209
call fcn.140017420
test al, al
je 0x14003a81c
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2209
call fcn.140019660
test al, al
je 0x14003a81c
mov byte [rsp + 0x6b], 1
test r12b, r12b
je 0x14003a821
mov byte [rsp + 0x6b], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a847
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a847
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3b
call fcn.140017420
test al, al
je 0x14003a87d
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3b
call fcn.140019660
test al, al
je 0x14003a87d
mov byte [rsp + 0x68], 1
test r12b, r12b
je 0x14003a882
mov byte [rsp + 0x68], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a8a8
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a8a8
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0xa3a
call fcn.140017420
test al, al
je 0x14003a8d4
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0xa3a
call fcn.140019660
test al, al
jne 0x14003a92b
test sil, sil
je 0x14003a935
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a8ff
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a8ff
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x2a3b
call fcn.140017420
test al, al
je 0x14003a935
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x2a3b
call fcn.140019660
test al, al
je 0x14003a935
mov byte [rsp + 0x69], 1
test r12b, r12b
je 0x14003a93a
mov byte [rsp + 0x69], 0
lea eax, [r15 + 1]
mov ebx, r15d
test eax, 0xfffffffe
jne 0x14003a960
mov rcx, qword [0x14004d9c0]
lea eax, [r15 + 1]
test eax, 0xfffffffe
jne 0x14003a960
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.140017420
test al, al
jne 0x14003a97b
xor r13b, r13b
jmp 0x14003a993
mov r8d, 0x1000
mov edx, ebx
mov ecx, 0xa22
call fcn.140019660
test al, al
setne r13b
mov rsi, qword [rsp + 0x60]
test byte [rsi + 8], 2
je 0x14003a9a9
test byte [rsi + 0xc], 1
je 0x14003a9a9
mov sil, 1
jmp 0x14003a9ac
xor sil, sil
mov ebx, 1
xor edx, edx
mov r8d, ebx
mov ecx, 0x20d
call fcn.1400176f0
test al, al
jne 0x14003a9dc
mov r8d, ebx
xor edx, edx
mov ecx, 0x273
call fcn.1400176f0
test al, al
jne 0x14003a9dc
xor r12b, r12b
jmp 0x14003a9e0
movzx r12d, bl
test sil, sil
je 0x14003aa11
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.1400176f0
test al, al
jne 0x14003aa0b
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.1400176f0
test al, al
je 0x14003aa11
movzx r15d, bl
jmp 0x14003aa14
xor r15b, r15b
mov edx, dword [rbp - 0x80]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x14003aa3a
mov rcx, qword [0x14004d9c0]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x14003aa3a
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x20e
call fcn.140017420
test al, al
je 0x14003aa66
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x20e
call fcn.140019660
test al, al
jne 0x14003aabd
test sil, sil
je 0x14003aac1
mov edx, dword [rbp - 0x80]
mov ebx, edx
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x14003aa91
mov rcx, qword [0x14004d9c0]
lea eax, [rdx + 1]
test eax, 0xfffffffe
jne 0x14003aa91
mov ebx, dword [rcx + 0x4978]
mov r8d, 0x1001
mov edx, ebx
mov ecx, 0x27a
call fcn.140017420
test al, al
je 0x14003aac1
mov r8d, 0x1021
mov edx, ebx
mov ecx, 0x27a
call fcn.140019660
test al, al
je 0x14003aac1
mov bl, 1
jmp 0x14003aac3
xor bl, bl
mov esi, 1
xor edx, edx
mov r8d, esi
mov ecx, 0x201
call fcn.1400176f0
test al, al
je 0x14003ab4b
cmp byte [rsp + 0x53], 0
je 0x14003aae9
mov eax, 0x200004
jmp 0x14003aafb
cmp byte [rsp + 0x54], 0
mov eax, 0x200000
mov ecx, 0x20000c
cmovne eax, ecx
or r14d, eax
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
movzx r8d, byte [rsp + 0x50]
mov edx, dword [rsp + 0x58]
xor cl, cl
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x14003b24f
test r8b, r8b
je 0x14003b24f
mov al, 1
jmp 0x14003b251
mov r8d, esi
xor edx, edx
mov ecx, 0x202
call fcn.1400176f0
test al, al
je 0x14003ab89
cmp byte [rsp + 0x53], 0
je 0x14003ab6f
mov ecx, 0x200005
or r14d, ecx
jmp 0x14003aafe
cmp byte [rsp + 0x54], 0
mov ecx, 0x200001
mov eax, 0x20000d
cmovne ecx, eax
or r14d, ecx
jmp 0x14003aafe
mov r8d, esi
xor edx, edx
mov ecx, 0x203
call fcn.1400176f0
mov r8d, esi
xor edx, edx
mov ecx, 0x204
call fcn.1400176f0
mov r8d, esi
xor edx, edx
mov ecx, 0x205
call fcn.1400176f0
mov r8d, esi
xor edx, edx
mov ecx, 0x206
call fcn.1400176f0
mov r8d, esi
xor edx, edx
mov ecx, 0x207
call fcn.1400176f0
test al, al
je 0x14003ac1d
mov r13, qword [rsp + 0x60]
mov eax, r14d
or eax, 0x200006
or r14d, 0x200004
cmp byte [r13 + 0xe5c], 0
cmovne r14d, eax
mov r8d, r14d
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], sil
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x14003ab23
mov r8d, esi
xor edx, edx
mov ecx, 0x208
call fcn.1400176f0
test al, al
je 0x14003ac54
mov r13, qword [rsp + 0x60]
mov eax, r14d
or eax, 0x200007
mov r8d, 0x200005
or r8d, r14d
cmp byte [r13 + 0xe5c], 0
cmovne r8d, eax
jmp 0x14003abfb
mov r8d, esi
xor edx, edx
mov ecx, 0x20a
call fcn.1400176f0
movzx esi, byte [rsp + 0x51]
test al, al
je 0x14003accb
cmp byte [rbp - 0x78], 0
jne 0x14003accb
test sil, sil
jne 0x14003accb
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003aca9
cmp byte [rsp + 0x54], sil
je 0x14003aca9
lea rdx, [rdi + 0x54]
mov r8d, 0x60000d
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
or r14d, 0x200008
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
jmp 0x14003ab14
xor edx, edx
mov ecx, 0x20b
lea r8d, [rdx + 1]
call fcn.1400176f0
test al, al
je 0x14003ad9f
cmp byte [rbp - 0x78], 0
jne 0x14003ad9f
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003ad1f
cmp byte [rsp + 0x54], 0
je 0x14003ad50
lea rdx, [rdi + 0x54]
mov r8d, 0x60000c
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
mov r13, qword [rsp + 0x60]
or r14d, 0x200009
lea rdx, [rdi + 0x54]
mov r8d, r14d
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x14003ab23
cmp byte [rsp + 0x5c], 0
je 0x14003ad1f
mov r13, qword [rsp + 0x60]
cmp byte [r13 + 0xe5f], 0
je 0x14003ad24
cmp byte [r13 + 0xe5e], 0
jne 0x14003ad24
cmp byte [r13 + 0xe5c], 0
jne 0x14003ad24
lea rdx, [rdi + 0x54]
mov r8d, 0x600004
mov rcx, rdi
call fcn.1400381d0
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x14003ad24
test r12b, r12b
jne 0x14003b219
test r15b, r15b
jne 0x14003b219
test bl, bl
je 0x14003add2
mov r13, qword [rsp + 0x60]
mov cl, 1
xor dl, dl
mov byte [rsp + 0x55], cl
xor r8b, r8b
mov byte [rbp - 0x68], cl
mov byte [rsp + 0x50], r8b
jmp 0x14003ab2f
movzx eax, byte [rsp + 0x68]
test al, al
jne 0x14003b1e0
cmp byte [rsp + 0x69], al
jne 0x14003b1e0
test r13b, r13b
je 0x14003ae0c
xor eax, eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
jmp 0x14003ab1e
test sil, sil
jne 0x14003affc
cmp byte [rsp + 0x6a], sil
jne 0x14003affc
cmp byte [rsp + 0x6b], sil
je 0x14003ab1e
mov rcx, qword [0x14004d9c0]
mov rax, qword [rcx + 0xa8]
test rax, rax
je 0x14003ae55
mov rcx, qword [rcx + 0xb8]
call rax
mov rbx, rax
test rax, rax
je 0x14003ab1e
jmp 0x14003ae5c
lea rbx, [0x14003f798]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x14003ae63
movsxd rcx, eax
lea rcx, [rcx*2 + 2]
call fcn.14000dde0
mov r13, qword [rsp + 0x60]
xor r12d, r12d
mov r15, rax
mov qword [rbp - 0x58], rax
mov r14d, r12d
cmp byte [rbx], r12b
je 0x14003aeea
mov r15d, dword [rbp - 0x60]
mov rsi, rax
nop word [rax + rax]
xor r8d, r8d
lea rcx, [rsp + 0x78]
mov rdx, rbx
call fcn.140009ed0
movsxd rcx, eax
lea rdx, [rsp + 0x78]
add rbx, rcx
mov dword [rsp + 0x28], 4
mov rcx, r13
mov r8d, r15d
call fcn.1400395d0
test al, al
je 0x14003aee1
movzx eax, word [rsp + 0x78]
inc r14d
mov word [rsi], ax
add rsi, 2
cmp byte [rbx], r12b
jne 0x14003aea0
mov r15, qword [rbp - 0x58]
movsxd rax, r14d
mov word [r15 + rax*2], r12w
test r14d, r14d
jle 0x14003af7d
mov edx, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
mov eax, dword [rdi + 0xc]
cmp ecx, edx
je 0x14003af21
cmp ecx, eax
jle 0x14003af11
mov dword [rdi + 0x58], eax
mov ecx, eax
cmp edx, eax
jle 0x14003af1a
mov dword [rdi + 0x5c], eax
mov edx, eax
cmp ecx, edx
jne 0x14003af21
mov dword [rdi + 0x54], ecx
cmp dword [rdi + 0x54], eax
jle 0x14003af29
mov dword [rdi + 0x54], eax
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140038130
mov edx, dword [rdi + 0x54]
mov r9d, r14d
mov r8, r15
mov rcx, rdi
call fcn.140037b90
test al, al
je 0x14003af76
mov esi, dword [rdi + 0x54]
lea rcx, [rdi + 0x74]
xor edx, edx
call fcn.140039030
test rax, rax
je 0x14003af6e
mov dword [rax], esi
mov dword [rax + 4], r12d
mov dword [rax + 8], r14d
mov dword [rax + 0xc], 0xffffffff
add dword [rdi + 0x54], r14d
mov byte [rdi + 0x6a], r12b
mov byte [rdi + 0xe84], 1
test r15, r15
je 0x14003afee
mov r8, qword [0x14004d9c0]
test r8, r8
je 0x14003afee
movsx rdx, word [r8 + 0x60c8]
lea rcx, [r8 + 0x60cc]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x14003afe3
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60c8], cx
movsx rax, cx
lea rcx, [r8 + 0x60cc]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r12d
inc word [rcx + 6]
inc dword [r8 + 0x60c4]
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14003ab23
mov r13, qword [rsp + 0x60]
cmp qword [r13 + 0xb0], 0
je 0x14003b195
mov eax, dword [rdi + 0x5c]
mov ecx, dword [rdi + 0x58]
cmp ecx, eax
je 0x14003b023
mov edx, eax
cmovge eax, ecx
cmovl edx, ecx
jmp 0x14003b02a
xor eax, eax
mov edx, eax
mov eax, dword [rdi + 0xc]
movsxd r14, eax
mov r9d, 0x800
mov rax, qword [rdi + 0x20]
mov r12d, 0x80
movsxd r15, edx
lea r8, [rax + r14*2]
lea rdx, [rax + r15*2]
xor eax, eax
mov ecx, eax
nop dword [rax]
test r8, r8
je 0x14003b05a
cmp rdx, r8
jae 0x14003b07d
movzx eax, word [rdx]
test ax, ax
je 0x14003b07d
add rdx, 2
cmp ax, r12w
jae 0x14003b070
inc ecx
jmp 0x14003b050
cmp ax, r9w
sbb eax, eax
add eax, 3
add ecx, eax
jmp 0x14003b050
lea eax, [rcx + 1]
movsxd rbx, eax
mov rcx, rbx
call fcn.14000dde0
mov rcx, qword [rdi + 0x20]
mov rsi, rax
mov r9, rax
lea r11, [rcx + r14*2]
lea r14, [rax + rbx]
lea rbx, [r14 - 1]
lea r10, [rcx + r15*2]
cmp rax, rbx
jae 0x14003b0f2
nop word [rax + rax]
test r11, r11
je 0x14003b0ba
cmp r10, r11
jae 0x14003b0f2
movzx eax, word [r10]
test ax, ax
je 0x14003b0f2
add r10, 2
mov r8d, eax
cmp eax, r12d
jae 0x14003b0d7
mov byte [r9], r8b
inc r9
jmp 0x14003b0ed
mov edx, r14d
mov rcx, r9
sub edx, r9d
dec edx
call fcn.14000a080
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x14003b0b0
mov r8, qword [0x14004d9c0]
mov byte [r9], 0
mov rax, qword [r8 + 0xb0]
test rax, rax
je 0x14003b11c
mov rcx, qword [r8 + 0xb8]
mov rdx, rsi
call rax
mov r8, qword [0x14004d9c0]
test rsi, rsi
je 0x14003b187
test r8, r8
je 0x14003b187
movsx rdx, word [r8 + 0x60c8]
mov r9d, dword [r8 + 0x3f58]
lea rcx, [rdx*8 + 0x60cc]
add rcx, r8
cmp dword [rcx], r9d
je 0x14003b17c
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x60c8], cx
movsx rax, cx
lea rcx, [rax*8 + 0x60cc]
add rcx, r8
xor eax, eax
mov dword [rcx], r9d
mov dword [rcx + 4], eax
inc word [rcx + 6]
inc dword [r8 + 0x60c4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
movzx esi, byte [rsp + 0x51]
test sil, sil
je 0x14003ab23
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
jne 0x14003b1b8
xor eax, eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
mov byte [rdi + 0xe84], 1
mov eax, dword [rdi + 0x5c]
cmp dword [rdi + 0x58], eax
je 0x14003ab23
lea rdx, [rdi + 0x54]
mov rcx, rdi
call fcn.140038130
mov byte [rdi + 0x6a], 0
jmp 0x14003ab23
mov r8d, eax
lea rdx, [rdi + 0x54]
xor r8d, 1
mov rcx, rdi
add r8d, 0x20000a
call fcn.1400381d0
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x58], eax
mov byte [rdi + 0xe84], 1
mov dword [rdi + 0xe80], 0xbe99999a
jmp 0x14003ab1e
mov r13, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
movzx r8d, byte [rsp + 0x50]
cmp byte [r13 + 0x5c], 0
je 0x14003b246
xor eax, eax
mov byte [rdi + 0x6a], 0
mov dword [rdi + 0x58], eax
mov eax, dword [rdi + 0xc]
mov dword [rdi + 0x5c], eax
mov dword [rdi + 0x54], eax
jmp 0x14003ab2d
mov byte [rbp - 0x68], 1
jmp 0x14003ab2d
xor al, al
mov r15d, dword [rbp - 0x80]
or dl, al
mov dword [rsp + 0x58], edx
xor ebx, ebx
mov r12d, ebx
mov r14d, ebx
cmp dword [r13 + 0x4064], r15d
jne 0x14003b515
mov eax, dword [rbp - 0x78]
test al, al
jne 0x14003b4d3
test cl, cl
je 0x14003b436
mov r9, qword [rdi + 0x40]
mov rax, qword [rbp - 0x70]
mov r8, r9
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003b2a4
inc rax
test ecx, ecx
jne 0x14003b291
test edx, edx
je 0x14003b436
mov r14d, dword [rdi + 0x38]
mov r12, r9
dec r14d
mov qword [rbp - 0x58], r9
mov dword [rbp - 0x60], r14d
mov r15d, ebx
mov byte [rsp + 0x52], 1
mov r13, rbx
test r14d, r14d
jle 0x14003b395
movsxd rbx, r14d
mov rsi, r9
add rbx, r9
xor eax, eax
mov r14d, eax
test rbx, rbx
je 0x14003b2ea
cmp rsi, rbx
jae 0x14003b30a
cmp byte [rsi], r13b
je 0x14003b30a
mov r8, rbx
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.140009ed0
movsxd rcx, eax
add rsi, rcx
inc r14d
jmp 0x14003b2e0
lea r15d, [r14 + 1]
test r15d, r15d
jle 0x14003b334
cmp r15d, 8
mov eax, r15d
mov ecx, 8
cmovl eax, ecx
test eax, eax
jle 0x14003b334
movsxd rcx, eax
add rcx, rcx
call fcn.14000dde0
mov r13, rax
mov rsi, r12
movsxd rcx, r15d
mov r14, r13
lea r12, [rcx*2 - 2]
add r12, r13
cmp r13, r12
jae 0x14003b387
nop dword [rax]
test rbx, rbx
je 0x14003b35a
cmp rsi, rbx
jae 0x14003b387
cmp byte [rsi], 0
je 0x14003b387
mov r8, rbx
lea rcx, [rsp + 0x78]
mov rdx, rsi
call fcn.140009ed0
movsxd rcx, eax
movzx eax, word [rsp + 0x78]
add rsi, rcx
mov word [r14], ax
add r14, 2
cmp r14, r12
jb 0x14003b350
mov r12, qword [rbp - 0x58]
xor ebx, ebx
mov word [r14], bx
mov r14d, dword [rbp - 0x60]
lea r9d, [r15 - 1]
test r14d, r14d
lea rdx, [rdi + 0x54]
mov r8, r13
cmovle r9d, ebx
mov rcx, rdi
call fcn.140039510
test r13, r13
je 0x14003b42d
mov r8, qword [0x14004d9c0]
test r8, r8
je 0x14003b424
movsx r10, word [r8 + 0x60c8]
lea rdx, [r8 + 0x60cc]
mov r9d, dword [r8 + 0x3f58]
lea rdx, [rdx + r10*8]
cmp dword [rdx], r9d
je 0x14003b419
lea ecx, [r10 + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
lea rdx, [r8 + 0x60cc]
sub ecx, eax
mov word [r8 + 0x60c8], cx
movsx rax, cx
lea rdx, [rdx + rax*8]
mov dword [rdx], r9d
mov dword [rdx + 4], 0
inc word [rdx + 6]
inc dword [r8 + 0x60c4]
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov r13, qword [rsp + 0x60]
mov r15d, dword [rbp - 0x80]
mov eax, dword [rdi + 0x18]
mov byte [rdi + 0x48], 1
mov ecx, dword [rdi + 0x2c]
lea ebx, [rax*4 + 1]
cmp ebx, ecx
jle 0x14003b46f
test ecx, ecx
je 0x14003b45a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003b45f
mov eax, 8
cmp eax, ebx
lea rcx, [rdi + 0x28]
mov edx, ebx
cmovg edx, eax
call fcn.140021a10
mov dword [rdi + 0x28], ebx
mov r9, qword [rdi + 0x30]
mov r10, qword [rdi + 0x20]
movsxd r11, ebx
add r11, r9
lea rbx, [r11 - 1]
cmp r9, rbx
jae 0x14003b4ca
nop dword [rax]
movzx eax, word [r10]
test ax, ax
je 0x14003b4ca
add r10, 2
mov r8d, eax
cmp eax, 0x80
jae 0x14003b4af
mov byte [r9], r8b
inc r9
jmp 0x14003b4c5
mov edx, r11d
mov rcx, r9
sub edx, r9d
dec edx
call fcn.14000a080
movsxd rcx, eax
add r9, rcx
cmp r9, rbx
jb 0x14003b490
mov eax, dword [rbp - 0x78]
xor ebx, ebx
mov byte [r9], 0
cmp byte [rsp + 0x55], 0
mov r10, qword [rbp - 0x70]
jne 0x14003b519
test al, al
jne 0x14003b519
mov r9, qword [rdi + 0x30]
mov r8, r10
mov rax, r9
sub r8, r9
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003b503
inc rax
test ecx, ecx
jne 0x14003b4f0
test edx, edx
je 0x14003b519
mov r14d, dword [rdi + 0x10]
mov r12, r9
mov byte [rsp + 0x52], 1
jmp 0x14003b519
mov r10, qword [rbp - 0x70]
cmp dword [r13 + 0x5d78], r15d
jne 0x14003b5d0
cmp dword [r13 + 0x4064], r15d
je 0x14003b5c9
mov rax, qword [0x14004d9c0]
mov ecx, dword [rax + 0x49b0]
test cl, 0x20
je 0x14003b54d
shr ecx, 6
test cl, 1
jmp 0x14003b567
mov edx, dword [rax + 0x49a8]
mov ecx, dword [rax + 0x4090]
cmp ecx, edx
jne 0x14003b5c9
test ecx, ecx
je 0x14003b5c9
cmp dword [rax + 0x4064], edx
je 0x14003b5c9
cmp byte [rax + 0x4095], 0
jne 0x14003b584
cmp dword [rax + 0x4064], 0
jne 0x14003b5c9
cmp byte [rax + 0x4074], 0
je 0x14003b5c9
cmp byte [rbp - 0x78], 0
jne 0x14003b5c9
mov r9, qword [r13 + 0x5d88]
mov r8, r10
mov rax, r9
sub r8, r9
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003b5b3
inc rax
test ecx, ecx
jne 0x14003b5a0
test edx, edx
je 0x14003b5c9
mov r14d, dword [r13 + 0x5d80]
mov r12, r9
dec r14d
mov byte [rsp + 0x52], 1
mov dword [r13 + 0x5d78], ebx
test r12, r12
je 0x14003b617
lea eax, [r14 + 1]
mov ecx, 0x20
cmp eax, 0x20
cmovl ecx, eax
movsxd rbx, ecx
cmp rbx, 1
jb 0x14003b617
jbe 0x14003b60b
mov rdx, r12
lea r8, [rbx - 1]
mov r12, qword [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov byte [r12 + rbx - 1], 0
jmp 0x14003b61b
mov r12, qword [rbp - 0x70]
mov byte [r12 + rbx - 1], 0
jmp 0x14003b61b
mov r12, qword [rbp - 0x70]
cmp dword [r13 + 0x4064], r15d
jne 0x14003b640
cmp byte [rbp - 0x68], 0
je 0x14003b635
xor edx, edx
xor ecx, ecx
call fcn.14000d980
jmp 0x14003b640
mov dword [r13 + 0x6200], 1
mov r8d, 1
lea rcx, [rbp - 0x28]
mov edx, r15d
call fcn.14000b750
mov rax, qword [0x14004d9c0]
lea rcx, [rbp - 0x58]
movups xmm0, xmmword [rax + 0x3a3c]
movups xmmword [rbp - 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e8]
movss dword [rbp - 0x4c], xmm0
call fcn.14000a140
movss xmm0, dword [r13 + 0x392c]
mov r8d, eax
mov rdx, qword [rbp - 0x20]
mov r9b, 1
movss dword [rsp + 0x20], xmm0
movaps xmm0, xmm7
unpcklps xmm0, xmm10
movq rcx, xmm0
call fcn.14000b5b0
cmp byte [rsp + 0x6c], 0
movaps xmm0, xmm7
movss xmm5, dword [rbp - 0x7c]
movaps xmm1, xmm10
addss xmm0, dword [r13 + 0x3924]
addss xmm1, dword [r13 + 0x3928]
addss xmm5, xmm10
movaps xmm13, xmm8
addss xmm13, xmm7
unpcklps xmm0, xmm1
movsd qword [rbp - 0x18], xmm0
movss dword [rbp - 0x7c], xmm5
je 0x14003b6ec
mov r12, qword [rdi + 0x30]
movzx eax, byte [rsp + 0x50]
movss xmm14, dword [0x140045858]
mov ecx, dword [rsp + 0x58]
test al, al
jne 0x14003b85f
test cl, cl
jne 0x14003b85f
cmp dword [r13 + 0x4064], r15d
jne 0x14003b71d
movsxd rsi, dword [rdi + 0x10]
jmp 0x14003b72e
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [r12 + rsi], 0
jne 0x14003b724
add rsi, r12
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x14003bfe9
mov rax, qword [0x14004d9c0]
lea rcx, [rbp - 0x28]
movups xmm0, xmmword [rax + 0x39cc]
movups xmmword [rbp - 0x28], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e8]
movss dword [rbp - 0x1c], xmm0
call fcn.14000a140
mov rdx, qword [rbp - 0x38]
mov r9d, eax
movss xmm2, dword [r13 + 0x3d38]
mov rcx, rsi
mov r8, qword [r13 + 0x3d30]
mov rdx, qword [rdx + 0x2a8]
test eax, 0xff000000
je 0x14003bfe9
test rsi, rsi
jne 0x14003b7bd
mov rcx, 0xffffffffffffffff
nop word [rax + rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14003b7b0
add rcx, r12
cmp r12, rcx
je 0x14003bfe9
test r8, r8
jne 0x14003b7d3
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm15
jp 0x14003b7e4
jne 0x14003b7e4
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
comiss xmm0, xmm7
movups xmmword [rbp - 0x58], xmm0
jae 0x14003b7f9
movss dword [rbp - 0x58], xmm7
movss xmm0, dword [rbp - 0x54]
comiss xmm0, xmm10
jae 0x14003b80a
movss dword [rbp - 0x54], xmm10
comiss xmm13, dword [rbp - 0x50]
ja 0x14003b817
movss dword [rbp - 0x50], xmm13
movss xmm9, dword [rbp - 0x7c]
comiss xmm9, dword [rbp - 0x4c]
ja 0x14003b82a
movss dword [rbp - 0x4c], xmm9
mov byte [rsp + 0x48], 1
lea rax, [rbp - 0x58]
movss dword [rsp + 0x40], xmm15
mov qword [rsp + 0x38], rcx
mov rcx, r8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x18]
call fcn.140032190
jmp 0x14003bfe9
movsxd rsi, dword [rdi + 0x10]
xor r8d, r8d
mov r14, qword [rdi + 0x20]
add rsi, r12
mov r9d, 0xfffffc18
movaps xmm7, xmm15
movaps xmm6, xmm15
mov r10d, r8d
mov r15d, r8d
mov ebx, r9d
mov edx, r8d
test al, al
je 0x14003b89b
movsxd rax, dword [rdi + 0x54]
lea edx, [r8 + 1]
lea r9d, [r8 - 1]
lea r10, [r14 + rax*2]
test cl, cl
je 0x14003b8b7
mov ecx, dword [rdi + 0x5c]
mov ebx, 0xffffffff
cmp dword [rdi + 0x58], ecx
cmovl ecx, dword [rdi + 0x58]
inc edx
movsxd rax, ecx
lea r15, [r14 + rax*2]
mov ecx, r8d
mov rax, r14
movzx r8d, word [r14]
test r8w, r8w
je 0x14003b905
cmp r8w, 0xa
jne 0x14003b8f6
inc ecx
cmp r9d, 0xffffffff
jne 0x14003b8e4
cmp rax, r10
jb 0x14003b8e4
dec edx
mov r9d, ecx
test edx, edx
jle 0x14003b905
cmp ebx, 0xffffffff
jne 0x14003b8f6
cmp rax, r15
jb 0x14003b8f6
dec edx
mov ebx, ecx
test edx, edx
jle 0x14003b905
movzx r8d, word [rax + 2]
add rax, 2
test r8w, r8w
jne 0x14003b8c7
inc ecx
mov rdx, r10
cmp r9d, 0xffffffff
mov r11d, ecx
cmovne r11d, r9d
cmp ebx, 0xffffffff
cmove ebx, ecx
cmp r10, r14
jbe 0x14003b933
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x14003b933
mov rdx, rax
cmp rax, r14
ja 0x14003b920
mov r8, qword [r13 + 0x3d30]
movaps xmm1, xmm15
movss xmm4, dword [r13 + 0x3d38]
movaps xmm11, xmm15
movaps xmm3, xmm4
divss xmm3, dword [r8 + 0x14]
cmp rdx, r10
jae 0x14003b9a0
nop dword [rax]
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x14003b977
maxss xmm1, xmm11
movaps xmm11, xmm15
jmp 0x14003b99b
cmp ecx, 0xd
je 0x14003b99b
cmp ecx, dword [r8]
jge 0x14003b98c
mov rax, qword [r8 + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14003b992
movss xmm0, dword [r8 + 0x10]
mulss xmm0, xmm3
addss xmm11, xmm0
cmp rdx, r10
jb 0x14003b960
movd xmm12, r11d
maxss xmm11, xmm1
cvtdq2ps xmm12, xmm12
mulss xmm12, xmm4
test ebx, ebx
js 0x14003ba30
mov rdx, r15
cmp r15, r14
jbe 0x14003b9d3
nop
cmp word [rdx - 2], 0xa
lea rax, [rdx - 2]
je 0x14003b9d3
mov rdx, rax
cmp rax, r14
ja 0x14003b9c0
movaps xmm2, xmm15
movaps xmm7, xmm15
cmp rdx, r15
jae 0x14003ba21
movzx ecx, word [rdx]
add rdx, 2
cmp ecx, 0xa
jne 0x14003b9f6
maxss xmm2, xmm7
movaps xmm7, xmm15
jmp 0x14003ba1c
cmp ecx, 0xd
je 0x14003ba1c
cmp ecx, dword [r8]
jge 0x14003ba0b
mov rax, qword [r8 + 8]
movss xmm1, dword [rax + rcx*4]
jmp 0x14003ba11
movss xmm1, dword [r8 + 0x10]
movaps xmm0, xmm3
mulss xmm0, xmm1
addss xmm7, xmm0
cmp rdx, r15
jb 0x14003b9e0
movd xmm6, ebx
maxss xmm7, xmm2
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm4
movzx r15d, byte [rsp + 0x50]
test r15b, r15b
je 0x14003ba9b
cmp byte [rdi + 0xe84], 0
je 0x14003ba9b
movss xmm2, dword [rdi + 0x50]
movaps xmm0, xmm8
comiss xmm2, xmm11
mulss xmm0, dword [0x140045808]
movaps xmm1, xmm11
subss xmm8, dword [r13 + 0x3924]
jbe 0x14003ba76
subss xmm1, xmm0
movaps xmm0, xmm15
maxss xmm0, xmm1
jmp 0x14003ba84
subss xmm1, xmm8
comiss xmm1, xmm2
jb 0x14003ba94
addss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rdi + 0x50], xmm0
mov byte [rdi + 0xe84], 0
cmp byte [rsp + 0x58], 0
movss xmm10, dword [rdi + 0x50]
je 0x14003be43
mov edx, dword [rdi + 0x5c]
mov eax, edx
mov ecx, dword [rdi + 0x58]
cmp ecx, edx
cmovl eax, ecx
cmovge edx, ecx
cdqe
lea rbx, [r14 + rax*2]
movsxd rax, edx
lea r14, [r14 + rax*2]
test r15b, r15b
je 0x14003bad4
movaps xmm1, xmm14
jmp 0x14003badc
movss xmm1, dword [0x140045828]
mov rax, qword [0x14004d9c0]
lea rcx, [rbp - 0x28]
movups xmm0, xmmword [rax + 0x3cbc]
mulss xmm1, dword [rax + 0x38e8]
movups xmmword [rbp - 0x28], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rbp - 0x1c], xmm0
call fcn.14000a140
movss xmm9, dword [rbp - 0x18]
mov r15d, eax
movss xmm8, dword [rbp - 0x14]
addss xmm7, xmm9
addss xmm8, xmm6
subss xmm7, xmm10
subss xmm8, xmm15
cmp rbx, r14
jae 0x14003bb96
movss xmm6, dword [0x140045878]
movss xmm5, dword [rbp - 0x7c]
movss xmm1, dword [rsp + 0x70]
nop word [rax + rax]
movss xmm4, dword [r13 + 0x3d38]
movaps xmm0, xmm5
addss xmm0, xmm4
comiss xmm8, xmm0
ja 0x14003bb96
comiss xmm1, xmm8
jbe 0x14003bceb
cmp rbx, r14
jae 0x14003be23
nop dword [rax]
movzx eax, word [rbx]
add rbx, 2
cmp ax, 0xa
je 0x14003be23
cmp rbx, r14
jb 0x14003bb80
movzx r15d, byte [rsp + 0x50]
mov rax, rsi
sub rax, r12
cmp rax, 0x200000
jge 0x14003be4e
mov rax, qword [0x14004d9c0]
lea rcx, [rbp - 0x28]
movups xmm0, xmmword [rax + 0x39cc]
movups xmmword [rbp - 0x28], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e8]
movss dword [rbp - 0x1c], xmm0
call fcn.14000a140
movss xmm0, dword [rbp - 0x14]
subss xmm9, xmm10
mov rbx, qword [rbp - 0x38]
subss xmm0, xmm15
movss xmm2, dword [r13 + 0x3d38]
mov r9d, eax
mov r8, qword [r13 + 0x3d30]
mov rcx, rsi
mov rdx, qword [rbx + 0x2a8]
movss dword [rbp - 0x6c], xmm0
movss dword [rbp - 0x70], xmm9
test eax, 0xff000000
je 0x14003be52
test rsi, rsi
jne 0x14003bc3d
mov rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp byte [r12 + rcx], 0
jne 0x14003bc30
add rcx, r12
cmp r12, rcx
je 0x14003be52
test r8, r8
jne 0x14003bc53
mov rax, qword [rdx + 0x38]
mov r8, qword [rax + 8]
ucomiss xmm2, xmm15
jp 0x14003bc64
jne 0x14003bc64
mov rax, qword [rdx + 0x38]
movss xmm2, dword [rax + 0x10]
movups xmm0, xmmword [rdx + 0x88]
movss xmm8, dword [rbp - 0x64]
comiss xmm0, xmm8
movups xmmword [rbp - 0x58], xmm0
jae 0x14003bc81
movss dword [rbp - 0x58], xmm8
movss xmm0, dword [rbp - 0x54]
movss xmm1, dword [rsp + 0x70]
comiss xmm0, xmm1
jae 0x14003bc96
movss dword [rbp - 0x54], xmm1
comiss xmm13, dword [rbp - 0x50]
ja 0x14003bca3
movss dword [rbp - 0x50], xmm13
movss xmm9, dword [rbp - 0x7c]
comiss xmm9, dword [rbp - 0x4c]
ja 0x14003bcb6
movss dword [rbp - 0x4c], xmm9
mov byte [rsp + 0x48], 1
lea rax, [rbp - 0x58]
movss dword [rsp + 0x40], xmm15
mov qword [rsp + 0x38], rcx
mov rcx, r8
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r9d
lea r9, [rbp - 0x70]
call fcn.140032190
jmp 0x14003be5e
mov rdx, qword [r13 + 0x3d30]
movaps xmm2, xmm4
movaps xmm3, xmm15
movaps xmm1, xmm15
divss xmm2, dword [rdx + 0x14]
cmp rbx, r14
jae 0x14003bd50
nop word [rax + rax]
movzx ecx, word [rbx]
add rbx, 2
cmp ecx, 0xa
je 0x14003bd44
cmp ecx, 0xd
je 0x14003bd3d
cmp ecx, dword [rdx]
jge 0x14003bd30
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + rcx*4]
jmp 0x14003bd35
movss xmm0, dword [rdx + 0x10]
mulss xmm0, xmm2
addss xmm1, xmm0
cmp rbx, r14
jb 0x14003bd10
jmp 0x14003bd50
movaps xmm3, xmm15
maxss xmm3, xmm1
movaps xmm1, xmm15
maxss xmm1, xmm3
comiss xmm15, xmm1
jb 0x14003bd85
cmp dword [rdx], 0x20
jle 0x14003bd6d
mov rax, qword [rdx + 8]
movss xmm0, dword [rax + 0x80]
jmp 0x14003bd72
movss xmm0, dword [rdx + 0x10]
mulss xmm0, dword [0x140045824]
cvttss2si eax, xmm0
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss xmm2, dword [0x140045908]
addss xmm1, xmm7
movss xmm3, dword [rbp - 0x64]
subss xmm2, xmm4
movaps xmm0, xmm8
addss xmm7, xmm15
addss xmm0, xmm6
minss xmm1, xmm13
addss xmm2, xmm8
maxss xmm7, xmm3
minss xmm0, xmm5
movss dword [rbp - 0x20], xmm1
maxss xmm2, dword [rsp + 0x70]
movss dword [rbp - 0x28], xmm7
comiss xmm0, dword [rsp + 0x70]
movss dword [rbp - 0x24], xmm2
movss dword [rbp - 0x1c], xmm0
jbe 0x14003be1d
comiss xmm5, xmm2
jbe 0x14003be1d
comiss xmm1, xmm3
jbe 0x14003be1d
comiss xmm13, xmm7
jbe 0x14003be1d
xor eax, eax
lea r8, [rbp - 0x20]
mov dword [rsp + 0x28], eax
lea rdx, [rbp - 0x28]
mov rax, qword [rbp - 0x38]
mov r9d, r15d
movss dword [rsp + 0x20], xmm15
mov rcx, qword [rax + 0x2a8]
call fcn.14002da80
movss xmm5, dword [rbp - 0x7c]
movss xmm9, dword [rbp - 0x18]
movss xmm1, dword [rsp + 0x70]
movaps xmm7, xmm9
subss xmm7, xmm10
addss xmm8, dword [r13 + 0x3d38]
cmp rbx, r14
jb 0x14003bb50
jmp 0x14003bb96
movss xmm9, dword [rbp - 0x18]
jmp 0x14003bb9c
mov rbx, qword [rbp - 0x38]
movss xmm9, dword [rbp - 0x7c]
movss xmm8, dword [rbp - 0x64]
test r15b, r15b
je 0x14003bfd6
movss xmm0, dword [r13 + 0x18]
addss xmm0, dword [rdi + 0xe80]
movss dword [rdi + 0xe80], xmm0
cmp byte [r13 + 0x5b], 0
je 0x14003bea8
comiss xmm15, xmm0
jae 0x14003bea8
movss xmm1, dword [0x140045860]
call sub.api_ms_win_crt_math_l1_1_0.dll_fmodf
movss xmm1, dword [0x140045844]
comiss xmm1, xmm0
jae 0x14003bea8
xor cl, cl
jmp 0x14003beaa
mov cl, 1
movss xmm0, dword [rbp - 0x14]
addss xmm0, xmm12
addss xmm11, dword [rbp - 0x18]
subss xmm0, xmm15
subss xmm11, xmm10
movss xmm10, dword [rsp + 0x70]
cvttss2si eax, xmm11
movd xmm6, eax
cvttss2si eax, xmm0
cvtdq2ps xmm6, xmm6
movd xmm7, eax
movss dword [rbp - 0x28], xmm6
movaps xmm2, xmm6
addss xmm2, xmm14
cvtdq2ps xmm7, xmm7
movss dword [rbp - 0x20], xmm2
movaps xmm0, xmm7
movaps xmm1, xmm7
subss xmm0, dword [r13 + 0x3d38]
subss xmm1, dword [0x140045868]
addss xmm0, dword [0x140045824]
movss dword [rbp - 0x1c], xmm1
movss dword [rbp - 0x24], xmm0
test cl, cl
je 0x14003bf8d
comiss xmm1, xmm10
jbe 0x14003bf8d
comiss xmm9, xmm0
jbe 0x14003bf8d
comiss xmm2, xmm8
jbe 0x14003bf8d
comiss xmm13, xmm6
jbe 0x14003bf8d
mov rax, qword [0x14004d9c0]
lea rcx, [rbp - 0x58]
movss dword [rbp - 0x38], xmm6
movss dword [rbp - 0x34], xmm1
movups xmm0, xmmword [rax + 0x39cc]
movups xmmword [rbp - 0x58], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x38e8]
movss dword [rbp - 0x4c], xmm0
call fcn.14000a140
mov rcx, qword [rbx + 0x2a8]
lea rdx, [rbp - 0x28]
mov r9d, eax
movss dword [rsp + 0x20], xmm14
lea r8, [rbp - 0x38]
call fcn.14002d810
cmp byte [rbp - 0x78], 0
movss xmm11, dword [rbp - 0x40]
movss xmm12, dword [rbp - 0x30]
jne 0x14003bfe9
movss xmm0, dword [r13 + 0x3d38]
subss xmm6, xmm14
subss xmm7, xmm0
movss dword [r13 + 0x5f34], xmm0
mov byte [r13 + 0x5f28], 1
movss dword [r13 + 0x5f2c], xmm6
movss dword [r13 + 0x5f30], xmm7
jmp 0x14003bfe9
movss xmm10, dword [rsp + 0x70]
movss xmm11, dword [rbp - 0x40]
movss xmm12, dword [rbp - 0x30]
cmp byte [r13 + 0x5fe8], 0
movaps xmm13, xmmword [rsp + 0x120]
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
mov r15, qword [rsp + 0x1a0]
je 0x14003c192
mov rdi, qword [0x14004d9c0]
xor eax, eax
mov rbx, qword [rdi + 0x4000]
mov qword [rdi + 0x6010], rax
mov qword [rdi + 0x6008], rax
test rsi, rsi
jne 0x14003c073
mov rsi, r12
cmp r12, 0xffffffffffffffff
jae 0x14003c073
movzx ecx, byte [rsi]
test cl, cl
je 0x14003c073
lea rax, [rsi + 1]
cmp cl, 0x23
jne 0x14003c06a
cmp byte [rax], cl
je 0x14003c073
mov rsi, rax
cmp rax, 0xffffffffffffffff
jb 0x14003c056
movss xmm1, dword [rbp - 0x14]
movss xmm0, dword [rdi + 0x3928]
addss xmm0, dword [rdi + 0x6018]
movss dword [rdi + 0x6018], xmm1
addss xmm0, xmm14
comiss xmm1, xmm0
jbe 0x14003c0ad
lea rcx, [0x1400453c4]
call fcn.14001f490
mov byte [rdi + 0x601c], 1
lea r8, [0x140045795]
lea rdx, [0x140045794]
lea rcx, [rbp - 0x18]
call fcn.14001f4d0
mov eax, dword [rbx + 0x198]
mov ecx, dword [rdi + 0x6020]
cmp ecx, eax
jle 0x14003c0dc
mov dword [rdi + 0x6020], eax
mov ecx, eax
mov r14d, dword [rbx + 0x198]
mov r13d, 1
sub r14d, ecx
nop dword [rax]
mov r8, rsi
mov edx, 0xa
sub r8, r12
mov rcx, r12
call sub.VCRUNTIME140.dll_memchr
test rax, rax
mov rbx, rsi
cmovne rbx, rax
cmp r12, rbx
jne 0x14003c117
cmp rbx, rsi
je 0x14003c176
mov r9d, ebx
lea edx, [r14*4]
sub r9d, r12d
cmp byte [rdi + 0x601c], 0
jne 0x14003c131
mov edx, r13d
lea r8, [0x14003f798]
mov qword [rsp + 0x20], r12
lea rcx, str._s_.s
call fcn.14001f490
mov byte [rdi + 0x601c], 0
cmp byte [rbx], 0xa
jne 0x14003c168
lea rcx, [0x1400453c4]
call fcn.14001f490
mov byte [rdi + 0x601c], r13b
cmp rbx, rsi
je 0x14003c176
lea r12, [rbx + 1]
jmp 0x14003c0f0
lea r8, [0x140045791]
lea rdx, [0x140045790]
lea rcx, [rbp - 0x18]
call fcn.14001f4d0
mov r13, qword [rsp + 0x60]
movaps xmm14, xmmword [rsp + 0x110]
mov r14, qword [rsp + 0x1e8]
mov r12, qword [rsp + 0x1d0]
comiss xmm11, xmm15
movaps xmm15, xmmword [rsp + 0x100]
movaps xmm11, xmmword [rsp + 0x140]
jbe 0x14003c1f4
addss xmm12, dword [r13 + 0x393c]
addss xmm10, dword [r13 + 0x3928]
mov r9b, 1
lea rdx, str.How_many_orbs_to_add
xor r8d, r8d
movaps xmm0, xmm12
unpcklps xmm0, xmm10
movq rcx, xmm0
call fcn.14000a950
movzx eax, byte [rsp + 0x52]
movaps xmm12, xmmword [rsp + 0x130]
movaps xmm10, xmmword [rsp + 0x150]
mov r13, qword [rsp + 0x1d8]
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14003ced0
add rsp, 0x1a8
pop rdi
pop rsi
pop rbx
pop rbp
ret