Function at 0x140007940
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rsi, qword [0x14021d850]
mov qword [rax + 0x10], rbp
mov rbx, rsi
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
mov edi, dword [rsi + 0x3120]
sub edi, 1
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
js 0x1400079e3
movsxd rbp, edi
shl rbp, 5
mov r14, rbp
nop
mov rdx, qword [rsi + 0x3128]
cmp dword [rdx + rbp + 4], 7
jne 0x1400079d6
movsxd r8, dword [rsi + 0x3120]
mov rcx, rdx
sub rdx, rdx
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 + 0x3120]
sub r14, 0x20
sub rbp, 0x20
sub edi, 1
jns 0x140007990
xor edi, edi
mov ebp, edi
cmp dword [rsi + 0x3120], edi
jle 0x140007a24
mov esi, edi
mov rax, qword [rbx + 0x3128]
cmp dword [rax + rsi + 4], edi
jne 0x140007a0f
movsxd rdx, ebp
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + reloc.WS2_32.dll_recv]
inc ebp
add rsi, 0x20
cmp ebp, dword [rbx + 0x3120]
jl 0x1400079f1
mov rsi, qword [0x14021d850]
cmp byte [rsi + 0xcc], dil
je 0x140007a3a
test byte [rsi + 0xc], 2
jne 0x140007a3a
mov byte [rsi + 0xcc], dil
mov rbp, rsi
cmp byte [rsi + 0x30d9], dil
jne 0x140007aa5
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140007a9e
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.140003f60
mov rsi, rax
test rax, rax
je 0x140007a97
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140015e00
mov rcx, qword [0x14021d850]
test rcx, rcx
je 0x140007a8e
dec dword [rcx + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [0x14021d850]
mov byte [rbp + 0x30d9], 1
movss xmm0, dword [rbp + 0x30dc]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140007b41
subss xmm0, dword [rbp + 0x18]
comiss xmm0, xmm6
movss dword [rbp + 0x30dc], xmm0
ja 0x140007b41
mov r14, qword [rbp + 0x20]
test r14, r14
je 0x140007b34
lea rcx, [rsp + 0xb0]
mov dword [rsi + 0x30dc], edi
mov qword [rsp + 0xb0], rdi
call fcn.140016160
lea rdx, [0x1401f02a0]
mov rcx, r14
mov r15, rax
call fcn.140003e30
mov rsi, rax
test rax, rax
je 0x140007b2b
mov r8, qword [rsp + 0xb0]
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 [0x14021d850]
jmp 0x140007b3b
mov byte [rbp + 0x398], 1
mov dword [rbp + 0x30dc], edi
inc dword [rbx + 0x1bb0]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1bbc], 1
mov word [rbx + 0x309e], di
mov dword [rbx + 0x1c20], edi
addsd xmm0, qword [rbx + 0x1ba8]
movsd qword [rbx + 0x1ba8], xmm0
mov ecx, dword [rbx + 0x30bc]
test ecx, ecx
jns 0x140007ba0
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x30b8]
test eax, eax
cmovg edx, eax
call fcn.140017b30
mov rsi, qword [0x14021d850]
movss xmm9, dword [0x1401f6d30]
movss xmm10, dword [0x1401f6c04]
mov dword [rbx + 0x30b8], edi
movsxd rax, dword [rbx + 0x3398]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x31b8]
addss xmm0, dword [rbx + 0x33a0]
movss dword [rbx + 0x33a0], xmm0
movss dword [rbx + rax*4 + 0x31b8], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3398]
movss xmm2, dword [rbx + 0x33a0]
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 + 0x339c]
inc eax
mov dword [rbx + 0x3398], ecx
mov ecx, 0x78
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm6
mov dword [rbx + 0x339c], ecx
jbe 0x140007c49
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x140007c4d
movaps xmm1, xmm9
movss dword [rbx + 0x39c], xmm1
mov r8d, edi
mov rax, qword [rsi + 0x1e20]
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 + 0x1e18], edi
jle 0x140007d32
mov rdx, rdi
nop word [rax + rax]
mov rax, qword [rsi + 0x1e20]
inc r8d
mov rcx, qword [rdx + rax]
add rdx, 8
movsd xmm4, qword [rcx + 0xa0]
movsd xmm3, qword [rcx + 0xa8]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movss xmm2, dword [rcx + 0xc]
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm2, xmm4
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xa8], rdi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0x10]
mov qword [rcx + 0xa0], rdi
addss xmm2, xmm3
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
movsd qword [rcx + 0x98], xmm3
movsd qword [rcx + 0x90], xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
maxss xmm2, xmm6
addss xmm1, dword [rcx + 0x9c]
movss dword [rcx + 0x1c], xmm2
maxss xmm1, xmm6
movss dword [rcx + 0x20], xmm1
cmp r8d, dword [rsi + 0x1e18]
jl 0x140007c90
mov rax, qword [rbx + 0xa8]
mov byte [rax + 0x18], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x140007d57
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.14000f9d0
mov eax, dword [rbx + 0x1e18]
movaps xmm2, xmm9
movss xmm5, dword [0x1401f6d78]
movaps xmm8, xmm9
movaps xmm7, xmm5
test eax, eax
jle 0x140007dd9
mov rcx, qword [rbx + 0x1e20]
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm4, dword [rax + 4]
comiss xmm2, xmm4
movss xmm3, dword [rax + 8]
movaps xmm0, xmm4
addss xmm0, dword [rax + 0xc]
movaps xmm1, xmm3
addss xmm1, dword [rax + 0x10]
jbe 0x140007db5
movaps xmm2, xmm4
comiss xmm8, xmm3
jbe 0x140007dbf
movaps xmm8, xmm3
comiss xmm5, xmm0
jae 0x140007dc7
movaps xmm5, xmm0
comiss xmm7, xmm1
jae 0x140007dcf
movaps xmm7, xmm1
add rcx, 8
sub rdx, 1
jne 0x140007d90
mov eax, dword [rbx + 0x1630]
mov r14d, 0x200
movss xmm0, dword [rbx + 0x1634]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm8
mov dword [rbx + 0x19bc], eax
movaps xmm8, xmmword [rsp + 0x50]
shufps xmm2, xmm2, 0xc6
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm7
shufps xmm2, xmm2, 0x39
movups xmmword [rbx + 0x19c4], xmm2
ucomiss xmm0, dword [rbx + 0x19c0]
je 0x140007eeb
movss xmm7, dword [0x1401f6c5c]
lea r15, [rbx + 0x1b5c]
movss dword [rbx + 0x19c0], xmm0
mov ebp, edi
movd xmm0, ebp
cvtdq2ps xmm0, xmm0
test ebp, ebp
je 0x140007ec0
movaps xmm1, xmm0
minss xmm1, dword [rbx + 0x19c0]
divss xmm1, xmm0
movaps xmm0, xmm10
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si ecx, xmm1
cmp ecx, 0x80000000
je 0x140007e9e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
je 0x140007e9e
unpcklps xmm1, xmm1
movmskps eax, xmm1
and eax, 1
xor eax, 1
add ecx, eax
movd xmm1, ecx
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm1
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, 4
jge 0x140007eb7
mov eax, 4
jmp 0x140007ec2
cmp eax, r14d
cmovg eax, r14d
jmp 0x140007ec2
mov eax, edi
mov byte [r15], al
inc ebp
inc r15
cmp ebp, 0x40
jl 0x140007e43
movss xmm0, dword [rbx + 0x19c0]
mulss xmm0, dword [0x1401f6d10]
movss dword [rbx + 0x1b58], xmm0
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x60]
mov dword [rbx + 0x19d4], edi
cmp byte [rbx + 0x162c], dil
je 0x140007f12
mov dword [rbx + 0x19d4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x162d], dil
je 0x140007f37
mov rax, qword [rbx + 0x1998]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140007f37
or edx, 2
mov dword [rbx + 0x19d4], edx
cmp byte [rbx + 0x162e], dil
je 0x140007f49
or edx, 4
mov dword [rbx + 0x19d4], edx
test byte [rbx + 0xc], 8
je 0x140007f58
or edx, 8
mov dword [rbx + 0x19d4], edx
mov edx, edi
cmp dword [rbx + 0x1e18], edi
jle 0x140007f99
mov r8, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x1e20]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [rax + r8 - 8]
movups xmmword [rcx + 0x40], xmm0
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm0
cmp edx, dword [rbx + 0x1e18]
jl 0x140007f70
cmp byte [rbx + 0x1fbc], dil
je 0x140007fcd
mov eax, dword [rbx + 0x1fdc]
cmp eax, dword [rbx + 0x1c7c]
jne 0x140007fcd
cmp dword [rsi + 0x1c7c], eax
jne 0x140007fbe
mov dword [rsi + 0x1c80], eax
cmp dword [rsi + 0x1cb8], eax
jne 0x140007fcd
mov byte [rsi + 0x1cbc], 1
cmp dword [rbx + 0x1c6c], edi
jne 0x140007fdd
mov dword [rbx + 0x1c74], edi
jmp 0x140007fef
mov eax, dword [rbx + 0x1c68]
test eax, eax
je 0x140007ff5
cmp dword [rbx + 0x1c7c], eax
jne 0x140007ff5
mov dword [rbx + 0x1c78], edi
mov eax, dword [rbx + 0x1c68]
test eax, eax
je 0x14000802f
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1c74]
movss dword [rbx + 0x1c74], xmm0
cmp dword [rbx + 0x1c7c], eax
je 0x14000802f
addss xmm1, dword [rbx + 0x1c78]
movss dword [rbx + 0x1c78], xmm1
mov dword [rbx + 0x1c6c], eax
mov r15d, 0xffffffff
movzx eax, byte [rbx + 0x1c71]
mov byte [rbx + 0x1c72], al
mov eax, dword [rbx + 0x1c7c]
mov dword [rbx + 0x1c68], edi
mov word [rbx + 0x1c70], di
mov byte [rbx + 0x1c73], dil
cmp dword [rbx + 0x1c80], eax
je 0x1400080c8
cmp dword [rbx + 0x1cb8], eax
jne 0x1400080c8
test eax, eax
je 0x1400080c8
mov ecx, dword [rsi + 0x1c7c]
test ecx, ecx
setne al
mov byte [rsi + 0x1c88], al
test ecx, ecx
je 0x14000809f
mov dword [rsi + 0x1c84], edi
mov word [rsi + 0x1c8b], di
mov dword [rsi + 0x1cb4], r15d
mov dword [rsi + 0x1c7c], edi
mov word [rsi + 0x1c89], di
mov qword [rsi + 0x1ca8], rdi
mov word [rsi + 0x1c8d], di
mov qword [rsi + 0x1c90], rdi
mov qword [rsi + 0x1c98], rdi
mov ecx, dword [rbx + 0x1c7c]
test ecx, ecx
je 0x1400080e7
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1c84]
movss dword [rbx + 0x1c84], xmm0
mov rax, qword [rbx + 0x1ca8]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1ccc]
mov qword [rbx + 0x1cc0], rax
movzx eax, byte [rbx + 0x1c8c]
mov byte [rbx + 0x1cbd], al
mov eax, dword [rbx + 0x3030]
movss dword [rbx + 0x1ccc], xmm0
mov dword [rbx + 0x1cb8], ecx
mov dword [rbx + 0x1c80], edi
mov byte [rbx + 0x1c8d], dil
mov byte [rbx + 0x1cbc], dil
mov byte [rbx + 0x1c88], dil
test eax, eax
je 0x14000814c
cmp ecx, eax
je 0x14000814c
mov dword [rbx + 0x3030], edi
test ecx, ecx
jne 0x14000815e
mov qword [rbx + 0x1c90], rdi
mov qword [rbx + 0x1c98], rdi
mov eax, dword [rbx + 0x202c]
mov dword [rbx + 0x2030], eax
mov qword [rbx + 0x2028], 0x7f7fffff
mov word [rbx + 0x1fbd], di
mov dword [rbx + 0x2038], edi
cmp byte [rbx + 0x1558], dil
je 0x14000836e
lea rcx, [rbx + 0x144]
mov r8, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + 0x4b4]
nop word [rax + rax]
mov dword [rax + 0x800], 0xbf800000
mov dword [rax], 0xbf800000
lea rax, [rax + 4]
sub r14, 1
jne 0x1400081b0
mov dword [rbx + 0x140], edi
mov qword [rbx + 0x3c0], rdi
mov dword [rbx + 0x1504], 0xbf800000
mov dword [rbx + 0x14b4], 0xbf800000
mov dword [rbx + 0x1508], 0xbf800000
mov dword [rbx + 0x14b8], 0xbf800000
mov dword [rbx + 0x150c], 0xbf800000
mov dword [rbx + 0x14bc], 0xbf800000
mov dword [rbx + 0x1510], 0xbf800000
mov dword [rbx + 0x14c0], 0xbf800000
mov dword [rbx + 0x1514], 0xbf800000
mov dword [rbx + 0x14c4], 0xbf800000
mov dword [rbx + 0x1518], 0xbf800000
mov dword [rbx + 0x14c8], 0xbf800000
mov dword [rbx + 0x151c], 0xbf800000
mov dword [rbx + 0x14cc], 0xbf800000
mov dword [rbx + 0x1520], 0xbf800000
mov dword [rbx + 0x14d0], 0xbf800000
mov dword [rbx + 0x1524], 0xbf800000
mov dword [rbx + 0x14d4], 0xbf800000
mov dword [rbx + 0x1528], 0xbf800000
mov dword [rbx + 0x14d8], 0xbf800000
mov dword [rbx + 0x152c], 0xbf800000
mov dword [rbx + 0x14dc], 0xbf800000
mov dword [rbx + 0x1530], 0xbf800000
mov dword [rbx + 0x14e0], 0xbf800000
mov dword [rbx + 0x1534], 0xbf800000
mov dword [rbx + 0x14e4], 0xbf800000
mov dword [rbx + 0x1538], 0xbf800000
mov dword [rbx + 0x14e8], 0xbf800000
mov dword [rbx + 0x153c], 0xbf800000
mov dword [rbx + 0x14ec], 0xbf800000
mov dword [rbx + 0x1540], 0xbf800000
mov dword [rbx + 0x14f0], 0xbf800000
mov dword [rbx + 0x1544], 0xbf800000
mov dword [rbx + 0x14f4], 0xbf800000
mov dword [rbx + 0x1548], 0xbf800000
mov dword [rbx + 0x14f8], 0xbf800000
mov dword [rbx + 0x154c], 0xbf800000
mov dword [rbx + 0x14fc], 0xbf800000
mov dword [rbx + 0x1550], 0xbf800000
mov dword [rbx + 0x1500], 0xbf800000
mov byte [rbx + 0x1558], dil
cmp byte [rsi + 0x140], dil
mov eax, edi
mov r8d, 0x800
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 + 0xcb4]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x143], dil
cmove eax, edx
lea rdx, [rbx + 0x4b4]
mov dword [rbx + 0x3c0], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x1401f6d58]
lea rcx, [rbx + 0x145]
lea rax, [rbx + 0x4b8]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x1400083fe
movss xmm0, dword [rax - 4]
comiss xmm0, xmm6
jae 0x1400083f7
movaps xmm0, xmm6
jmp 0x140008401
addss xmm0, dword [rbx + 0x18]
jmp 0x140008401
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140008420
movss xmm0, dword [rax]
comiss xmm0, xmm6
jae 0x140008419
movaps xmm0, xmm6
jmp 0x140008423
addss xmm0, dword [rbx + 0x18]
jmp 0x140008423
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140008443
movss xmm0, dword [rax + 4]
comiss xmm0, xmm6
jae 0x14000843c
movaps xmm0, xmm6
jmp 0x140008446
addss xmm0, dword [rbx + 0x18]
jmp 0x140008446
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140008467
movss xmm0, dword [rax + 8]
comiss xmm0, xmm6
jae 0x140008460
movaps xmm0, xmm6
jmp 0x14000846a
addss xmm0, dword [rbx + 0x18]
jmp 0x14000846a
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x1400083e2
call fcn.140012f50
call fcn.140006cf0
call fcn.1400074d0
call fcn.140006780
mov r8, qword [0x14021d850]
mov eax, dword [r8 + 0x1df8]
sub eax, 1
js 0x1400084dc
mov r8, qword [r8 + 0x1e00]
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 0x1400084d2
test dword [rax + 0xc], 0x8000000
jne 0x1400084ee
sub r8, 0x30
sub rdx, 1
jns 0x1400084c1
cmp qword [rbx + 0x1f90], rdi
je 0x14000850a
comiss xmm6, dword [rbx + 0x1fac]
jae 0x14000850a
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1401f6c7c]
addss xmm1, dword [rbx + 0x1fb4]
minss xmm1, xmm10
jmp 0x140008527
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1401f6c90]
movss xmm1, dword [rbx + 0x1fb4]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x1fb4], xmm1
mov dword [rbx + 0x1fb8], edi
mov qword [rbx + 0x33a8], 0xffffffffffffffff
mov dword [rbx + 0x33a4], r15d
mov dword [rbx + 0x30c8], 0x3f800000
mov dword [rbx + 0x30cc], 0x3f800000
call fcn.140007050
movaps xmm10, xmmword [rsp + 0x30]
cmp byte [rbx + 0x1bbf], dil
jne 0x14000858f
movss xmm0, dword [rbx + 0xd0]
comiss xmm0, xmm6
jb 0x14000858f
movsd xmm9, qword [rbx + 0x1ba8]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov ebp, edi
cmp dword [rbx + 0x1bd0], edi
je 0x1400086f6
mov r14, rdi
mov rax, qword [rbx + 0x1bd8]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0x8e]
mov byte [rsi + 0x8f], al
mov word [rsi + 0x9a], di
mov byte [rsi + 0x8e], dil
mov byte [rsi + 0x90], dil
test al, al
jne 0x1400086e4
cmp byte [rsi + 0x398], dil
jne 0x1400086e4
comiss xmm9, dword [rsi + 0x234]
jbe 0x1400086e4
mov rcx, qword [rsi + 0x268]
mov byte [rsi + 0x398], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x390], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x394], eax
mov rcx, qword [rsi + 0xd0]
test rcx, rcx
je 0x140008642
mov rax, qword [0x14021d850]
mov qword [rsi + 0xc8], rdi
test rax, rax
je 0x140008635
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0xd0], rdi
mov rcx, qword [rsi + 0x268]
call fcn.14001f530
mov rcx, qword [rsi + 0x168]
test rcx, rcx
je 0x140008680
mov rax, qword [0x14021d850]
mov qword [rsi + 0x160], rdi
test rax, rax
je 0x140008673
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x168], rdi
mov rcx, qword [rsi + 0x1a0]
test rcx, rcx
je 0x1400086b2
mov rax, qword [0x14021d850]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x1400086a5
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1a0], rdi
mov rcx, qword [rsi + 0x1b0]
test rcx, rcx
je 0x1400086e4
mov rax, qword [0x14021d850]
mov qword [rsi + 0x1a8], rdi
test rax, rax
je 0x1400086d7
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1b0], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1bd0]
jne 0x1400085a0
mov r14d, edi
cmp dword [rbx + 0x20c0], edi
jle 0x140008853
mov qword [rsp + 0xc0], r12
mov r15, rdi
mov qword [rsp + 0xc8], r13
mov r12, rdi
movabs r13, 0xfc0fc0fc0fc0fc1
nop word [rax + rax]
mov rax, qword [rbx + 0x20c8]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm6
jb 0x140008822
comiss xmm0, xmm9
jae 0x140008822
mov rsi, qword [rbx + 0x20a0]
mov rbp, qword [0x14021d850]
add rsi, r12
mov qword [rsi + 0x1d0], rdi
mov rcx, qword [rsi + 0x1c8]
test rcx, rcx
je 0x140008793
mov qword [rsi + 0x1c0], rdi
test rbp, rbp
je 0x140008786
dec dword [rbp + 0x3b0]
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 0x1400087cc
mov rax, qword [0x14021d850]
mov qword [rsi + 0x198], rdi
test rax, rax
je 0x1400087bf
dec dword [rax + 0x3b0]
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 0x1400087f6
mov rcx, rdi
nop dword [rax]
mov rax, qword [rsi + 0x18]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], 0xffff
cmp edx, dword [rsi + 0x74]
jl 0x1400087e0
sub rsi, qword [rbp + 0x20a0]
mov rax, r13
imul rsi
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x20c8]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x208
cmp r14d, dword [rbx + 0x20c0]
jl 0x140008730
mov r13, qword [rsp + 0xc8]
mov r15d, 0xffffffff
mov r12, qword [rsp + 0xc0]
mov r14d, edi
cmp dword [rbx + 0x2088], edi
jle 0x1400088ac
mov rsi, rdi
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [rbx + 0x2090]
movss xmm0, dword [rsi + rbp + 4]
comiss xmm0, xmm6
jb 0x14000889c
comiss xmm0, xmm9
jae 0x14000889c
lea rcx, [rbp + 0x10]
add rcx, rsi
call fcn.140022610
mov dword [rsi + rbp + 4], 0xbf800000
inc r14d
add rsi, 0x70
cmp r14d, dword [rbx + 0x2088]
jl 0x140008870
movaps xmm9, xmmword [rsp + 0x40]
cmp byte [rbx + 0x1bbf], dil
je 0x140008924
mov rsi, qword [0x14021d850]
mov rcx, qword [rsi + 0x1de0]
test rcx, rcx
je 0x1400088ed
mov qword [rsi + 0x1dd8], rdi
test rsi, rsi
je 0x1400088e0
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1de0], rdi
mov rcx, qword [rsi + 0x1df0]
test rcx, rcx
je 0x14000891f
mov rax, qword [0x14021d850]
mov qword [rsi + 0x1de8], rdi
test rax, rax
je 0x140008912
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1df0], rdi
call fcn.140029790
mov rax, qword [rbx + 0x1e28]
mov byte [rbx + 0x1bbf], dil
test rax, rax
je 0x140008995
cmp byte [rax + 0x8f], dil
jne 0x140008995
mov rcx, qword [0x14021d850]
mov eax, dword [rcx + 0x1be0]
sub eax, 1
js 0x14000898e
movsxd rdx, eax
mov rax, qword [rcx + 0x1be8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140008984
cmp byte [rcx + 0x8f], dil
je 0x140008984
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x140008be2
sub r8, 8
sub rdx, 1
jns 0x140008960
xor ecx, ecx
call fcn.14000f6e0
mov ecx, dword [rbx + 0x1c04]
test ecx, ecx
jns 0x1400089bb
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.140017bc0
mov dword [rbx + 0x1c00], edi
mov ecx, dword [rbx + 0x1e0c]
test ecx, ecx
jns 0x1400089e7
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1e08]
test eax, eax
cmovg edx, eax
call fcn.140017a90
lea rsi, [rbx + 0x1dd8]
mov dword [rbx + 0x1e08], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x140008a13
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.140017b30
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x140008a27
mov edx, 8
mov rcx, rsi
call fcn.140017b30
movsxd rcx, dword [rsi]
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1de8]
inc dword [rsi]
call fcn.140017220
mov r8, qword [0x14021d850]
mov dword [r8 + 0x3180], edi
cmp byte [r8 + 0x317c], dil
je 0x140008b0f
mov esi, dword [r8 + 0x1c6c]
mov dword [r8 + 0x1fb8], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140008a84
call fcn.14000a7b0
test al, al
je 0x140008a84
mov byte [r8 + 0x317c], dil
movss xmm0, dword [r8 + 0x450]
ucomiss xmm0, xmm6
jne 0x140008aa4
test esi, esi
je 0x140008aa4
mov dword [r8 + 0x3180], esi
mov byte [r8 + 0x317c], dil
or dword [r8 + 0x1d28], 0x40
xor ecx, ecx
mov dword [r8 + 0x1d88], 0x3f19999a
call fcn.140010cd0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.14002b6f0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14002b6f0
mov eax, reloc.WS2_32.dll_recv
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, 0x20
cmovne ecx, eax
mov rax, qword [0x14021d850]
add rax, 0x1638
add rcx, rax
call fcn.14002b7f0
call fcn.14000f570
mov r8, qword [0x14021d850]
movaps xmm6, xmmword [rsp + 0x70]
mov rsi, r8
mov dword [r8 + 0x1c64], edi
mov eax, dword [r8 + 0x3198]
inc eax
cmp dword [r8 + 0x1bb0], eax
jne 0x140008c30
mov ebp, dword [r8 + 0x1c6c]
test ebp, ebp
jne 0x140008b46
mov ebp, dword [r8 + 0x1c7c]
cmp dword [r8 + 0x31a0], ebp
je 0x140008b91
mov dword [r8 + 0x31a0], ebp
mov dword [r8 + 0x319c], r15d
mov ecx, dword [r8 + 0x31ac]
test ecx, ecx
jns 0x140008b8b
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [r8 + 0x31a8]
test eax, eax
cmovg edx, eax
call fcn.140017c50
mov r8, qword [0x14021d850]
mov dword [rsi + 0x31a8], edi
test ebp, ebp
je 0x140008c30
movsxd rax, dword [rsi + 0x319c]
test eax, eax
js 0x140008bd3
mov ecx, eax
cmp eax, dword [rsi + 0x31a8]
jge 0x140008c06
mov r9, qword [rsi + 0x31b0]
mov rdx, rax
shl rdx, 6
cmp byte [rdx + r9 + 5], dil
jne 0x140008bcb
cmp byte [rdx + r9 + 4], 2
jle 0x140008c06
inc eax
mov dword [rsi + 0x319c], eax
mov ecx, eax
cmp eax, 0xffffffff
jne 0x140008c02
mov dword [rsi + 0x1c64], ebp
jmp 0x140008c30
mov rax, qword [rcx + 0x360]
test rax, rax
je 0x140008bf7
cmp byte [rax + 0x8f], dil
jne 0x140008bfa
mov rax, rcx
mov rcx, rax
jmp 0x140008990
test eax, eax
js 0x140008c30
cmp ecx, dword [rsi + 0x31a8]
jge 0x140008c30
mov rax, qword [rsi + 0x31b0]
movsxd rdx, ecx
shl rdx, 6
mov ecx, dword [rdx + rax]
mov dword [rsi + 0x1c64], ecx
mov rax, qword [rsi + 0x31b0]
inc byte [rax + rdx + 4]
mov byte [rbx + 0x1bbd], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1d28], 2
xor edx, edx
mov dword [r8 + 0x1d48], 0x43c80000
mov dword [r8 + 0x1d4c], 0x43c80000
mov dword [r8 + 0x1d30], 4
xor r8d, r8d
call fcn.14000d1e0
mov r15, qword [rsp + 0x80]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
cmp dword [rbx + 0x3120], edi
jle 0x140008ccd
mov rsi, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x3128]
cmp dword [rsi + rax + 4], 1
jne 0x140008cbf
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rsi + rax + reloc.WS2_32.dll_recv]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3120]
jl 0x140008ca0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret