Function at 0x14004d630
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x1400f30e8]
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], r12
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
mov eax, dword [rbx + 0x55b0]
lea esi, [rax - 1]
test esi, esi
js 0x14004d6db
movsxd rdi, esi
shl rdi, 5
mov rbp, rdi
mov rdx, qword [rbx + 0x55b8]
cmp dword [rdx + rdi + 4], 7
jne 0x14004d6c8
movsxd r8, dword [rbx + 0x55b0]
mov rcx, rdx
sub rdx, rdx
add rdx, rbp
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 [rbx + 0x55b0]
mov eax, dword [rbx + 0x55b0]
sub rbp, 0x20
sub rdi, 0x20
sub esi, 1
jns 0x14004d682
xor edi, edi
mov esi, edi
test eax, eax
jle 0x14004d71c
mov ebp, edi
nop word [rax + rax]
mov rax, qword [rbx + 0x55b8]
cmp dword [rax + rbp + 4], edi
jne 0x14004d70e
movsxd rdx, esi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rbp + 0x10]
inc esi
add rbp, 0x20
cmp esi, dword [rbx + 0x55b0]
jl 0x14004d6f0
mov rsi, qword [0x1400f30e8]
mov eax, dword [rbx + 0x3d40]
mov dword [rbx + 0x3d44], eax
cmp byte [rsi + 0x7d], dil
je 0x14004d73f
test byte [rsi + 0xc], 2
jne 0x14004d73f
mov byte [rsi + 0x7d], dil
mov ecx, dword [rsi + 8]
bt ecx, 0xa
jae 0x14004d75e
mov eax, dword [rsi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x14004d75e
btr ecx, 0xa
mov dword [rsi + 8], ecx
mov eax, dword [rbx + 8]
mov dword [rbx + 0x3d40], eax
cmp byte [rsi + 0x5568], dil
jne 0x14004d7c8
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14004d7c1
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.1400485e0
mov rbp, rax
test rax, rax
je 0x14004d7c1
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.14005f6e0
mov rcx, qword [0x1400f30e8]
test rcx, rcx
je 0x14004d7b8
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rsi + 0x5568], 1
movss xmm0, dword [rsi + 0x556c]
xorps xmm10, xmm10
comiss xmm0, xmm10
jbe 0x14004d867
subss xmm0, dword [rsi + 0x18]
comiss xmm10, xmm0
movss dword [rsi + 0x556c], xmm0
jb 0x14004d867
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x14004d85a
mov rax, qword [0x1400f30e8]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x556c], edi
call fcn.14005fa40
lea rdx, [0x1400da334]
mov rcx, rbp
mov r14, rax
call fcn.1400484c0
mov rbp, rax
test rax, rax
je 0x14004d861
mov r8, qword [rsp + 0xb0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14004d861
mov byte [rsi + 0xdc], 1
mov dword [rsi + 0x556c], edi
inc dword [rbx + 0x3f60]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x3f70], 1
mov word [rbx + 0x54de], di
mov dword [rbx + 0x3fd0], edi
addsd xmm0, qword [rbx + 0x3f58]
movsd qword [rbx + 0x3f58], xmm0
mov ecx, dword [rbx + 0x54fc]
test ecx, ecx
jns 0x14004d8c4
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x54f8]
test eax, eax
cmovg edx, eax
call fcn.14006bd90
movss xmm1, dword [rbx + 0x18]
movss xmm9, dword [0x1400db9e0]
movaps xmm0, xmm1
movss xmm8, dword [0x1400db8a0]
mov dword [rbx + 0x54f8], edi
movsxd rax, dword [rbx + 0x5830]
subss xmm0, dword [rbx + rax*4 + 0x5650]
addss xmm0, dword [rbx + 0x5838]
movss dword [rbx + 0x5838], xmm0
movss dword [rbx + rax*4 + 0x5650], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x5830]
movss xmm2, dword [rbx + 0x5838]
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
mov eax, dword [rbx + 0x5834]
inc eax
mov dword [rbx + 0x5830], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm10
mov dword [rbx + 0x5834], ecx
jbe 0x14004d969
movd xmm0, ecx
movaps xmm1, xmm8
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14004d96d
movaps xmm1, xmm9
movss dword [rbx + 0xe0], xmm1
call fcn.140060960
mov rax, qword [rbx + 0x50]
mov rbp, qword [0x1400f30e8]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0x60]
test rcx, rcx
jne 0x14004d99d
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.140057620
mov eax, dword [rbx + 0x4208]
movaps xmm0, xmm9
movss xmm5, dword [0x1400dba34]
movaps xmm7, xmm9
movaps xmm6, xmm5
test eax, eax
jle 0x14004da17
mov rcx, qword [rbx + 0x4210]
mov edx, eax
nop dword [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 8]
comiss xmm0, xmm4
movss xmm3, dword [rax + 0xc]
movaps xmm1, xmm4
addss xmm1, dword [rax + 0x10]
movaps xmm2, xmm3
addss xmm2, dword [rax + 0x14]
jbe 0x14004d9f5
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x14004d9fd
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x14004da05
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x14004da0d
movaps xmm6, xmm2
add rcx, 8
sub rdx, 1
jne 0x14004d9d0
mov eax, dword [rbx + 0x39c8]
movss xmm1, dword [rbx + 0x39cc]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x3d6c], eax
movaps xmm7, xmmword [rsp + 0x60]
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x3d74], xmm0
movss xmm0, dword [rbx + 0x3d70]
ucomiss xmm0, xmm1
jp 0x14004da66
je 0x14004db16
movss xmm6, dword [0x1400db904]
lea r14, [rbx + 0x3f0c]
movss dword [rbx + 0x3d70], xmm1
mov esi, edi
mov r15d, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x14004dade
movss xmm1, dword [rbx + 0x3d70]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm8
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 0x14004dad5
mov eax, 4
jmp 0x14004dae0
cmp eax, r15d
cmovg eax, r15d
jmp 0x14004dae0
mov eax, edi
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x14004da85
movss xmm0, dword [0x1400db818]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x3d70]
movaps xmm2, xmm8
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x3f08], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbx + 0x3d84], edi
cmp byte [rbx + 0x39c4], dil
je 0x14004db3d
mov dword [rbx + 0x3d84], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x39c5], dil
je 0x14004db62
mov rax, qword [rbx + 0x3d48]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14004db62
or edx, 2
mov dword [rbx + 0x3d84], edx
cmp byte [rbx + 0x39c6], dil
je 0x14004db74
or edx, 4
mov dword [rbx + 0x3d84], edx
test byte [rbx + 0xc], 8
je 0x14004db83
or edx, 8
mov dword [rbx + 0x3d84], edx
mov r8d, edi
cmp dword [rbx + 0x4208], edi
jle 0x14004dbd2
mov rdx, rdi
mov rax, qword [rbx + 0x4210]
lea rdx, [rdx + 8]
xorps xmm0, xmm0
inc r8d
mov rcx, qword [rdx + rax - 8]
xor eax, eax
mov qword [rcx + 0x30], rdi
movups xmmword [rcx + 0xa8], xmm0
movups xmmword [rcx + 0xb8], xmm0
movups xmmword [rcx + 0xc8], xmm0
mov qword [rcx + 0xd8], rax
cmp r8d, dword [rbx + 0x4208]
jl 0x14004db91
cmp byte [rbx + 0x43fc], dil
je 0x14004dc06
mov eax, dword [rbx + 0x441c]
cmp eax, dword [rbx + 0x4034]
jne 0x14004dc06
cmp dword [rbp + 0x4034], eax
jne 0x14004dbf7
mov dword [rbp + 0x4038], eax
cmp dword [rbp + 0x4080], eax
jne 0x14004dc06
mov byte [rbp + 0x4084], 1
mov eax, dword [rbx + 0x4020]
cmp dword [rbx + 0x4024], edi
jne 0x14004dc1c
mov dword [rbx + 0x402c], edi
jmp 0x14004dc2a
mov edx, eax
test eax, eax
je 0x14004dc32
cmp dword [rbx + 0x4034], eax
jne 0x14004dc32
mov dword [rbx + 0x4030], edi
mov edx, eax
movss xmm1, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x4034]
test edx, edx
je 0x14004dc6b
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x402c]
movss dword [rbx + 0x402c], xmm0
cmp ecx, edx
je 0x14004dc6b
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x4030]
movss dword [rbx + 0x4030], xmm0
movaps xmm2, xmm1
movzx eax, byte [rbx + 0x4029]
mov r12d, 0xffffffff
mov dword [rbx + 0x4024], edx
mov edx, ecx
mov byte [rbx + 0x402a], al
mov dword [rbx + 0x4020], edi
mov word [rbx + 0x4028], di
mov byte [rbx + 0x402b], dil
cmp dword [rbx + 0x4038], ecx
je 0x14004dd19
cmp dword [rbx + 0x4080], ecx
jne 0x14004dd19
test ecx, ecx
je 0x14004dd19
mov ecx, dword [rbp + 0x4034]
test ecx, ecx
setne al
mov byte [rbp + 0x4040], al
test ecx, ecx
je 0x14004dcda
mov dword [rbp + 0x403c], edi
mov word [rbp + 0x4043], di
mov dword [rbp + 0x407c], r12d
mov dword [rbp + 0x4034], edi
xorps xmm0, xmm0
mov word [rbp + 0x4041], di
xor eax, eax
mov qword [rbp + 0x4070], rdi
mov word [rbp + 0x4045], di
mov qword [rbp + 0x4048], rdi
movups xmmword [rbp + 0x4050], xmm0
mov dword [rbp + 0x4060], eax
mov edx, dword [rbx + 0x4034]
movss xmm2, dword [rbx + 0x18]
test edx, edx
je 0x14004dd30
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x403c]
movss dword [rbx + 0x403c], xmm0
mov rax, qword [rbx + 0x4070]
addss xmm2, dword [rbx + 0x4094]
mov qword [rbx + 0x4088], rax
movzx eax, byte [rbx + 0x4044]
mov byte [rbx + 0x4085], al
mov eax, dword [rbx + 0x5470]
movss dword [rbx + 0x4094], xmm2
mov dword [rbx + 0x4080], edx
mov dword [rbx + 0x4038], edi
mov byte [rbx + 0x4045], dil
mov byte [rbx + 0x4084], dil
mov byte [rbx + 0x4040], dil
test eax, eax
je 0x14004dd90
cmp edx, eax
je 0x14004dd90
mov dword [rbx + 0x5470], edi
test edx, edx
jne 0x14004ddad
mov qword [rbx + 0x4048], rdi
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx + 0x4050], xmm0
mov dword [rbx + 0x4060], eax
mov eax, dword [rbx + 0x446c]
mov dword [rbx + 0x4470], eax
mov qword [rbx + 0x4468], 0x7f7fffff
mov word [rbx + 0x43fd], di
mov dword [rbx + 0x4478], edi
mov ecx, dword [rbx + 0x38fc]
test ecx, ecx
jns 0x14004ddf7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x38f8]
test eax, eax
cmovg edx, eax
call fcn.14006be30
mov dword [rbx + 0x38f8], edi
movzx ecx, byte [rbx + 0x7a]
call fcn.140057fe0
call fcn.14004c5b0
call fcn.14005c0e0
call fcn.14004c960
test byte [rbx + 8], 0x40
jne 0x14004de42
cmp dword [rbx + 0x5530], edi
jg 0x14004de2f
cmp dword [rbx + 0x5540], edi
jle 0x14004df23
mov dl, 1
call fcn.140069550
xor ecx, ecx
call fcn.1400690c0
jmp 0x14004df23
cmp byte [rbx + 0x70], dil
je 0x14004de92
mov ebp, edi
cmp dword [rbx + 0x5530], edi
jle 0x14004de92
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5538]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x14004de84
cmp qword [rcx + 0x18], rdi
jne 0x14004de84
cmp qword [rcx + 0x20], rdi
je 0x14004de84
mov ecx, dword [rcx]
call fcn.1400690c0
inc ebp
add rsi, 0x10
cmp ebp, dword [rbx + 0x5530]
jl 0x14004de60
cmp byte [rbx + 0x5560], dil
je 0x14004ded5
xor ecx, ecx
call fcn.14005fa40
xor edx, edx
call fcn.140069550
xor ecx, ecx
call fcn.1400690c0
mov r8d, dword [rbx + 0x5550]
mov rcx, rbx
mov rdx, qword [rbx + 0x5558]
call fcn.140062a50
mov rcx, rbx
call fcn.140062c60
mov byte [rbx + 0x5560], dil
mov ebp, edi
cmp dword [rbx + 0x5540], edi
jle 0x14004df23
mov rsi, rdi
mov rax, qword [rbx + 0x5548]
cmp dword [rsi + rax], 2
jne 0x14004df15
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x14004df03
mov r8b, 1
call fcn.1400630d0
jmp 0x14004df15
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x14004df15
mov rcx, rbx
call fcn.140063210
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x5540]
jl 0x14004dee2
call fcn.14004d1e0
call fcn.14004bf40
mov r8, qword [0x1400f30e8]
mov eax, dword [r8 + 0x41e0]
sub eax, 1
js 0x14004df7b
mov r8, qword [r8 + 0x41e8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax]
mov rax, qword [r8]
test rax, rax
je 0x14004df71
test dword [rax + 0xc], 0x8000000
jne 0x14004df92
sub r8, 0x30
sub rdx, 1
jns 0x14004df60
cmp qword [rbx + 0x43d0], rdi
je 0x14004dfae
movss xmm0, dword [rbx + 0x43ec]
comiss xmm0, xmm10
jbe 0x14004dfae
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1400db92c]
addss xmm1, dword [rbx + 0x43f4]
minss xmm1, xmm8
jmp 0x14004dfcc
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1400db940]
movss xmm1, dword [rbx + 0x43f4]
subss xmm1, xmm0
maxss xmm1, xmm10
movups xmm0, xmmword [rbx + 0x5508]
mov dword [rbx + 0x43f8], edi
movss dword [rbx + 0x43f4], xmm1
movups xmmword [rbx + 0x5518], xmm0
mov qword [rbx + 0x5840], 0xffffffffffffffff
mov dword [rbx + 0x583c], r12d
mov byte [rbx + 0x5508], dil
call fcn.14004cd50
movaps xmm8, xmmword [rsp + 0x50]
cmp byte [rbx + 0x3f73], dil
jne 0x14004e036
movss xmm0, dword [rbx + 0x80]
comiss xmm10, xmm0
ja 0x14004e036
movsd xmm9, qword [rbx + 0x3f58]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x3f80], edi
je 0x14004e1a6
mov r14, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3f88]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0xcb]
mov byte [rsi + 0xcc], al
mov word [rsi + 0xd8], di
mov byte [rsi + 0xcb], dil
mov byte [rsi + 0xcd], dil
test al, al
jne 0x14004e194
cmp byte [rsi + 0x3f8], dil
jne 0x14004e194
comiss xmm9, dword [rsi + 0x280]
jbe 0x14004e194
mov rcx, qword [rsi + 0x2b8]
mov byte [rsi + 0x3f8], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x3f0], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x3f4], eax
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x14004e0f2
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x108], rdi
test rax, rax
je 0x14004e0e5
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x110], rdi
mov rcx, qword [rsi + 0x2b8]
call fcn.140073ff0
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x14004e130
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x14004e123
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b0], rdi
mov rcx, qword [rsi + 0x1e8]
test rcx, rcx
je 0x14004e162
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x1e0], rdi
test rax, rax
je 0x14004e155
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1e8], rdi
mov rcx, qword [rsi + 0x1f8]
test rcx, rcx
je 0x14004e194
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x1f0], rdi
test rax, rax
je 0x14004e187
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f8], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x3f80]
jne 0x14004e050
mov r14d, edi
cmp dword [rbx + 0x4500], edi
jle 0x14004e2fa
mov qword [rsp + 0xc8], r13
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
mov r15, rdi
nop dword [rax]
mov rax, qword [rbx + 0x4508]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm10
jb 0x14004e2d1
comiss xmm9, xmm0
jbe 0x14004e2d1
mov rsi, qword [rbx + 0x44e0]
mov rbp, qword [0x1400f30e8]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x14004e234
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x14004e227
dec dword [rbp + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1c8], rdi
mov byte [rsi + 0x1fc], 1
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x14004e26d
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x14004e260
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov edx, edi
mov byte [rsi + 0x206], 1
cmp dword [rsi + 0x74], edi
jle 0x14004e2a5
mov rcx, rdi
mov r8d, 0xffffffff
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x74]
jl 0x14004e290
sub rsi, qword [rbp + 0x44e0]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x4508]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x4500]
jl 0x14004e1d0
mov r13, qword [rsp + 0xc8]
mov r12d, 0xffffffff
mov r14d, edi
cmp dword [rbx + 0x44c8], edi
jle 0x14004e34d
mov rsi, rdi
nop dword [rax + rax]
mov rbp, qword [rbx + 0x44d0]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm10
jb 0x14004e33d
comiss xmm9, xmm0
jbe 0x14004e33d
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.140077560
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x44c8]
jl 0x14004e310
movaps xmm9, xmmword [rsp + 0x40]
cmp byte [rbx + 0x3f73], dil
je 0x14004e3c5
mov rsi, qword [0x1400f30e8]
mov rcx, qword [rsi + 0x41c8]
test rcx, rcx
je 0x14004e38e
mov qword [rsi + 0x41c0], rdi
test rsi, rsi
je 0x14004e381
dec dword [rsi + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41c8], rdi
mov rcx, qword [rsi + 0x41d8]
test rcx, rcx
je 0x14004e3c0
mov rax, qword [0x1400f30e8]
mov qword [rsi + 0x41d0], rdi
test rax, rax
je 0x14004e3b3
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x41d8], rdi
call fcn.1400815c0
mov rax, qword [rbx + 0x4268]
mov byte [rbx + 0x3f73], dil
test rax, rax
je 0x14004e436
cmp byte [rax + 0xcc], dil
jne 0x14004e436
mov rcx, qword [0x1400f30e8]
mov eax, dword [rcx + 0x3f90]
sub eax, 1
js 0x14004e42f
movsxd rdx, eax
mov rax, qword [rcx + 0x3f98]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x14004e425
cmp byte [rcx + 0xcc], dil
je 0x14004e425
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x14004e585
sub r8, 8
sub rdx, 1
jns 0x14004e401
xor ecx, ecx
call fcn.1400573b0
mov ecx, dword [rbx + 0x3fb4]
test ecx, ecx
jns 0x14004e4c4
mov eax, ecx
mov esi, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
test eax, eax
cmovg esi, eax
cmp esi, ecx
jle 0x14004e4c4
mov rax, qword [0x1400f30e8]
test rax, rax
je 0x14004e46a
inc dword [rax + 0xf4]
movsxd rax, esi
imul rcx, rax, 0x58
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, qword [rbx + 0x3fb8]
mov r14, rax
test rbp, rbp
je 0x14004e4b7
movsxd rdx, dword [rbx + 0x3fb0]
mov rcx, rax
imul r8, rdx, 0x58
mov rdx, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [0x1400f30e8]
test rcx, rcx
je 0x14004e4ae
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x3fb8], r14
mov dword [rbx + 0x3fb4], esi
mov dword [rbx + 0x3fb0], edi
mov ecx, dword [rbx + 0x41f4]
test ecx, ecx
jns 0x14004e4f0
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x41f0]
test eax, eax
cmovg edx, eax
call fcn.14006bcf0
lea rsi, [rbx + 0x41c0]
mov dword [rbx + 0x41f0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14004e51f
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.14006bd90
mov ecx, dword [rsi + 4]
mov dword [rsi], edi
mov eax, edi
test ecx, ecx
jne 0x14004e534
lea edx, [rcx + 8]
mov rcx, rsi
call fcn.14006bd90
mov eax, dword [rsi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x41d0]
inc dword [rsi]
call fcn.14006b7b0
test byte [rbx + 8], 0x40
je 0x14004e663
mov rax, qword [rbx + 0x3ff0]
mov qword [rbx + 0x3ff8], rdi
test rax, rax
je 0x14004e5b1
mov rcx, qword [rax + 0x420]
test rcx, rcx
je 0x14004e592
mov rdx, qword [rbx + 0xd9c]
call fcn.140068840
jmp 0x14004e5aa
call fcn.14005b970
mov rcx, rax
jmp 0x14004e431
mov rax, qword [rax + 0x398]
mov rcx, qword [rax + 0x418]
mov rax, rdi
test rcx, rcx
cmovne rax, rcx
mov qword [rbx + 0x3ff8], rax
mov esi, edi
cmp dword [rbx + 0x5540], edi
jle 0x14004e5ed
mov rbp, rdi
nop
mov rax, qword [rbx + 0x5548]
cmp dword [rax + rbp], 1
jne 0x14004e5df
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.140062cf0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x5540]
jl 0x14004e5c0
mov ecx, dword [rbx + 0x5544]
test ecx, ecx
jns 0x14004e613
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5540]
test eax, eax
cmovg edx, eax
call fcn.14006bf70
mov dword [rbx + 0x5540], edi
mov esi, edi
cmp dword [rbx + 0x5530], edi
jle 0x14004e663
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x5538]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x14004e655
cmp qword [rcx + 0x18], rdi
jne 0x14004e655
test dword [rcx + 0x10], 0x400
jne 0x14004e655
call fcn.140064080
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x5530]
jl 0x14004e630
mov r10, qword [0x1400f30e8]
mov dword [r10 + 0x5610], edi
cmp byte [r10 + 0x560c], dil
je 0x14004e72a
mov esi, dword [r10 + 0x4024]
mov ecx, 0x20e
mov dword [r10 + 0x43f8], 7
call fcn.140057ee0
test al, al
je 0x14004e6a5
mov byte [r10 + 0x560c], dil
movss xmm0, dword [r10 + 0x36f0]
ucomiss xmm0, xmm10
jp 0x14004e6c8
jne 0x14004e6c8
test esi, esi
je 0x14004e6c8
mov dword [r10 + 0x5610], esi
mov byte [r10 + 0x560c], dil
or dword [r10 + 0x40f0], 0x40
xor ecx, ecx
mov dword [r10 + 0x4150], 0x3f19999a
call fcn.140059ac0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140082890
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140082890
mov eax, 0x39e0
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x39d0
cmove ecx, eax
add rcx, qword [0x1400f30e8]
call fcn.140082940
call fcn.140057140
mov r10, qword [0x1400f30e8]
movaps xmm10, xmmword [rsp + 0x30]
lea r15, [r10 + 0x401c]
lea rsi, [r10 + 0x5628]
mov dword [r15], edi
mov eax, dword [rsi]
inc eax
cmp dword [r10 + 0x3f60], eax
jne 0x14004e7f6
mov ebp, dword [r10 + 0x4024]
test ebp, ebp
jne 0x14004e764
mov ebp, dword [r10 + 0x4034]
cmp dword [rsi + 8], ebp
je 0x14004e79a
mov dword [rsi + 8], ebp
mov dword [rsi + 4], r12d
mov ecx, dword [rsi + 0x14]
test ecx, ecx
jns 0x14004e797
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rsi + 0x10]
test eax, eax
cmovg edx, eax
call fcn.14006bed0
mov r10, qword [0x1400f30e8]
mov dword [rsi + 0x10], edi
test ebp, ebp
je 0x14004e7f6
movsxd rcx, dword [rsi + 4]
test ecx, ecx
js 0x14004e7c9
mov eax, ecx
cmp ecx, dword [rsi + 0x10]
jge 0x14004e7d9
mov r8, qword [rsi + 0x18]
lea rdx, [rcx + rcx*8]
cmp byte [r8 + rdx*8 + 5], dil
jne 0x14004e7c4
cmp byte [r8 + rdx*8 + 4], 2
jle 0x14004e7d9
inc ecx
mov dword [rsi + 4], ecx
mov eax, ecx
cmp ecx, 0xffffffff
jne 0x14004e7d5
mov dword [r15], ebp
jmp 0x14004e7f6
test ecx, ecx
js 0x14004e7f6
cmp eax, dword [rsi + 0x10]
jge 0x14004e7f6
cdqe
lea rdx, [rax + rax*8]
mov rax, qword [rsi + 0x18]
mov ecx, dword [rax + rdx*8]
mov dword [r15], ecx
mov rax, qword [rsi + 0x18]
inc byte [rax + rdx*8 + 4]
mov byte [rbx + 0x3f71], 1
lea rcx, str.DebugDefault
or dword [r10 + 0x40f0], 2
xor r8d, r8d
xor edx, edx
mov dword [r10 + 0x4114], 0x43c80000
mov dword [r10 + 0x4118], 0x43c80000
mov dword [r10 + 0x40f8], 4
call fcn.140054550
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov r12, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0xb8]
cmp dword [rbx + 0x55b0], edi
jle 0x14004e88f
mov rsi, rdi
mov rax, qword [rbx + 0x55b8]
cmp dword [rsi + rax + 4], 1
jne 0x14004e881
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + 0x10]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x55b0]
jl 0x14004e862
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret