Function at 0x140008580
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov qword [rax + 0x10], rbp
mov rbp, qword [0x14014f5a0]
mov qword [rax + 0x20], r13
mov rbx, rbp
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
mov edi, dword [rbp + 0x3250]
sub edi, 1
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
js 0x140008623
movsxd rsi, edi
shl rsi, 5
mov r14, rsi
nop
mov rdx, qword [rbp + 0x3258]
cmp dword [rdx + rsi + 4], 7
jne 0x140008616
movsxd r8, dword [rbp + 0x3250]
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 [rbp + 0x3250]
sub r14, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x1400085d0
xor edi, edi
mov esi, edi
cmp dword [rbp + 0x3250], edi
jle 0x140008664
mov ebp, edi
mov rax, qword [rbx + 0x3258]
cmp dword [rax + rbp + 4], edi
jne 0x14000864f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rbp + reloc.WS2_32.dll_recv]
inc esi
add rbp, 0x20
cmp esi, dword [rbx + 0x3250]
jl 0x140008631
mov rbp, qword [0x14014f5a0]
mov eax, dword [rbx + 0x1a7c]
mov dword [rbx + 0x1a80], eax
cmp byte [rbp + 0xd3], dil
je 0x140008686
test byte [rbp + 0xc], 2
jne 0x140008686
mov byte [rbp + 0xd3], dil
mov ecx, dword [rbp + 8]
bt ecx, 0xa
jae 0x1400086a5
mov eax, dword [rbp + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x1400086a5
btr ecx, 0xa
mov dword [rbp + 8], ecx
mov eax, dword [rbx + 8]
mov rsi, rbp
mov dword [rbx + 0x1a7c], eax
cmp byte [rbp + 0x3208], dil
jne 0x140008719
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x140008712
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.140003e10
mov rbp, rax
test rax, rax
je 0x14000870b
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.140019340
mov rcx, qword [0x14014f5a0]
test rcx, rcx
je 0x140008702
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [0x14014f5a0]
mov byte [rsi + 0x3208], 1
movss xmm0, dword [rsi + 0x320c]
xorps xmm8, xmm8
comiss xmm0, xmm8
mov qword [rsp + 0x70], r15
jbe 0x1400087b6
subss xmm0, dword [rsi + 0x18]
comiss xmm8, xmm0
movss dword [rsi + 0x320c], xmm0
jb 0x1400087b6
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x1400087a9
lea rcx, [rsp + 0xa0]
mov dword [rbp + 0x320c], edi
mov qword [rsp + 0xa0], rdi
call fcn.1400196a0
lea rdx, [0x1400f8320]
mov rcx, r14
mov r15, rax
call fcn.140003ce0
mov rbp, rax
test rax, rax
je 0x1400087b0
mov r8, qword [rsp + 0xa0]
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, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x1400087b0
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x320c], edi
movss xmm0, dword [rbx + 0x18]
lea rcx, [rbx + 0x31a0]
inc dword [rbx + 0x1ca0]
xor edx, edx
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1cb0], 1
mov dword [rbx + 0x3188], edi
mov dword [rbx + 0x1d18], edi
addsd xmm0, qword [rbx + 0x1c98]
movsd qword [rbx + 0x1c98], xmm0
call fcn.1400257b0
movsxd rax, dword [rbx + 0x34a4]
movss xmm1, dword [rbx + 0x18]
movss xmm10, dword [0x1401002e4]
movaps xmm0, xmm1
movss xmm9, dword [0x14010019c]
subss xmm0, dword [rbx + rax*4 + 0x32c4]
addss xmm0, dword [rbx + 0x34a8]
movss dword [rbx + 0x34a8], xmm0
movss dword [rbx + rax*4 + 0x32c4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x34a4]
movss xmm1, dword [rbx + 0x34a8]
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 + 0x34a4], ecx
jbe 0x14000887e
divss xmm1, dword [0x140100288]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140008882
movaps xmm0, xmm10
movss dword [rbx + 0x39c], xmm0
call fcn.14001a5f0
mov rax, qword [rbx + 0xa8]
mov rbp, qword [0x14014f5a0]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x1400088bb
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.1400122f0
mov eax, dword [rbx + 0x1f00]
movaps xmm7, xmm10
movss xmm4, dword [0x140100338]
movaps xmm6, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x140008937
mov rcx, qword [rbx + 0x1f08]
mov edx, eax
nop word [rax + rax]
mov rax, qword [rcx]
movss xmm3, dword [rax + 8]
comiss xmm7, xmm3
movss xmm2, dword [rax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x14]
jbe 0x140008915
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x14000891d
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x140008925
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x14000892d
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x1400088f0
movss dword [rbx + 0x1ab4], xmm7
movss dword [rbx + 0x1ab8], xmm6
movss dword [rbx + 0x1abc], xmm4
movss dword [rbx + 0x1ac0], xmm5
mov eax, dword [rbx + 0x1704]
movss xmm1, dword [rbx + 0x1708]
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x1aac], eax
movss xmm0, dword [rbx + 0x1ab0]
ucomiss xmm0, xmm1
jp 0x140008983
je 0x140008a33
movss xmm6, dword [0x140100218]
lea r14, [rbx + 0x1c4c]
movss dword [rbx + 0x1ab0], xmm1
mov esi, edi
mov r15d, 0x200
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x1400089fb
movss xmm1, dword [rbx + 0x1ab0]
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 0x1400089f2
mov eax, 4
jmp 0x1400089fd
cmp eax, r15d
cmovg eax, r15d
jmp 0x1400089fd
mov eax, edi
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x1400089a2
movss xmm0, dword [0x140100114]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1ab0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c48], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x1ac4], edi
cmp byte [rbx + 0x1700], dil
je 0x140008a5a
mov dword [rbx + 0x1ac4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1701], dil
je 0x140008a7f
mov rax, qword [rbx + 0x1a88]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140008a7f
or edx, 2
mov dword [rbx + 0x1ac4], edx
cmp byte [rbx + 0x1702], dil
je 0x140008a91
or edx, 4
mov dword [rbx + 0x1ac4], edx
test byte [rbx + 0xc], 8
je 0x140008aa0
or edx, 8
mov dword [rbx + 0x1ac4], edx
mov edx, edi
cmp dword [rbx + 0x1f00], edi
jle 0x140008aef
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1f08]
lea r8, [r8 + 8]
xorps xmm0, xmm0
inc edx
mov rcx, qword [r8 + 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 edx, dword [rbx + 0x1f00]
jl 0x140008ab0
cmp byte [rbx + 0x20e4], dil
je 0x140008b23
mov eax, dword [rbx + 0x2104]
cmp eax, dword [rbx + 0x1d7c]
jne 0x140008b23
cmp dword [rbp + 0x1d7c], eax
jne 0x140008b14
mov dword [rbp + 0x1d80], eax
cmp dword [rbp + 0x1db8], eax
jne 0x140008b23
mov byte [rbp + 0x1dbc], 1
cmp dword [rbx + 0x1d6c], edi
jne 0x140008b33
mov dword [rbx + 0x1d74], edi
jmp 0x140008b45
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x140008b4b
cmp dword [rbx + 0x1d7c], eax
jne 0x140008b4b
mov dword [rbx + 0x1d78], edi
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x140008b85
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
cmp dword [rbx + 0x1d7c], eax
je 0x140008b85
addss xmm1, dword [rbx + 0x1d78]
movss dword [rbx + 0x1d78], xmm1
mov dword [rbx + 0x1d6c], eax
mov r14d, 0xffffffff
movzx eax, byte [rbx + 0x1d71]
mov byte [rbx + 0x1d72], al
mov eax, dword [rbx + 0x1d7c]
mov dword [rbx + 0x1d68], edi
mov word [rbx + 0x1d70], di
mov byte [rbx + 0x1d73], dil
cmp dword [rbx + 0x1d80], eax
je 0x140008c1e
cmp dword [rbx + 0x1db8], eax
jne 0x140008c1e
test eax, eax
je 0x140008c1e
mov ecx, dword [rbp + 0x1d7c]
test ecx, ecx
setne al
mov byte [rbp + 0x1d88], al
test ecx, ecx
je 0x140008bf5
mov dword [rbp + 0x1d84], edi
mov word [rbp + 0x1d8b], di
mov dword [rbp + 0x1db4], r14d
mov dword [rbp + 0x1d7c], edi
mov word [rbp + 0x1d89], di
mov qword [rbp + 0x1da8], rdi
mov word [rbp + 0x1d8d], di
mov qword [rbp + 0x1d90], rdi
mov qword [rbp + 0x1d98], rdi
mov ecx, dword [rbx + 0x1d7c]
test ecx, ecx
je 0x140008c3d
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1d84]
movss dword [rbx + 0x1d84], xmm0
mov rax, qword [rbx + 0x1da8]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1dcc]
mov qword [rbx + 0x1dc0], rax
movzx eax, byte [rbx + 0x1d8c]
mov byte [rbx + 0x1dbd], al
mov eax, dword [rbx + 0x3148]
movss dword [rbx + 0x1dcc], xmm0
mov dword [rbx + 0x1db8], ecx
mov dword [rbx + 0x1d80], edi
mov byte [rbx + 0x1d8d], dil
mov byte [rbx + 0x1dbc], dil
mov byte [rbx + 0x1d88], dil
test eax, eax
je 0x140008ca2
cmp ecx, eax
je 0x140008ca2
mov dword [rbx + 0x3148], edi
test ecx, ecx
jne 0x140008cb4
mov qword [rbx + 0x1d90], rdi
mov qword [rbx + 0x1d98], rdi
mov eax, dword [rbx + 0x2154]
mov r8d, 0x800
mov dword [rbx + 0x2158], eax
mov eax, edi
mov qword [rbx + 0x2150], 0x7f7fffff
mov word [rbx + 0x20e5], di
mov dword [rbx + 0x2160], edi
cmp byte [rbp + 0x13c], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rbp + 0x13d], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rbp + 0x13e], dil
cmove edx, ecx
lea rcx, [rbx + 0xc98]
mov eax, edx
or eax, 8
cmp byte [rbp + 0x13f], dil
cmove eax, edx
lea rdx, [rbx + 0x498]
mov dword [rbx + 0x3bc], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x140100308]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x140008d6e
movss xmm0, dword [rax - 4]
comiss xmm8, xmm0
jbe 0x140008d67
movaps xmm0, xmm8
jmp 0x140008d71
addss xmm0, dword [rbx + 0x18]
jmp 0x140008d71
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140008d92
movss xmm0, dword [rax]
comiss xmm8, xmm0
jbe 0x140008d8b
movaps xmm0, xmm8
jmp 0x140008d95
addss xmm0, dword [rbx + 0x18]
jmp 0x140008d95
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140008db7
movss xmm0, dword [rax + 4]
comiss xmm8, xmm0
jbe 0x140008db0
movaps xmm0, xmm8
jmp 0x140008dba
addss xmm0, dword [rbx + 0x18]
jmp 0x140008dba
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140008ddd
movss xmm0, dword [rax + 8]
comiss xmm8, xmm0
jbe 0x140008dd6
movaps xmm0, xmm8
jmp 0x140008de0
addss xmm0, dword [rbx + 0x18]
jmp 0x140008de0
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140008d50
call fcn.140015aa0
call fcn.1400079b0
test byte [rbx + 8], 0x40
jne 0x140008e2e
cmp dword [rbx + 0x31d0], edi
jg 0x140008e1b
cmp dword [rbx + 0x31e0], edi
jle 0x140008f13
mov dl, 1
call fcn.140023020
xor ecx, ecx
call fcn.140022b40
jmp 0x140008f13
cmp byte [rbx + 0xc8], dil
je 0x140008e82
mov esi, edi
cmp dword [rbx + 0x31d0], edi
jle 0x140008e82
mov rbp, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x31d8]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140008e74
cmp qword [rcx + 0x10], rdi
jne 0x140008e74
cmp qword [rcx + 0x18], rdi
je 0x140008e74
mov ecx, dword [rcx]
call fcn.140022b40
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x31d0]
jl 0x140008e50
cmp byte [rbx + 0x3200], dil
je 0x140008ec5
xor ecx, ecx
call fcn.1400196a0
xor edx, edx
call fcn.140023020
xor ecx, ecx
call fcn.140022b40
mov r8d, dword [rbx + 0x31f0]
mov rcx, rbx
mov rdx, qword [rbx + 0x31f8]
call fcn.14001c7d0
mov rcx, rbx
call fcn.14001ca10
mov byte [rbx + 0x3200], dil
mov ebp, edi
cmp dword [rbx + 0x31e0], edi
jle 0x140008f13
mov rsi, rdi
mov rax, qword [rbx + 0x31e8]
cmp dword [rsi + rax], 2
jne 0x140008f05
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x140008ef3
mov r8b, 1
call fcn.14001cf40
jmp 0x140008f05
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x140008f05
mov rcx, rbx
call fcn.14001d0a0
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x31e0]
jl 0x140008ed2
call fcn.140008240
call fcn.140007340
mov r8, qword [0x14014f5a0]
mov eax, dword [r8 + 0x1ee0]
sub eax, 1
js 0x140008f6b
mov r8, qword [r8 + 0x1ee8]
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 0x140008f61
test dword [rax + 0xc], 0x8000000
jne 0x140008f82
sub r8, 0x30
sub rdx, 1
jns 0x140008f50
cmp qword [rbx + 0x2090], rdi
je 0x140008f9e
movss xmm0, dword [rbx + 0x20ac]
comiss xmm0, xmm8
jbe 0x140008f9e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14010023c]
addss xmm1, dword [rbx + 0x20dc]
minss xmm1, xmm9
jmp 0x140008fbc
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14010024c]
movss xmm1, dword [rbx + 0x20dc]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x20dc], xmm1
mov dword [rbx + 0x20e0], edi
mov qword [rbx + 0x34b0], 0xffffffffffffffff
mov dword [rbx + 0x34ac], r14d
mov dword [rbx + 0x31b0], 0x3f800000
mov dword [rbx + 0x31b4], 0x3f800000
mov qword [rbx + 0x31c0], rdi
call fcn.140007d70
mov r11, qword [0x14014f5a0]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1f60]
test r8, r8
je 0x140009046
cmp byte [r8 + 0xcf], dil
je 0x140009046
test dword [r8 + 0xc], 0x40000
jne 0x140009046
cmp byte [r11 + 0x13c], dil
jne 0x140009046
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x140009046
call fcn.14000bc20
test al, al
je 0x140009046
mov al, 1
jmp 0x140009048
xor al, al
mov byte [r11 + 0x20d8], al
cmp dword [r11 + 0x1d7c], edi
jne 0x1400090a9
test al, al
je 0x1400090a9
mov qword [r11 + 0x20c0], r8
mov dword [r11 + 0x20d0], 0x7fffffff
cmp dword [r11 + 0x1f68], edi
je 0x140009096
mov edx, dword [r11 + 0x1fb0]
cmp edx, 0x7fffffff
je 0x140009096
movzx eax, byte [r11 + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x1400090a2
movzx eax, byte [r11 + 0x13d]
neg al
sbb ecx, ecx
mov dword [r11 + 0x20d4], ecx
mov r8, qword [r11 + 0x20c0]
mov qword [r11 + 0x20b8], rdi
mov dword [r11 + 0x20cc], 0x7fffffff
mov dword [r11 + 0x20c8], 0x7fffffff
test r8, r8
je 0x140009146
mov eax, dword [r11 + 0x20d0]
mov qword [r11 + 0x20b8], r8
cmp eax, 0x7fffffff
je 0x140009101
mov ecx, dword [r8 + 0x1fc]
cmp ecx, r14d
je 0x140009101
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x20c8], edx
mov eax, dword [r11 + 0x20d4]
cmp eax, 0x7fffffff
je 0x140009129
mov ecx, dword [r8 + 0x200]
cmp ecx, r14d
je 0x140009129
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x20cc], edx
mov qword [r11 + 0x20c0], rdi
mov dword [r11 + 0x20d4], 0x7fffffff
mov dword [r11 + 0x20d0], 0x7fffffff
mov dword [r11 + 0x1fb0], 0x7fffffff
cmp byte [rbx + 0x1cb3], dil
jne 0x14000917b
movss xmm0, dword [rbx + 0xd8]
comiss xmm8, xmm0
ja 0x14000917b
movsd xmm10, qword [rbx + 0x1c98]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1cc8], edi
je 0x1400092e6
mov r14, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1cd0]
mov rsi, qword [r14 + rax]
movzx eax, byte [rsi + 0xcf]
mov byte [rsi + 0xd0], al
mov word [rsi + 0xda], di
mov byte [rsi + 0xcf], dil
mov byte [rsi + 0xd1], dil
test al, al
jne 0x1400092d4
cmp byte [rsi + 0x428], dil
jne 0x1400092d4
comiss xmm10, dword [rsi + 0x2c0]
jbe 0x1400092d4
mov rcx, qword [rsi + 0x2f8]
mov byte [rsi + 0x428], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x420], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x424], eax
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x140009232
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x108], rdi
test rax, rax
je 0x140009225
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x110], rdi
mov rcx, qword [rsi + 0x2f8]
call fcn.14002de70
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x140009270
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x140009263
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1d8], rdi
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x1400092a2
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x140009295
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x218], rdi
mov rcx, qword [rsi + 0x228]
test rcx, rcx
je 0x1400092d4
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x220], rdi
test rax, rax
je 0x1400092c7
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x228], rdi
inc ebp
add r14, 8
cmp ebp, dword [rbx + 0x1cc8]
jne 0x140009190
mov ebp, edi
cmp dword [rbx + 0x21c8], edi
jle 0x140009434
mov qword [rsp + 0xb0], r12
mov r15, rdi
movabs r12, 0x6d3a06d3a06d3a07
mov r14, rdi
nop dword [rax]
mov rax, qword [rbx + 0x21d0]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm8
jb 0x140009413
comiss xmm10, xmm0
jbe 0x140009413
mov rsi, qword [rbx + 0x2198]
mov r13, qword [0x14014f5a0]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.140031770
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x140009380
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x140009373
dec dword [rax + 0x3b0]
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 0x1400093c0
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x1400093b3
dec dword [rax + 0x3b0]
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 0x1400093e7
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 0x1400093d1
sub rsi, qword [r13 + 0x2198]
mov rax, r12
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x21d0]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x21c8]
jl 0x140009310
mov r12, qword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0x20]
cmp byte [rbx + 0x1cb3], dil
je 0x1400094ac
mov rsi, qword [0x14014f5a0]
mov rcx, qword [rsi + 0x1ec8]
test rcx, rcx
je 0x140009475
mov qword [rsi + 0x1ec0], rdi
test rsi, rsi
je 0x140009468
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1ec8], rdi
mov rcx, qword [rsi + 0x1ed8]
test rcx, rcx
je 0x1400094a7
mov rax, qword [0x14014f5a0]
mov qword [rsi + 0x1ed0], rdi
test rax, rax
je 0x14000949a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1ed8], rdi
call fcn.14003b490
mov rax, qword [rbx + 0x1f60]
mov byte [rbx + 0x1cb3], dil
test rax, rax
je 0x1400094cf
cmp byte [rax + 0xd0], dil
jne 0x1400094cf
xor ecx, ecx
call fcn.140012200
lea rcx, [rbx + 0x1cf8]
call fcn.140025530
mov ecx, dword [rbx + 0x1ef4]
test ecx, ecx
jns 0x140009501
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ef0]
test eax, eax
cmovg edx, eax
call fcn.140025ba0
lea rsi, [rbx + 0x1ec0]
mov dword [rbx + 0x1ef0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x14000952d
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.140025c40
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x140009541
mov edx, 8
mov rcx, rsi
call fcn.140025c40
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1ed0]
inc dword [rsi]
call fcn.140024f30
mov r13, qword [0x14014f5a0]
mov r11, qword [rbx + 0x1f60]
movsxd rbp, dword [r13 + 0x1ee0]
test ebp, ebp
je 0x140009613
mov r10d, edi
test r11, r11
je 0x140009600
test ebp, ebp
jle 0x140009600
mov rsi, qword [r13 + 0x1ee8]
mov r14, rdi
add rsi, 8
mov r15, rdi
nop dword [rax]
mov rax, qword [rsi]
test rax, rax
je 0x1400095ed
test dword [rax + 0xc], 0x1000000
jne 0x1400095ed
mov rdx, r14
cmp r10d, ebp
jge 0x140009600
mov rcx, qword [r13 + 0x1ee8]
add rcx, 8
add rcx, r15
mov r8, qword [rcx]
test r8, r8
je 0x1400095df
mov rax, qword [r11 + 0x3d8]
cmp qword [r8 + 0x3d8], rax
je 0x1400095ed
inc rdx
add rcx, 0x30
cmp rdx, rbp
jl 0x1400095c7
jmp 0x140009609
inc r10d
inc r14
add r15, 0x30
add rsi, 0x30
cmp r10d, ebp
jl 0x1400095a0
cmp r10d, dword [r13 + 0x1ee0]
jge 0x140009613
xor edx, edx
mov ecx, r10d
call fcn.140013e90
test byte [rbx + 8], 0x40
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb8]
je 0x140009733
mov rax, qword [rbx + 0x1d38]
mov qword [rbx + 0x1d40], rdi
test rax, rax
je 0x14000967d
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x140009663
mov rdx, qword [rbx + 0x120]
call fcn.140022950
mov qword [rbx + 0x1d40], rax
jmp 0x14000967d
mov rax, qword [rax + 0x3d0]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x14000967d
mov qword [rbx + 0x1d40], rcx
mov esi, edi
cmp dword [rbx + 0x31e0], edi
jle 0x1400096bd
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x31e8]
cmp dword [rax + rbp], 1
jne 0x1400096af
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.14001cb00
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x31e0]
jl 0x140009690
mov ecx, dword [rbx + 0x31e4]
test ecx, ecx
jns 0x1400096e3
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x31e0]
test eax, eax
cmovg edx, eax
call fcn.140025cd0
mov dword [rbx + 0x31e0], edi
mov esi, edi
cmp dword [rbx + 0x31d0], edi
jle 0x140009733
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x31d8]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140009725
cmp qword [rcx + 0x10], rdi
jne 0x140009725
test dword [rcx + 8], 0x400
jne 0x140009725
call fcn.14001df40
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x31d0]
jl 0x140009700
mov r8, qword [0x14014f5a0]
mov rbp, qword [rsp + 0xa8]
mov dword [r8 + 0x32b0], edi
cmp byte [r8 + 0x32ac], dil
je 0x14000980b
mov esi, dword [r8 + 0x1d6c]
mov dword [r8 + 0x20e0], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140009780
call fcn.14000bc20
test al, al
je 0x140009780
mov byte [r8 + 0x32ac], dil
movss xmm0, dword [r8 + 0x434]
ucomiss xmm0, xmm8
jp 0x1400097a3
jne 0x1400097a3
test esi, esi
je 0x1400097a3
mov dword [r8 + 0x32b0], esi
mov byte [r8 + 0x32ac], dil
mov rax, qword [0x14014f5a0]
xor edx, edx
or dword [rax + 0x1dd0], 0x40
mov dword [rax + 0x1e30], 0x3f19999a
call fcn.140013970
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.14003c910
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14003c910
mov eax, reloc.WS2_32.dll_recv
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov rcx, rdi
cmove rcx, rax
mov rax, qword [0x14014f5a0]
add rax, 0x170c
add rcx, rax
call fcn.14003ca10
call fcn.140011c80
mov rax, qword [0x14014f5a0]
lea rcx, str.DebugDefault
mov byte [rbx + 0x1cb1], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1dd0], 2
mov dword [rax + 0x1df4], 0x43c80000
mov dword [rax + 0x1df8], 0x43c80000
mov dword [rax + 0x1dd8], 4
call fcn.14000eb80
movaps xmm8, xmmword [rsp + 0x40]
cmp dword [rbx + 0x3250], edi
jle 0x14000988d
mov rsi, rdi
mov rax, qword [rbx + 0x3258]
cmp dword [rax + rsi + 4], 1
jne 0x14000987f
movsxd rdx, edi
mov rcx, rbx
shl rdx, 5
add rdx, rax
call qword [rax + rsi + reloc.WS2_32.dll_recv]
inc edi
add rsi, 0x20
cmp edi, dword [rbx + 0x3250]
jl 0x140009860
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret