Function at 0x140020a20
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rbx, qword [0x140157888]
mov qword [rax + 0x10], rbp
mov qword [rax - 0x20], r14
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 + 0x3240]
lea esi, [rax - 1]
test esi, esi
js 0x140020ac9
movsxd rdi, esi
shl rdi, 5
mov rbp, rdi
nop word [rax + rax]
mov rdx, qword [rbx + 0x3248]
cmp dword [rdx + rdi + 4], 7
jne 0x140020ab6
movsxd r8, dword [rbx + 0x3240]
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 + 0x3240]
mov eax, dword [rbx + 0x3240]
sub rbp, 0x20
sub rdi, 0x20
sub esi, 1
jns 0x140020a70
xor edi, edi
mov esi, edi
test eax, eax
jle 0x140020aff
mov ebp, edi
mov rax, qword [rbx + 0x3248]
cmp dword [rax + rbp + 4], edi
jne 0x140020af1
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 + 0x3240]
jl 0x140020ad3
mov rsi, qword [0x140157888]
mov eax, dword [rbx + 0x1a6c]
mov dword [rbx + 0x1a70], eax
cmp byte [rsi + 0xd3], dil
je 0x140020b28
test byte [rsi + 0xc], 2
jne 0x140020b28
mov byte [rsi + 0xd3], dil
mov ecx, dword [rsi + 8]
bt ecx, 0xa
jae 0x140020b47
mov eax, dword [rsi + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140020b47
btr ecx, 0xa
mov dword [rsi + 8], ecx
mov eax, dword [rbx + 8]
mov dword [rbx + 0x1a6c], eax
cmp byte [rsi + 0x31f8], dil
jne 0x140020bb7
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140020bb0
lea r8, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
call fcn.14001cce0
mov rbp, rax
test rax, rax
je 0x140020bb0
mov rdx, qword [rsp + 0xb0]
mov rcx, rax
call fcn.140031400
mov rcx, qword [0x140157888]
test rcx, rcx
je 0x140020ba1
dec dword [rcx + 0x3b0]
mov rdx, qword [0x140157890]
mov rcx, rbp
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov byte [rsi + 0x31f8], 1
movss xmm0, dword [rsi + 0x31fc]
xorps xmm8, xmm8
comiss xmm0, xmm8
jbe 0x140020c56
subss xmm0, dword [rsi + 0x18]
comiss xmm8, xmm0
movss dword [rsi + 0x31fc], xmm0
jb 0x140020c56
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x140020c49
mov rax, qword [0x140157888]
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0xb0], rdi
mov dword [rax + 0x31fc], edi
call fcn.140031760
lea rdx, [0x1400dca18]
mov rcx, rbp
mov r14, rax
call fcn.14001cbb0
mov rbp, rax
test rax, rax
je 0x140020c50
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 0x140020c50
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x31fc], edi
inc dword [rbx + 0x1c90]
movss xmm1, dword [rbx + 0x18]
cvtps2pd xmm0, xmm1
mov byte [rbx + 0x1ca0], 1
mov dword [rbx + 0x3178], edi
mov dword [rbx + 0x1d08], edi
addsd xmm0, qword [rbx + 0x1c88]
movsd qword [rbx + 0x1c88], xmm0
mov ecx, dword [rbx + 0x3194]
test ecx, ecx
jns 0x140020cb2
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3190]
test eax, eax
cmovg edx, eax
call fcn.14003c990
movss xmm1, dword [rbx + 0x18]
movss xmm10, dword [0x14013f6b0]
movaps xmm0, xmm1
movss xmm9, dword [0x14013f544]
mov dword [rbx + 0x3190], edi
movsxd rax, dword [rbx + 0x3494]
subss xmm0, dword [rbx + rax*4 + 0x32b4]
addss xmm0, dword [rbx + 0x3498]
movss dword [rbx + 0x3498], xmm0
movss dword [rbx + rax*4 + 0x32b4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x3494]
movss xmm1, dword [rbx + 0x3498]
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 + 0x3494], ecx
jbe 0x140020d3c
divss xmm1, dword [0x14013f638]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x140020d40
movaps xmm0, xmm10
movss dword [rbx + 0x39c], xmm0
call fcn.140032670
mov rax, qword [rbx + 0xa8]
mov rbp, qword [0x140157888]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x140020d79
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.14002a970
mov eax, dword [rbx + 0x1ef0]
movaps xmm0, xmm10
movss xmm5, dword [0x14013f708]
movaps xmm7, xmm10
movaps xmm6, xmm5
test eax, eax
jle 0x140020df7
mov rcx, qword [rbx + 0x1ef8]
mov edx, eax
nop dword [rax]
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 0x140020dd5
movaps xmm0, xmm4
comiss xmm7, xmm3
jbe 0x140020ddd
movaps xmm7, xmm3
comiss xmm1, xmm5
jbe 0x140020de5
movaps xmm5, xmm1
comiss xmm2, xmm6
jbe 0x140020ded
movaps xmm6, xmm2
add rcx, 8
sub rdx, 1
jne 0x140020db0
mov eax, dword [rbx + 0x16f4]
movss xmm1, dword [rbx + 0x16f8]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm7
mov dword [rbx + 0x1a9c], eax
shufps xmm0, xmm0, 0xc6
movss xmm0, xmm5
mov qword [rsp + 0x80], r15
movaps xmm7, xmmword [rsp + 0x60]
shufps xmm0, xmm0, 0x27
movss xmm0, xmm6
shufps xmm0, xmm0, 0x39
movups xmmword [rbx + 0x1aa4], xmm0
movss xmm0, dword [rbx + 0x1aa0]
ucomiss xmm0, xmm1
jp 0x140020e4e
je 0x140020f01
movss xmm6, dword [0x14013f5b0]
lea r14, [rbx + 0x1c3c]
movss dword [rbx + 0x1aa0], xmm1
mov esi, edi
mov r15d, 0x200
nop dword [rax]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test esi, esi
je 0x140020ec9
movss xmm1, dword [rbx + 0x1aa0]
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 0x140020ec0
mov eax, 4
jmp 0x140020ecb
cmp eax, r15d
cmovg eax, r15d
jmp 0x140020ecb
mov eax, edi
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x140020e70
movss xmm0, dword [0x14013f4d0]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rbx + 0x1aa0]
movaps xmm2, xmm9
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rbx + 0x1c38], xmm1
mov r8d, edi
movaps xmm6, xmmword [rsp + 0x70]
mov dword [rbx + 0x1ab4], edi
cmp byte [rbx + 0x16f0], dil
je 0x140020f28
mov dword [rbx + 0x1ab4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], dil
je 0x140020f4d
mov rax, qword [rbx + 0x1a78]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x140020f4d
or edx, 2
mov dword [rbx + 0x1ab4], edx
cmp byte [rbx + 0x16f2], dil
je 0x140020f5f
or edx, 4
mov dword [rbx + 0x1ab4], edx
test byte [rbx + 0xc], 8
je 0x140020f6e
or edx, 8
mov dword [rbx + 0x1ab4], edx
mov r8d, edi
cmp dword [rbx + 0x1ef0], edi
jle 0x140020fc1
mov rdx, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1ef8]
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 + 0x1ef0]
jl 0x140020f80
cmp byte [rbx + 0x20d4], dil
je 0x140020ff5
mov eax, dword [rbx + 0x20f4]
cmp eax, dword [rbx + 0x1d6c]
jne 0x140020ff5
cmp dword [rbp + 0x1d6c], eax
jne 0x140020fe6
mov dword [rbp + 0x1d70], eax
cmp dword [rbp + 0x1da8], eax
jne 0x140020ff5
mov byte [rbp + 0x1dac], 1
mov eax, dword [rbx + 0x1d58]
cmp dword [rbx + 0x1d5c], edi
jne 0x14002100b
mov dword [rbx + 0x1d64], edi
jmp 0x140021019
mov edx, eax
test eax, eax
je 0x140021021
cmp dword [rbx + 0x1d6c], eax
jne 0x140021021
mov dword [rbx + 0x1d68], edi
mov edx, eax
movss xmm2, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x1d6c]
test edx, edx
je 0x14002105a
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1d64]
movss dword [rbx + 0x1d64], xmm0
cmp ecx, edx
je 0x14002105a
movaps xmm0, xmm2
addss xmm0, dword [rbx + 0x1d68]
movss dword [rbx + 0x1d68], xmm0
movaps xmm1, xmm2
movzx eax, byte [rbx + 0x1d61]
mov r14d, 0xffffffff
mov dword [rbx + 0x1d5c], edx
mov edx, ecx
mov byte [rbx + 0x1d62], al
mov dword [rbx + 0x1d58], edi
mov word [rbx + 0x1d60], di
mov byte [rbx + 0x1d63], dil
cmp dword [rbx + 0x1d70], ecx
je 0x1400210fd
cmp dword [rbx + 0x1da8], ecx
jne 0x1400210fd
test ecx, ecx
je 0x1400210fd
mov ecx, dword [rbp + 0x1d6c]
test ecx, ecx
setne al
mov byte [rbp + 0x1d78], al
test ecx, ecx
je 0x1400210c9
mov dword [rbp + 0x1d74], edi
mov word [rbp + 0x1d7b], di
mov dword [rbp + 0x1da4], r14d
mov dword [rbp + 0x1d6c], edi
mov word [rbp + 0x1d79], di
mov qword [rbp + 0x1d98], rdi
mov word [rbp + 0x1d7d], di
mov qword [rbp + 0x1d80], rdi
mov qword [rbp + 0x1d88], rdi
mov edx, dword [rbx + 0x1d6c]
movss xmm1, dword [rbx + 0x18]
test edx, edx
je 0x140021114
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
mov rax, qword [rbx + 0x1d98]
addss xmm1, dword [rbx + 0x1dbc]
mov qword [rbx + 0x1db0], rax
movzx eax, byte [rbx + 0x1d7c]
mov byte [rbx + 0x1dad], al
mov eax, dword [rbx + 0x3138]
movss dword [rbx + 0x1dbc], xmm1
mov dword [rbx + 0x1da8], edx
mov dword [rbx + 0x1d70], edi
mov byte [rbx + 0x1d7d], dil
mov byte [rbx + 0x1dac], dil
mov byte [rbx + 0x1d78], dil
test eax, eax
je 0x140021174
cmp edx, eax
je 0x140021174
mov dword [rbx + 0x3138], edi
test edx, edx
jne 0x140021186
mov qword [rbx + 0x1d80], rdi
mov qword [rbx + 0x1d88], rdi
mov eax, dword [rbx + 0x2144]
mov r8d, 0x800
mov dword [rbx + 0x2148], eax
mov eax, edi
mov qword [rbx + 0x2140], 0x7f7fffff
mov word [rbx + 0x20d5], di
mov dword [rbx + 0x2150], 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 [0x14013f6d8]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov edx, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x14002123e
movss xmm0, dword [rax - 4]
comiss xmm8, xmm0
jbe 0x140021237
movaps xmm0, xmm8
jmp 0x140021241
addss xmm0, dword [rbx + 0x18]
jmp 0x140021241
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140021262
movss xmm0, dword [rax]
comiss xmm8, xmm0
jbe 0x14002125b
movaps xmm0, xmm8
jmp 0x140021265
addss xmm0, dword [rbx + 0x18]
jmp 0x140021265
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140021287
movss xmm0, dword [rax + 4]
comiss xmm8, xmm0
jbe 0x140021280
movaps xmm0, xmm8
jmp 0x14002128a
addss xmm0, dword [rbx + 0x18]
jmp 0x14002128a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x1400212ad
movss xmm0, dword [rax + 8]
comiss xmm8, xmm0
jbe 0x1400212a6
movaps xmm0, xmm8
jmp 0x1400212b0
addss xmm0, dword [rbx + 0x18]
jmp 0x1400212b0
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub rdx, 1
jne 0x140021220
call fcn.14002df70
call fcn.14001fd50
test byte [rbx + 8], 0x40
jne 0x1400212fe
cmp dword [rbx + 0x31c0], edi
jg 0x1400212eb
cmp dword [rbx + 0x31d0], edi
jle 0x1400213e3
mov dl, 1
call fcn.14003a220
xor ecx, ecx
call fcn.140039df0
jmp 0x1400213e3
cmp byte [rbx + 0xc8], dil
je 0x140021352
mov ebp, edi
cmp dword [rbx + 0x31c0], edi
jle 0x140021352
mov rsi, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x31c8]
mov rcx, qword [rsi + rax + 8]
test rcx, rcx
je 0x140021344
cmp qword [rcx + 0x10], rdi
jne 0x140021344
cmp qword [rcx + 0x18], rdi
je 0x140021344
mov ecx, dword [rcx]
call fcn.140039df0
inc ebp
add rsi, 0x10
cmp ebp, dword [rbx + 0x31c0]
jl 0x140021320
cmp byte [rbx + 0x31f0], dil
je 0x140021395
xor ecx, ecx
call fcn.140031760
xor edx, edx
call fcn.14003a220
xor ecx, ecx
call fcn.140039df0
mov r8d, dword [rbx + 0x31e0]
mov rcx, rbx
mov rdx, qword [rbx + 0x31e8]
call fcn.1400346e0
mov rcx, rbx
call fcn.1400348e0
mov byte [rbx + 0x31f0], dil
mov ebp, edi
cmp dword [rbx + 0x31d0], edi
jle 0x1400213e3
mov rsi, rdi
mov rax, qword [rbx + 0x31d8]
cmp dword [rsi + rax], 2
jne 0x1400213d5
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x1400213c3
mov r8b, 1
call fcn.140034c70
jmp 0x1400213d5
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x1400213d5
mov rcx, rbx
call fcn.140034db0
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x31d0]
jl 0x1400213a2
call fcn.1400206b0
call fcn.14001f700
mov rbp, qword [0x140157888]
mov eax, dword [rbp + 0x1ed0]
sub eax, 1
js 0x140021433
mov r8, qword [rbp + 0x1ed8]
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 0x140021429
test dword [rax + 0xc], 0x8000000
jne 0x14002144a
sub r8, 0x30
sub rdx, 1
jns 0x140021418
cmp qword [rbx + 0x2080], rdi
je 0x140021466
movss xmm0, dword [rbx + 0x209c]
comiss xmm0, xmm8
jbe 0x140021466
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14013f5dc]
addss xmm1, dword [rbx + 0x20cc]
minss xmm1, xmm9
jmp 0x140021484
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14013f5e8]
movss xmm1, dword [rbx + 0x20cc]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x20cc], xmm1
mov dword [rbx + 0x20d0], edi
mov qword [rbx + 0x34a0], 0xffffffffffffffff
mov dword [rbx + 0x349c], r14d
mov dword [rbx + 0x31a0], 0x3f800000
mov dword [rbx + 0x31a4], 0x3f800000
mov qword [rbx + 0x31b0], rdi
call fcn.140020100
mov r8, qword [rbp + 0x1f50]
movaps xmm9, xmmword [rsp + 0x40]
test r8, r8
je 0x140021506
cmp byte [r8 + 0xcf], dil
je 0x140021506
test dword [r8 + 0xc], 0x40000
jne 0x140021506
cmp byte [rbp + 0x13c], dil
jne 0x140021506
mov ecx, dword [rbp + 0x3c]
test ecx, ecx
js 0x140021506
call fcn.1400242f0
test al, al
je 0x140021506
mov al, 1
jmp 0x140021508
xor al, al
mov byte [rbp + 0x20c8], al
cmp dword [rbp + 0x1d6c], edi
jne 0x140021561
test al, al
je 0x140021561
mov qword [rbp + 0x20b0], r8
mov dword [rbp + 0x20c0], 0x7fffffff
cmp dword [rbp + 0x1f58], edi
je 0x140021550
mov edx, dword [rbp + 0x1fa0]
cmp edx, 0x7fffffff
je 0x140021550
movzx eax, byte [rbp + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x14002155b
movzx eax, byte [rbp + 0x13d]
neg al
sbb ecx, ecx
mov dword [rbp + 0x20c4], ecx
mov r8, qword [rbp + 0x20b0]
mov qword [rbp + 0x20a8], rdi
mov dword [rbp + 0x20bc], 0x7fffffff
mov dword [rbp + 0x20b8], 0x7fffffff
test r8, r8
je 0x1400215f6
mov eax, dword [rbp + 0x20c0]
mov qword [rbp + 0x20a8], r8
cmp eax, 0x7fffffff
je 0x1400215b5
mov ecx, dword [r8 + 0x1fc]
cmp ecx, r14d
je 0x1400215b5
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbp + 0x20b8], edx
mov eax, dword [rbp + 0x20c4]
cmp eax, 0x7fffffff
je 0x1400215db
mov ecx, dword [r8 + 0x200]
cmp ecx, r14d
je 0x1400215db
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [rbp + 0x20bc], edx
mov qword [rbp + 0x20b0], rdi
mov dword [rbp + 0x20c4], 0x7fffffff
mov dword [rbp + 0x20c0], 0x7fffffff
mov dword [rbp + 0x1fa0], 0x7fffffff
cmp byte [rbx + 0x1ca3], dil
jne 0x14002162a
movss xmm0, dword [rbx + 0xd8]
comiss xmm8, xmm0
ja 0x14002162a
movsd xmm10, qword [rbx + 0x1c88]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov r14d, edi
cmp dword [rbx + 0x1cb8], edi
je 0x1400217b0
mov r15, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1cc0]
mov rsi, qword [r15 + 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 0x14002179c
cmp byte [rsi + 0x428], dil
jne 0x14002179c
comiss xmm10, dword [rsi + 0x2c0]
jbe 0x14002179c
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 0x1400216e1
mov qword [rsi + 0x108], rdi
test rbp, rbp
je 0x1400216ce
dec dword [rbp + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x110], rdi
mov rcx, qword [rsi + 0x2f8]
call fcn.140044500
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x140021725
mov rax, qword [0x140157888]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x140021712
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1d8], rdi
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x14002175d
mov rax, qword [0x140157888]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x14002174a
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x218], rdi
mov rcx, qword [rsi + 0x228]
test rcx, rcx
je 0x140021795
mov rax, qword [0x140157888]
mov qword [rsi + 0x220], rdi
test rax, rax
je 0x140021782
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x228], rdi
mov rbp, qword [0x140157888]
inc r14d
add r15, 8
cmp r14d, dword [rbx + 0x1cb8]
jne 0x140021640
mov r14d, edi
cmp dword [rbx + 0x21b8], edi
jle 0x140021923
mov qword [rsp + 0xc0], r12
mov r15, rdi
mov qword [rsp + 0xc8], r13
mov r12, rdi
movabs r13, 0x6d3a06d3a06d3a07
nop
mov rax, qword [rbx + 0x21c0]
movss xmm0, dword [r15 + rax]
comiss xmm0, xmm8
jb 0x1400218f8
comiss xmm10, xmm0
jbe 0x1400218f8
mov rsi, qword [rbx + 0x2188]
add rsi, r12
lea rcx, [rsi + 0x1e8]
call fcn.140047a30
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x14002184f
mov rax, qword [0x140157888]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x14002183c
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
call sub.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 0x140021895
mov rax, qword [0x140157888]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x140021882
dec dword [rax + 0x3b0]
mov rdx, qword [0x140157890]
call sub.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 0x1400218c5
mov rcx, rdi
mov r8d, 0xffffffff
nop dword [rax]
mov rax, qword [rsi + 0x10]
lea rcx, [rcx + 0x68]
inc edx
mov word [rcx + rax - 0x18], r8w
cmp edx, dword [rsi + 0x6c]
jl 0x1400218b0
sub rsi, qword [rbp + 0x2188]
mov rax, r13
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [rbp + 0x21c0]
mov rbp, qword [0x140157888]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc r14d
add r15, 4
add r12, 0x258
cmp r14d, dword [rbx + 0x21b8]
jl 0x1400217e0
mov r13, qword [rsp + 0xc8]
mov r12, qword [rsp + 0xc0]
movaps xmm10, xmmword [rsp + 0x30]
mov r15, qword [rsp + 0x80]
cmp byte [rbx + 0x1ca3], dil
je 0x1400219ab
mov rcx, qword [rbp + 0x1eb8]
mov rsi, rbp
test rcx, rcx
je 0x140021975
mov qword [rbp + 0x1eb0], rdi
test rbp, rbp
je 0x14002195b
dec dword [rbp + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rbp + 0x1eb8], rdi
mov rbp, qword [0x140157888]
mov rcx, qword [rsi + 0x1ec8]
test rcx, rcx
je 0x1400219a6
mov qword [rsi + 0x1ec0], rdi
test rbp, rbp
je 0x140021993
dec dword [rbp + 0x3b0]
mov rdx, qword [0x140157890]
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
mov qword [rsi + 0x1ec8], rdi
call fcn.140050920
mov rax, qword [rbx + 0x1f50]
mov byte [rbx + 0x1ca3], dil
test rax, rax
je 0x1400219ce
cmp byte [rax + 0xd0], dil
jne 0x1400219ce
xor ecx, ecx
call fcn.14002a880
mov ecx, dword [rbx + 0x1cec]
test ecx, ecx
jns 0x1400219f4
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ce8]
test eax, eax
cmovg edx, eax
call fcn.14003c5a0
mov dword [rbx + 0x1ce8], edi
mov ecx, dword [rbx + 0x1ee4]
test ecx, ecx
jns 0x140021a20
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1ee0]
test eax, eax
cmovg edx, eax
call fcn.14003c8f0
lea rsi, [rbx + 0x1eb0]
mov dword [rbx + 0x1ee0], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x140021a4f
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.14003c990
mov ecx, dword [rsi + 4]
mov dword [rsi], edi
mov eax, edi
test ecx, ecx
jne 0x140021a64
lea edx, [rcx + 8]
mov rcx, rsi
call fcn.14003c990
mov eax, dword [rsi]
movsxd rcx, eax
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1ec0]
inc dword [rsi]
call fcn.14003c200
mov rcx, qword [rbx + 0x1f50]
xor edx, edx
call fcn.14002c560
test byte [rbx + 8], 0x40
je 0x140021b93
mov rax, qword [rbx + 0x1d28]
mov qword [rbx + 0x1d30], rdi
test rax, rax
je 0x140021ae4
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x140021aca
mov rdx, qword [rbx + 0x120]
call fcn.140039c70
mov qword [rbx + 0x1d30], rax
jmp 0x140021ae4
mov rax, qword [rax + 0x3d0]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x140021ae4
mov qword [rbx + 0x1d30], rcx
mov esi, edi
cmp dword [rbx + 0x31d0], edi
jle 0x140021b1e
mov rbp, rdi
mov rax, qword [rbx + 0x31d8]
cmp dword [rax + rbp], 1
jne 0x140021b10
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.140034970
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x31d0]
jl 0x140021af1
mov ecx, dword [rbx + 0x31d4]
test ecx, ecx
jns 0x140021b44
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x31d0]
test eax, eax
cmovg edx, eax
call fcn.14003ca30
mov dword [rbx + 0x31d0], edi
mov esi, edi
cmp dword [rbx + 0x31c0], edi
jle 0x140021b93
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x31c8]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140021b85
cmp qword [rcx + 0x10], rdi
jne 0x140021b85
test dword [rcx + 8], 0x400
jne 0x140021b85
call fcn.140035970
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x31c0]
jl 0x140021b60
mov r8, qword [0x140157888]
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0xb8]
mov dword [r8 + 0x32a0], edi
cmp byte [r8 + 0x329c], dil
je 0x140021c75
mov esi, dword [r8 + 0x1d5c]
mov dword [r8 + 0x20d0], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140021be8
call fcn.1400242f0
test al, al
je 0x140021be8
mov byte [r8 + 0x329c], dil
movss xmm0, dword [r8 + 0x434]
ucomiss xmm0, xmm8
jp 0x140021c0b
jne 0x140021c0b
test esi, esi
je 0x140021c0b
mov dword [r8 + 0x32a0], esi
mov byte [r8 + 0x329c], dil
or dword [r8 + 0x1dc0], 0x40
xor edx, edx
mov dword [r8 + 0x1e20], 0x3f19999a
call fcn.14002c0c0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.140051be0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.140051be0
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 [0x140157888]
add rax, 0x16fc
add rcx, rax
call fcn.140051c90
call fcn.14002a3b0
mov r8, qword [0x140157888]
mov byte [rbx + 0x1ca1], 1
lea rcx, str.DebugDefault
or dword [r8 + 0x1dc0], 2
xor edx, edx
mov dword [r8 + 0x1de4], 0x43c80000
mov dword [r8 + 0x1de8], 0x43c80000
mov dword [r8 + 0x1dc8], 4
xor r8d, r8d
call fcn.140027530
movaps xmm8, xmmword [rsp + 0x50]
cmp dword [rbx + 0x3240], edi
jle 0x140021cfd
mov rsi, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3248]
cmp dword [rax + rsi + 4], 1
jne 0x140021cef
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 + 0x3240]
jl 0x140021cd0
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret