Function at 0x14003e960
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
push r14
sub rsp, 0x88
mov rsi, qword [0x1401b54c8]
mov qword [rax + 0x18], rbp
mov rbx, rsi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov edi, dword [rsi + 0x3090]
sub edi, 1
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
lea rax, [rsi + 0x3098]
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0x20], xmm10
js 0x14003ea1d
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
mov rdx, qword [rax]
cmp dword [rdx + rbp + 4], 7
jne 0x14003ea0e
mov rcx, qword [rsi + 0x3098]
movsxd r8, dword [rsi + 0x3090]
sub rdx, rcx
add rdx, r14
sar rdx, 5
sub r8, rdx
mov rax, rdx
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rsi + 0x3090]
lea rax, [rsi + 0x3098]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x14003e9c1
jmp 0x14003ea25
mov qword [rsp + 0xb0], rax
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x3090], edi
jle 0x14003ea6a
mov esi, edi
mov rax, qword [rax]
cmp dword [rax + rsi + 4], edi
jne 0x14003ea4d
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
mov rax, qword [rsp + 0xb0]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x3090]
jl 0x14003ea33
mov rsi, qword [0x1401b54c8]
cmp byte [rsi + 0xcc], dil
je 0x14003ea80
test byte [rsi + 0xc], 2
jne 0x14003ea80
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x3049], dil
jne 0x14003eaeb
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14003eae4
lea r8, [rsp + 0xb8]
mov qword [rsp + 0xb8], rdi
call fcn.14003ae10
mov rsi, rax
test rax, rax
je 0x14003eadd
mov rdx, qword [rsp + 0xb8]
mov rcx, rax
call fcn.14004cdc0
mov rcx, qword [0x1401b54c8]
test rcx, rcx
je 0x14003ead4
dec dword [rcx + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x1401b54c8]
mov byte [rbp + 0x3049], 1
movss xmm0, dword [rbp + 0x304c]
xorps xmm8, xmm8
comiss xmm0, xmm8
mov qword [rsp + 0x70], r15
jbe 0x14003eb8f
subss xmm0, dword [rbp + 0x18]
comiss xmm8, xmm0
movss dword [rbp + 0x304c], xmm0
jb 0x14003eb8f
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x14003eb82
lea rcx, [rsp + 0xb8]
mov dword [rsi + 0x304c], edi
mov qword [rsp + 0xb8], rdi
call fcn.14004d120
lea rdx, [0x14012abbc]
mov rcx, r14
mov r15, rax
call fcn.14003ace0
mov rsi, rax
test rax, rax
je 0x14003eb79
mov r8, qword [rsp + 0xb8]
mov r9, rax
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rsi, qword [0x1401b54c8]
jmp 0x14003eb89
mov byte [rbp + 0x39c], 1
mov dword [rbp + 0x304c], edi
inc dword [rbx + 0x1bb0]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1bbc], 1
mov dword [rbx + 0x3010], edi
mov dword [rbx + 0x1c20], edi
addsd xmm0, qword [rbx + 0x1ba8]
movsd qword [rbx + 0x1ba8], xmm0
mov ecx, dword [rbx + 0x302c]
test ecx, ecx
jns 0x14003ebed
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3028]
test eax, eax
cmovg edx, eax
call fcn.14004e970
mov rsi, qword [0x1401b54c8]
movss xmm10, dword [0x14012c6b8]
movss xmm9, dword [0x14012c4cc]
mov dword [rbx + 0x3028], edi
movsxd rax, dword [rbx + 0x32e4]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x3104]
addss xmm0, dword [rbx + 0x32e8]
movss dword [rbx + 0x32e8], xmm0
movss dword [rbx + rax*4 + 0x3104], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x32e4]
movss xmm1, dword [rbx + 0x32e8]
inc ecx
imul ecx
add edx, ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x78
sub ecx, eax
comiss xmm1, xmm8
mov dword [rbx + 0x32e4], ecx
jbe 0x14003ec7c
divss xmm1, dword [0x14012c5fc]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x14003ec80
movaps xmm0, xmm10
movss dword [rbx + 0x3a0], xmm0
mov r8d, edi
mov rax, qword [rsi + 0x1de0]
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], edi
movsd xmm0, qword [rsi + 0x10]
movsd qword [rcx + 0xc], xmm0
cmp dword [rsi + 0x1dd8], edi
jle 0x14003ed6a
mov rdx, rdi
nop dword [rax + rax]
mov rax, qword [rsi + 0x1de0]
movaps xmm3, xmm8
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm2, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0x98], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa0], rdi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x90], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm8
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
cmp r8d, dword [rsi + 0x1dd8]
jl 0x14003ecc0
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x14003ed8f
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140046180
mov eax, dword [rbx + 0x1dd8]
movaps xmm7, xmm10
movss xmm4, dword [0x14012c710]
movaps xmm6, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x14003ee07
mov rcx, qword [rbx + 0x1de0]
mov edx, eax
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 4]
comiss xmm7, xmm3
movss xmm2, dword [rax + 8]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x10]
jbe 0x14003ede5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x14003eded
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x14003edf5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x14003edfd
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x14003edc0
movss dword [rbx + 0x19c4], xmm7
movss dword [rbx + 0x19c8], xmm6
movss dword [rbx + 0x19cc], xmm4
movss dword [rbx + 0x19d0], xmm5
mov eax, dword [rbx + 0x161c]
movss xmm1, dword [rbx + 0x1620]
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x19bc], eax
movss xmm0, dword [rbx + 0x19c0]
ucomiss xmm0, xmm1
jp 0x14003ee53
je 0x14003ef03
movss xmm6, dword [0x14012c558]
lea r14, [rbx + 0x1b5c]
movss dword [rbx + 0x19c0], xmm1
mov ebp, edi
mov r15d, 0x200
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x14003eecb
movss xmm1, dword [rbx + 0x19c0]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm9
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x14003eec2
mov eax, 4
jmp 0x14003eecd
cmp eax, r15d
cmovg eax, r15d
jmp 0x14003eecd
mov eax, edi
mov byte [r14], al
inc ebp
inc r14
cmp ebp, 0x40
jl 0x14003ee72
movss xmm0, dword [0x14012c354]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x19c0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1b58], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x19d4], edi
cmp byte [rbx + 0x1618], dil
je 0x14003ef2a
mov dword [rbx + 0x19d4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1619], dil
je 0x14003ef4f
mov rax, qword [rbx + 0x1998]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14003ef4f
or edx, 2
mov dword [rbx + 0x19d4], edx
cmp byte [rbx + 0x161a], dil
je 0x14003ef61
or edx, 4
mov dword [rbx + 0x19d4], edx
test byte [rbx + 0xc], 8
je 0x14003ef70
or edx, 8
mov dword [rbx + 0x19d4], edx
mov edx, edi
cmp dword [rbx + 0x1dd8], edi
jle 0x14003efa9
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1de0]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + rax - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1dd8]
jl 0x14003ef80
cmp byte [rbx + 0x1f6c], dil
je 0x14003efdd
mov eax, dword [rbx + 0x1f8c]
cmp eax, dword [rbx + 0x1c78]
jne 0x14003efdd
cmp dword [rsi + 0x1c78], eax
jne 0x14003efce
mov dword [rsi + 0x1c7c], eax
cmp dword [rsi + 0x1cb8], eax
jne 0x14003efdd
mov byte [rsi + 0x1cbc], 1
lea rax, [rbx + 0x1c64]
mov ecx, dword [rax]
cmp dword [rbx + 0x1c68], edi
jne 0x14003eff6
mov dword [rbx + 0x1c70], edi
jmp 0x14003f007
mov edx, ecx
mov r8, rax
test ecx, ecx
je 0x14003f012
cmp dword [rbx + 0x1c78], ecx
jne 0x14003f012
mov dword [rbx + 0x1c74], edi
mov edx, ecx
mov r8, rax
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x14003f049
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c70]
movss dword [rbx + 0x1c70], xmm0
cmp dword [rbx + 0x1c78], edx
je 0x14003f049
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c74]
movss dword [rbx + 0x1c74], xmm0
movzx eax, byte [rbx + 0x1c6d]
movaps xmm2, xmm1
mov byte [rbx + 0x1c6e], al
mov ebp, 0xffffffff
mov eax, dword [rbx + 0x1c78]
mov dword [rbx + 0x1c68], edx
mov dword [r8], edi
mov word [rbx + 0x1c6c], di
mov byte [rbx + 0x1c6f], dil
cmp dword [rbx + 0x1c7c], eax
je 0x14003f0e5
cmp dword [rbx + 0x1cb8], eax
jne 0x14003f0e5
test eax, eax
je 0x14003f0e5
mov ecx, dword [rsi + 0x1c78]
test ecx, ecx
setne al
mov byte [rsi + 0x1c84], al
test ecx, ecx
je 0x14003f0b7
mov dword [rsi + 0x1c80], edi
mov word [rsi + 0x1c87], di
mov dword [rsi + 0x1cb4], ebp
mov dword [rsi + 0x1c78], edi
mov word [rsi + 0x1c85], di
mov qword [rsi + 0x1ca8], rdi
mov word [rsi + 0x1c89], di
mov qword [rsi + 0x1c8c], rdi
mov qword [rsi + 0x1c98], rdi
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1c78]
test ecx, ecx
je 0x14003f102
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1c80]
movss dword [rbx + 0x1c80], xmm0
mov rax, qword [rbx + 0x1ca8]
addss xmm2, dword [rbx + 0x1ccc]
mov qword [rbx + 0x1cc0], rax
movzx eax, byte [rbx + 0x1c88]
mov byte [rbx + 0x1cbd], al
mov eax, dword [rbx + 0x2fd0]
movss dword [rbx + 0x1ccc], xmm2
mov dword [rbx + 0x1cb8], ecx
mov dword [rbx + 0x1c7c], edi
mov byte [rbx + 0x1c89], dil
mov byte [rbx + 0x1cbc], dil
mov byte [rbx + 0x1c84], dil
test eax, eax
je 0x14003f162
cmp ecx, eax
je 0x14003f162
mov dword [rbx + 0x2fd0], edi
test ecx, ecx
jne 0x14003f174
mov qword [rbx + 0x1c8c], rdi
mov qword [rbx + 0x1c98], rdi
mov eax, dword [rbx + 0x1fdc]
mov r8d, 0x800
mov dword [rbx + 0x1fe0], eax
mov eax, edi
mov qword [rbx + 0x1fd8], 0x7f7fffff
mov word [rbx + 0x1f6d], di
mov dword [rbx + 0x1fe8], edi
cmp byte [rsi + 0x140], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x141], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x142], dil
cmove edx, ecx
lea rcx, [rbx + 0xca0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4a0]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14012c6e4]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4a4]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x14003f22e
movss xmm0, dword [rax - 4]
comiss xmm8, xmm0
jbe 0x14003f227
movaps xmm0, xmm8
jmp 0x14003f231
addss xmm0, dword [rbx + 0x18]
jmp 0x14003f231
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x14003f252
movss xmm0, dword [rax]
comiss xmm8, xmm0
jbe 0x14003f24b
movaps xmm0, xmm8
jmp 0x14003f255
addss xmm0, dword [rbx + 0x18]
jmp 0x14003f255
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x14003f277
movss xmm0, dword [rax + 4]
comiss xmm8, xmm0
jbe 0x14003f270
movaps xmm0, xmm8
jmp 0x14003f27a
addss xmm0, dword [rbx + 0x18]
jmp 0x14003f27a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x14003f29d
movss xmm0, dword [rax + 8]
comiss xmm8, xmm0
jbe 0x14003f296
movaps xmm0, xmm8
jmp 0x14003f2a0
addss xmm0, dword [rbx + 0x18]
jmp 0x14003f2a0
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x14003f210
call fcn.140049790
call fcn.14003dd50
call fcn.14003e610
call fcn.14003d820
mov r8, qword [0x1401b54c8]
mov eax, dword [r8 + 0x1db8]
sub eax, 1
js 0x14003f312
mov r8, qword [r8 + 0x1dc0]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14003f308
test dword [rax + 0x1c], 0x8000000
jne 0x14003f329
sub r8, 0x30
sub rdx, 1
jns 0x14003f2f7
cmp qword [rbx + 0x1f18], rdi
je 0x14003f345
movss xmm0, dword [rbx + 0x1f34]
comiss xmm0, xmm8
jbe 0x14003f345
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14012c584]
addss xmm1, dword [rbx + 0x1f64]
minss xmm1, xmm9
jmp 0x14003f363
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14012c594]
movss xmm1, dword [rbx + 0x1f64]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x1f64], xmm1
mov dword [rbx + 0x1f68], edi
mov qword [rbx + 0x32f0], 0xffffffffffffffff
mov dword [rbx + 0x32ec], ebp
mov dword [rbx + 0x3038], 0x3f800000
mov dword [rbx + 0x303c], 0x3f800000
call fcn.14003e110
mov r11, qword [0x1401b54c8]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1de8]
test r8, r8
je 0x14003f3e5
cmp byte [r8 + 0x9e], dil
je 0x14003f3e5
test dword [r8 + 0x1c], 0x40000
jne 0x14003f3e5
cmp byte [r11 + 0x140], dil
jne 0x14003f3e5
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x14003f3e5
call fcn.140040e00
test al, al
je 0x14003f3e5
mov al, 1
jmp 0x14003f3e7
xor al, al
mov byte [r11 + 0x1f60], al
cmp dword [r11 + 0x1c78], edi
jne 0x14003f452
test al, al
je 0x14003f452
mov qword [r11 + 0x1f48], r8
mov dword [r11 + 0x1f58], 0x7fffffff
cmp dword [r11 + 0x1df0], edi
je 0x14003f43f
mov ecx, dword [r11 + 0x1e38]
cmp ecx, 0x7fffffff
je 0x14003f43f
cmp byte [r11 + 0x141], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r11 + 0x1f5c], eax
jmp 0x14003f452
movzx eax, byte [r11 + 0x141]
neg al
sbb ecx, ecx
mov dword [r11 + 0x1f5c], ecx
mov r8, qword [r11 + 0x1f48]
mov qword [r11 + 0x1f40], rdi
mov dword [r11 + 0x1f54], 0x7fffffff
mov dword [r11 + 0x1f50], 0x7fffffff
test r8, r8
je 0x14003f4ed
mov eax, dword [r11 + 0x1f58]
mov qword [r11 + 0x1f40], r8
cmp eax, 0x7fffffff
je 0x14003f4a9
mov ecx, dword [r8 + 0x1d4]
cmp ecx, ebp
je 0x14003f4a9
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f50], edx
mov eax, dword [r11 + 0x1f5c]
cmp eax, 0x7fffffff
je 0x14003f4d0
mov ecx, dword [r8 + 0x1d8]
cmp ecx, ebp
je 0x14003f4d0
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x1f54], edx
mov qword [r11 + 0x1f48], rdi
mov dword [r11 + 0x1f5c], 0x7fffffff
mov dword [r11 + 0x1f58], 0x7fffffff
mov dword [r11 + 0x1e38], 0x7fffffff
cmp byte [rbx + 0x1bbf], dil
jne 0x14003f522
movss xmm0, dword [rbx + 0xd0]
comiss xmm8, xmm0
ja 0x14003f522
movsd xmm10, qword [rbx + 0x1ba8]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bd0], edi
je 0x14003f689
mov r14, rdi
mov rax, qword [rbx + 0x1bd8]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x9e]
mov byte [rsi + 0x9f], al
mov word [rsi + 0xaa], di
mov byte [rsi + 0x9e], dil
mov byte [rsi + 0xa0], dil
test al, al
jne 0x14003f677
cmp byte [rsi + 0x3f0], dil
jne 0x14003f677
comiss xmm10, dword [rsi + 0x294]
jbe 0x14003f677
mov rcx, qword [rsi + 0x2c8]
mov byte [rsi + 0x3f0], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3e8], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3ec], eax
mov rcx, qword [rsi + 0xe0]
test rcx, rcx
je 0x14003f5d5
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0xd8], rdi
test rax, rax
je 0x14003f5c8
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xe0], rdi
mov rcx, qword [rsi + 0x2c8]
call fcn.1400561d0
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x14003f613
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x14003f606
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b0], rdi
mov rcx, qword [rsi + 0x1f0]
test rcx, rcx
je 0x14003f645
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x1e8], rdi
test rax, rax
je 0x14003f638
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f0], rdi
mov rcx, qword [rsi + 0x200]
test rcx, rcx
je 0x14003f677
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x1f8], rdi
test rax, rax
je 0x14003f66a
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x200], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bd0]
jne 0x14003f533
mov ebp, edi
cmp dword [rbx + 0x2050], edi
jle 0x14003f7cc
mov r15, rdi
mov r14, rdi
movabs r12, 0x6d3a06d3a06d3a07
nop word [rax + rax]
mov rax, qword [rbx + 0x2058]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm8
jb 0x14003f7b3
comiss xmm10, xmm0
jbe 0x14003f7b3
mov rsi, qword [rbx + 0x2020]
mov r13, qword [0x1401b54c8]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.140059a00
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x14003f720
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x14003f713
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x218], rdi
mov qword [rsi + 0x220], rdi
mov byte [rsi + 0x24c], 1
mov rcx, qword [rsi + 0x1e0]
test rcx, rcx
je 0x14003f760
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x14003f753
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e0], rdi
mov edx, edi
mov byte [rsi + 0x256], 1
cmp dword [rsi + 0x6c], edi
jle 0x14003f787
mov rcx, rdi
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rax + rcx - 0x18], 0xffff
cmp edx, dword [rsi + 0x6c]
jl 0x14003f771
sub rsi, qword [r13 + 0x2020]
mov rax, r12
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x2058]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x2050]
jl 0x14003f6b0
movaps xmm10, xmmword [rsp + 0x20]
cmp byte [rbx + 0x1bbf], dil
je 0x14003f844
mov rsi, qword [0x1401b54c8]
mov rcx, qword [rsi + 0x1da0]
test rcx, rcx
je 0x14003f80d
mov qword [rsi + 0x1d98], rdi
test rsi, rsi
je 0x14003f800
dec dword [rsi + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1da0], rdi
mov rcx, qword [rsi + 0x1db0]
test rcx, rcx
je 0x14003f83f
mov rax, qword [0x1401b54c8]
mov qword [rsi + 0x1da8], rdi
test rax, rax
je 0x14003f832
dec dword [rax + 0x3b4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1db0], rdi
call fcn.140061dc0
mov rax, qword [rbx + 0x1de8]
mov byte [rbx + 0x1bbf], dil
test rax, rax
je 0x14003f8c4
cmp byte [rax + 0x9f], dil
jne 0x14003f8c4
mov rcx, qword [0x1401b54c8]
mov eax, dword [rcx + 0x1be0]
sub eax, 1
js 0x14003f8bd
movsxd r9, eax
mov rax, qword [rcx + 0x1be8]
lea r10, [rax + r9*8]
mov r8, qword [r10]
test r8, r8
je 0x14003f8b3
cmp byte [r8 + 0x9f], dil
je 0x14003f8b3
mov eax, dword [r8 + 0x1c]
and eax, 0x40200
cmp eax, 0x40200
setne cl
bt dword [r8 + 0x1c], 0x18
setae al
test al, cl
jne 0x14003f9fd
sub r10, 8
sub r9, 1
jns 0x14003f880
xor ecx, ecx
call fcn.140045e60
mov ecx, dword [rbx + 0x1c04]
test ecx, ecx
jns 0x14003f8ea
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1c00]
test eax, eax
cmovg edx, eax
call fcn.14004e2f0
mov dword [rbx + 0x1c00], edi
mov ecx, dword [rbx + 0x1dcc]
test ecx, ecx
jns 0x14003f916
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1dc8]
test eax, eax
cmovg edx, eax
call fcn.14004e8d0
lea rsi, [rbx + 0x1d98]
mov dword [rbx + 0x1dc8], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14003f942
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
mov rcx, rsi
test eax, eax
cmovg edx, eax
call fcn.14004e970
mov dword [rsi], edi
mov r12d, 8
cmp dword [rsi + 4], edi
jne 0x14003f95a
mov edx, r12d
mov rcx, rsi
call fcn.14004e970
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1da8]
inc dword [rsi]
call fcn.14004e020
mov r9, qword [0x1401b54c8]
mov rbp, qword [rbx + 0x1de8]
lea r13, [r9 + 0x1db8]
movsxd r14, dword [r13]
test r14d, r14d
je 0x14003fa64
mov esi, edi
test rbp, rbp
je 0x14003fa2c
test r14d, r14d
jle 0x14003fa2c
mov r11, qword [r9 + 0x1dc0]
mov r15, rdi
add r11, r12
mov rcx, qword [r11]
test rcx, rcx
je 0x14003fa1e
test dword [rcx + 0x1c], 0x1000000
jne 0x14003fa1e
mov r8, r15
cmp esi, r14d
jge 0x14003fa64
mov rdx, r11
test rcx, rcx
je 0x14003f9ec
mov rax, qword [rbp + 0x3a0]
cmp qword [rcx + 0x3a0], rax
je 0x14003fa1e
inc r8
add rdx, 0x30
cmp r8, r14
jge 0x14003fa31
mov rcx, qword [rdx]
jmp 0x14003f9d7
mov rcx, qword [r8 + 0x3b8]
test rcx, rcx
je 0x14003fa16
cmp byte [rcx + 0x9f], dil
jne 0x14003f8bf
mov rcx, r8
jmp 0x14003f8bf
inc esi
inc r15
add r11, 0x30
cmp esi, r14d
jl 0x14003f9b7
cmp esi, r14d
jge 0x14003fa64
mov ecx, dword [r13 + 4]
cmp esi, ecx
jle 0x14003fa60
test ecx, ecx
je 0x14003fa48
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r12d, [rcx + rax]
cmp r12d, esi
mov edx, esi
mov rcx, r13
cmovg edx, r12d
call fcn.14004e8d0
mov r9, qword [0x1401b54c8]
mov dword [r13], esi
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
mov dword [r9 + 0x30f0], edi
cmp byte [r9 + 0x30ec], dil
je 0x14003fb49
mov esi, dword [r9 + 0x1c68]
mov dword [r9 + 0x1f68], 7
mov ecx, dword [r9 + 0x74]
test ecx, ecx
js 0x14003fabc
call fcn.140040e00
test al, al
je 0x14003fabc
mov byte [r9 + 0x30ec], dil
movss xmm0, dword [r9 + 0x43c]
ucomiss xmm0, xmm8
jp 0x14003fadf
jne 0x14003fadf
test esi, esi
je 0x14003fadf
mov dword [r9 + 0x30f0], esi
mov byte [r9 + 0x30ec], dil
or dword [r9 + 0x1cd0], 0x40
xor edx, edx
mov dword [r9 + 0x1d30], 0x3f19999a
call fcn.140047890
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140062f30
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140062f30
mov eax, 0x10
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x1401b54c8]
add rax, 0x1624
add rcx, rax
call fcn.140063030
call fcn.140045d40
mov r9, qword [0x1401b54c8]
mov byte [rbx + 0x1bbd], 1
lea rcx, str.DebugDefault
or dword [r9 + 0x1cd0], 2
xor r8d, r8d
xor edx, edx
mov dword [r9 + 0x1cf0], 0x43c80000
mov dword [r9 + 0x1cf4], 0x43c80000
mov dword [r9 + 0x1cd8], 4
call fcn.1400439c0
movaps xmm8, xmmword [rsp + 0x40]
cmp dword [rbx + 0x3090], edi
jle 0x14003fbcc
mov r14, qword [rsp + 0xb0]
mov rsi, rdi
mov rax, qword [r14]
cmp dword [rax + rsi + 4], 1
jne 0x14003fbbe
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3090]
jl 0x14003fba3
add rsp, 0x88
pop r14
pop rdi
pop rsi
pop rbx
ret