Function at 0x18000b600
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 [0x1800e3370]
mov qword [rax + 0x20], r13
mov rbx, rbp
mov qword [rax - 0x20], r14
movaps xmmword [rax - 0x38], xmm6
mov edi, dword [rbp + 0x3288]
sub edi, 1
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
js 0x18000b6a3
movsxd rsi, edi
shl rsi, 5
mov r14, rsi
nop
mov rdx, qword [rbp + 0x3290]
cmp dword [rdx + rsi + 4], 7
jne 0x18000b696
movsxd r8, dword [rbp + 0x3288]
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 + 0x3288]
sub r14, 0x20
sub rsi, 0x20
sub edi, 1
jns 0x18000b650
xor edi, edi
mov esi, edi
cmp dword [rbp + 0x3288], edi
jle 0x18000b6e4
mov ebp, edi
mov rax, qword [rbx + 0x3290]
cmp dword [rax + rbp + 4], edi
jne 0x18000b6cf
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 + 0x3288]
jl 0x18000b6b1
mov rbp, qword [0x1800e3370]
mov eax, dword [rbx + 0x1a7c]
mov dword [rbx + 0x1a80], eax
cmp byte [rbp + 0xd3], dil
je 0x18000b706
test byte [rbp + 0xc], 2
jne 0x18000b706
mov byte [rbp + 0xd3], dil
mov ecx, dword [rbp + 8]
bt ecx, 0xa
jae 0x18000b725
mov eax, dword [rbp + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x18000b725
btr ecx, 0xa
mov dword [rbp + 8], ecx
mov eax, dword [rbx + 8]
mov rsi, rbp
mov dword [rbx + 0x1a7c], eax
cmp byte [rbp + 0x3240], dil
jne 0x18000b799
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x18000b792
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.1800074d0
mov rbp, rax
test rax, rax
je 0x18000b78b
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.18001bd10
mov rcx, qword [0x1800e3370]
test rcx, rcx
je 0x18000b782
dec dword [rcx + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbp, qword [0x1800e3370]
mov byte [rsi + 0x3240], 1
movss xmm0, dword [rsi + 0x3244]
xorps xmm8, xmm8
comiss xmm0, xmm8
mov qword [rsp + 0x70], r15
jbe 0x18000b836
subss xmm0, dword [rsi + 0x18]
comiss xmm8, xmm0
movss dword [rsi + 0x3244], xmm0
jb 0x18000b836
mov r14, qword [rsi + 0x20]
test r14, r14
je 0x18000b829
lea rcx, [rsp + 0xa0]
mov dword [rbp + 0x3244], edi
mov qword [rsp + 0xa0], rdi
call fcn.18001c070
lea rdx, [0x1800c98d8]
mov rcx, r14
mov r15, rax
call fcn.1800073a0
mov rbp, rax
test rax, rax
je 0x18000b830
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 0x18000b830
mov byte [rsi + 0x398], 1
mov dword [rsi + 0x3244], edi
inc dword [rbx + 0x1ca0]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1cb0], 1
mov dword [rbx + 0x31c0], edi
mov dword [rbx + 0x1d18], edi
addsd xmm0, qword [rbx + 0x1c98]
movsd qword [rbx + 0x1c98], xmm0
mov ecx, dword [rbx + 0x31dc]
test ecx, ecx
jns 0x18000b88d
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x31d8]
test eax, eax
cmovg edx, eax
call fcn.180027f60
movss xmm10, dword [0x1800d0410]
movss xmm9, dword [0x1800d02fc]
mov dword [rbx + 0x31d8], edi
movsxd rax, dword [rbx + 0x34dc]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x32fc]
addss xmm0, dword [rbx + 0x34e0]
movss dword [rbx + 0x34e0], xmm0
movss dword [rbx + rax*4 + 0x32fc], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x34dc]
movss xmm1, dword [rbx + 0x34e0]
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 + 0x34dc], ecx
jbe 0x18000b91c
divss xmm1, dword [0x1800d03c4]
movaps xmm0, xmm9
divss xmm0, xmm1
jmp 0x18000b920
movaps xmm0, xmm10
movss dword [rbx + 0x39c], xmm0
call fcn.18001cfb0
mov rax, qword [rbx + 0xa8]
mov rbp, qword [0x1800e3370]
mov byte [rax + 0x18], 1
mov rcx, qword [rbp + 0xb8]
test rcx, rcx
jne 0x18000b959
mov rax, qword [rbp + 0xa8]
mov rcx, qword [rax + 0x50]
mov rcx, qword [rcx]
call fcn.180015730
mov eax, dword [rbx + 0x1f38]
movaps xmm7, xmm10
movss xmm4, dword [0x1800d0434]
movaps xmm6, xmm10
movaps xmm5, xmm4
test eax, eax
jle 0x18000b9d7
mov rcx, qword [rbx + 0x1f40]
mov edx, eax
nop dword [rax]
nop dword [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 0x18000b9b5
movaps xmm7, xmm3
comiss xmm6, xmm2
jbe 0x18000b9bd
movaps xmm6, xmm2
comiss xmm0, xmm4
jbe 0x18000b9c5
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x18000b9cd
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x18000b990
movss dword [rbx + 0x1ab4], xmm7
movss dword [rbx + 0x1ab8], xmm6
movss dword [rbx + 0x1abc], xmm4
movss dword [rbx + 0x1ac0], xmm5
mov eax, dword [rbx + 0x16f4]
movss xmm1, dword [rbx + 0x16f8]
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x1aac], eax
movss xmm0, dword [rbx + 0x1ab0]
ucomiss xmm0, xmm1
jp 0x18000ba23
je 0x18000bad3
movss xmm6, dword [0x1800d034c]
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 0x18000ba9b
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 0x18000ba92
mov eax, 4
jmp 0x18000ba9d
cmp eax, r15d
cmovg eax, r15d
jmp 0x18000ba9d
mov eax, edi
mov byte [r14], al
inc esi
inc r14
cmp esi, 0x40
jl 0x18000ba42
movss xmm0, dword [0x1800d0288]
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 + 0x16f0], dil
je 0x18000bafa
mov dword [rbx + 0x1ac4], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x16f1], dil
je 0x18000bb1f
mov rax, qword [rbx + 0x1a88]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x18000bb1f
or edx, 2
mov dword [rbx + 0x1ac4], edx
cmp byte [rbx + 0x16f2], dil
je 0x18000bb31
or edx, 4
mov dword [rbx + 0x1ac4], edx
test byte [rbx + 0xc], 8
je 0x18000bb40
or edx, 8
mov dword [rbx + 0x1ac4], edx
mov edx, edi
cmp dword [rbx + 0x1f38], edi
jle 0x18000bb8f
mov r8, rdi
nop dword [rax]
mov rax, qword [rbx + 0x1f40]
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 + 0x1f38]
jl 0x18000bb50
cmp byte [rbx + 0x211c], dil
je 0x18000bbc3
mov eax, dword [rbx + 0x213c]
cmp eax, dword [rbx + 0x1d7c]
jne 0x18000bbc3
cmp dword [rbp + 0x1d7c], eax
jne 0x18000bbb4
mov dword [rbp + 0x1d80], eax
cmp dword [rbp + 0x1db8], eax
jne 0x18000bbc3
mov byte [rbp + 0x1dbc], 1
cmp dword [rbx + 0x1d6c], edi
jne 0x18000bbd3
mov dword [rbx + 0x1d74], edi
jmp 0x18000bbe5
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x18000bbeb
cmp dword [rbx + 0x1d7c], eax
jne 0x18000bbeb
mov dword [rbx + 0x1d78], edi
mov eax, dword [rbx + 0x1d68]
test eax, eax
je 0x18000bc25
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d74]
movss dword [rbx + 0x1d74], xmm0
cmp dword [rbx + 0x1d7c], eax
je 0x18000bc25
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 0x18000bcbe
cmp dword [rbx + 0x1db8], eax
jne 0x18000bcbe
test eax, eax
je 0x18000bcbe
mov ecx, dword [rbp + 0x1d7c]
test ecx, ecx
setne al
mov byte [rbp + 0x1d88], al
test ecx, ecx
je 0x18000bc95
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 0x18000bcdd
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 + 0x3180]
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 0x18000bd42
cmp ecx, eax
je 0x18000bd42
mov dword [rbx + 0x3180], edi
test ecx, ecx
jne 0x18000bd54
mov qword [rbx + 0x1d90], rdi
mov qword [rbx + 0x1d98], rdi
mov eax, dword [rbx + 0x218c]
mov r8d, 0x800
mov dword [rbx + 0x2190], eax
mov eax, edi
mov qword [rbx + 0x2188], 0x7f7fffff
mov word [rbx + 0x211d], di
mov dword [rbx + 0x2198], 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 [0x1800d0420]
lea rcx, [rbx + 0x141]
lea rax, [rbx + 0x49c]
mov r8d, 0x80
nop dword [rax]
cmp byte [rcx - 1], dil
je 0x18000be0e
movss xmm0, dword [rax - 4]
comiss xmm8, xmm0
jbe 0x18000be07
movaps xmm0, xmm8
jmp 0x18000be11
addss xmm0, dword [rbx + 0x18]
jmp 0x18000be11
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x18000be32
movss xmm0, dword [rax]
comiss xmm8, xmm0
jbe 0x18000be2b
movaps xmm0, xmm8
jmp 0x18000be35
addss xmm0, dword [rbx + 0x18]
jmp 0x18000be35
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x18000be57
movss xmm0, dword [rax + 4]
comiss xmm8, xmm0
jbe 0x18000be50
movaps xmm0, xmm8
jmp 0x18000be5a
addss xmm0, dword [rbx + 0x18]
jmp 0x18000be5a
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x18000be7d
movss xmm0, dword [rax + 8]
comiss xmm8, xmm0
jbe 0x18000be76
movaps xmm0, xmm8
jmp 0x18000be80
addss xmm0, dword [rbx + 0x18]
jmp 0x18000be80
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x18000bdf0
call fcn.1800187e0
call fcn.18000aa30
test byte [rbx + 8], 0x40
jne 0x18000bece
cmp dword [rbx + 0x3208], edi
jg 0x18000bebb
cmp dword [rbx + 0x3218], edi
jle 0x18000bfb3
mov dl, 1
call fcn.1800255d0
xor ecx, ecx
call fcn.1800250f0
jmp 0x18000bfb3
cmp byte [rbx + 0xc8], dil
je 0x18000bf22
mov esi, edi
cmp dword [rbx + 0x3208], edi
jle 0x18000bf22
mov rbp, rdi
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx + 0x3210]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x18000bf14
cmp qword [rcx + 0x10], rdi
jne 0x18000bf14
cmp qword [rcx + 0x18], rdi
je 0x18000bf14
mov ecx, dword [rcx]
call fcn.1800250f0
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x3208]
jl 0x18000bef0
cmp byte [rbx + 0x3238], dil
je 0x18000bf65
xor ecx, ecx
call fcn.18001c070
xor edx, edx
call fcn.1800255d0
xor ecx, ecx
call fcn.1800250f0
mov r8d, dword [rbx + 0x3228]
mov rcx, rbx
mov rdx, qword [rbx + 0x3230]
call fcn.18001f1b0
mov rcx, rbx
call fcn.18001f3f0
mov byte [rbx + 0x3238], dil
mov ebp, edi
cmp dword [rbx + 0x3218], edi
jle 0x18000bfb3
mov rsi, rdi
mov rax, qword [rbx + 0x3220]
cmp dword [rsi + rax], 2
jne 0x18000bfa5
mov rdx, qword [rsi + rax + 0x30]
test rdx, rdx
je 0x18000bf93
mov r8b, 1
call fcn.18001f920
jmp 0x18000bfa5
mov rdx, qword [rsi + rax + 0x38]
test rdx, rdx
je 0x18000bfa5
mov rcx, rbx
call fcn.18001fa80
inc ebp
add rsi, 0x40
cmp ebp, dword [rbx + 0x3218]
jl 0x18000bf72
call fcn.18000b2c0
call fcn.18000a3c0
mov r8, qword [0x1800e3370]
mov eax, dword [r8 + 0x1f18]
sub eax, 1
js 0x18000c00b
mov r8, qword [r8 + 0x1f20]
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 0x18000c001
test dword [rax + 0xc], 0x8000000
jne 0x18000c022
sub r8, 0x30
sub rdx, 1
jns 0x18000bff0
cmp qword [rbx + 0x20c8], rdi
je 0x18000c03e
movss xmm0, dword [rbx + 0x20e4]
comiss xmm0, xmm8
jbe 0x18000c03e
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x1800d0358]
addss xmm1, dword [rbx + 0x2114]
minss xmm1, xmm9
jmp 0x18000c05c
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x1800d0368]
movss xmm1, dword [rbx + 0x2114]
subss xmm1, xmm0
maxss xmm1, xmm8
movss dword [rbx + 0x2114], xmm1
mov dword [rbx + 0x2118], edi
mov qword [rbx + 0x34e8], 0xffffffffffffffff
mov dword [rbx + 0x34e4], r14d
mov dword [rbx + 0x31e8], 0x3f800000
mov dword [rbx + 0x31ec], 0x3f800000
mov qword [rbx + 0x31f8], rdi
call fcn.18000adf0
mov r11, qword [0x1800e3370]
movaps xmm9, xmmword [rsp + 0x30]
mov r8, qword [r11 + 0x1f98]
test r8, r8
je 0x18000c0e6
cmp byte [r8 + 0xcf], dil
je 0x18000c0e6
test dword [r8 + 0xc], 0x40000
jne 0x18000c0e6
cmp byte [r11 + 0x13c], dil
jne 0x18000c0e6
mov ecx, dword [r11 + 0x3c]
test ecx, ecx
js 0x18000c0e6
call fcn.18000ecc0
test al, al
je 0x18000c0e6
mov al, 1
jmp 0x18000c0e8
xor al, al
mov byte [r11 + 0x2110], al
cmp dword [r11 + 0x1d7c], edi
jne 0x18000c149
test al, al
je 0x18000c149
mov qword [r11 + 0x20f8], r8
mov dword [r11 + 0x2108], 0x7fffffff
cmp dword [r11 + 0x1fa0], edi
je 0x18000c136
mov edx, dword [r11 + 0x1fec]
cmp edx, 0x7fffffff
je 0x18000c136
movzx eax, byte [r11 + 0x13d]
neg al
sbb ecx, ecx
add ecx, edx
jmp 0x18000c142
movzx eax, byte [r11 + 0x13d]
neg al
sbb ecx, ecx
mov dword [r11 + 0x210c], ecx
mov r8, qword [r11 + 0x20f8]
mov qword [r11 + 0x20f0], rdi
mov dword [r11 + 0x2104], 0x7fffffff
mov dword [r11 + 0x2100], 0x7fffffff
test r8, r8
je 0x18000c1e6
mov eax, dword [r11 + 0x2108]
mov qword [r11 + 0x20f0], r8
cmp eax, 0x7fffffff
je 0x18000c1a1
mov ecx, dword [r8 + 0x1fc]
cmp ecx, r14d
je 0x18000c1a1
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x2100], edx
mov eax, dword [r11 + 0x210c]
cmp eax, 0x7fffffff
je 0x18000c1c9
mov ecx, dword [r8 + 0x200]
cmp ecx, r14d
je 0x18000c1c9
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r11 + 0x2104], edx
mov qword [r11 + 0x20f8], rdi
mov dword [r11 + 0x210c], 0x7fffffff
mov dword [r11 + 0x2108], 0x7fffffff
mov dword [r11 + 0x1fec], 0x7fffffff
cmp byte [rbx + 0x1cb3], dil
jne 0x18000c21b
movss xmm0, dword [rbx + 0xd8]
comiss xmm8, xmm0
ja 0x18000c21b
movsd xmm10, qword [rbx + 0x1c98]
cvtpd2ps xmm10, xmm10
subss xmm10, xmm0
mov ebp, edi
cmp dword [rbx + 0x1cc8], edi
je 0x18000c386
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 0x18000c374
cmp byte [rsi + 0x430], dil
jne 0x18000c374
comiss xmm10, dword [rsi + 0x2c8]
jbe 0x18000c374
mov rcx, qword [rsi + 0x300]
mov byte [rsi + 0x430], 1
mov eax, dword [rcx + 0x14]
mov dword [rsi + 0x428], eax
mov eax, dword [rcx + 0x24]
mov dword [rsi + 0x42c], eax
mov rcx, qword [rsi + 0x110]
test rcx, rcx
je 0x18000c2d2
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x108], rdi
test rax, rax
je 0x18000c2c5
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 + 0x300]
call fcn.180030190
mov rcx, qword [rsi + 0x1d8]
test rcx, rcx
je 0x18000c310
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x1d0], rdi
test rax, rax
je 0x18000c303
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 0x18000c342
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x18000c335
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 0x18000c374
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x220], rdi
test rax, rax
je 0x18000c367
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 0x18000c230
mov ebp, edi
cmp dword [rbx + 0x2200], edi
jle 0x18000c4d4
mov qword [rsp + 0xb0], r12
mov r15, rdi
movabs r12, 0x6d3a06d3a06d3a07
mov r14, rdi
nop dword [rax]
mov rax, qword [rbx + 0x2208]
movss xmm0, dword [r14 + rax]
comiss xmm0, xmm8
jb 0x18000c4b3
comiss xmm10, xmm0
jbe 0x18000c4b3
mov rsi, qword [rbx + 0x21d0]
mov r13, qword [0x1800e3370]
add rsi, r15
lea rcx, [rsi + 0x1e8]
call fcn.180033620
mov rcx, qword [rsi + 0x218]
test rcx, rcx
je 0x18000c420
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x210], rdi
test rax, rax
je 0x18000c413
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 0x18000c460
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x1d8], rdi
test rax, rax
je 0x18000c453
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 0x18000c487
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 0x18000c471
sub rsi, qword [r13 + 0x21d0]
mov rax, r12
imul rsi
sar rdx, 8
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, qword [r13 + 0x2208]
movsxd rcx, edx
mov dword [rax + rcx*4], 0xbf800000
inc ebp
add r14, 4
add r15, 0x258
cmp ebp, dword [rbx + 0x2200]
jl 0x18000c3b0
mov r12, qword [rsp + 0xb0]
movaps xmm10, xmmword [rsp + 0x20]
cmp byte [rbx + 0x1cb3], dil
je 0x18000c54c
mov rsi, qword [0x1800e3370]
mov rcx, qword [rsi + 0x1f00]
test rcx, rcx
je 0x18000c515
mov qword [rsi + 0x1ef8], rdi
test rsi, rsi
je 0x18000c508
dec dword [rsi + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f00], rdi
mov rcx, qword [rsi + 0x1f10]
test rcx, rcx
je 0x18000c547
mov rax, qword [0x1800e3370]
mov qword [rsi + 0x1f08], rdi
test rax, rax
je 0x18000c53a
dec dword [rax + 0x3b0]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsi + 0x1f10], rdi
call fcn.18003cac0
mov rax, qword [rbx + 0x1f98]
mov byte [rbx + 0x1cb3], dil
test rax, rax
je 0x18000c56f
cmp byte [rax + 0xd0], dil
jne 0x18000c56f
xor ecx, ecx
call fcn.180015640
mov ecx, dword [rbx + 0x1cfc]
test ecx, ecx
jns 0x18000c595
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1cf8]
test eax, eax
cmovg edx, eax
call fcn.180027930
mov dword [rbx + 0x1cf8], edi
mov ecx, dword [rbx + 0x1f2c]
test ecx, ecx
jns 0x18000c5c1
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1f28]
test eax, eax
cmovg edx, eax
call fcn.180027ec0
lea rsi, [rbx + 0x1ef8]
mov dword [rbx + 0x1f28], edi
mov ecx, dword [rsi + 4]
test ecx, ecx
jns 0x18000c5ed
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.180027f60
mov dword [rsi], edi
cmp dword [rsi + 4], edi
jne 0x18000c601
mov edx, 8
mov rcx, rsi
call fcn.180027f60
movsxd rcx, dword [rsi]
xor edx, edx
mov rax, qword [rsi + 8]
mov dword [rax + rcx*4], edi
lea rcx, [rbx + 0x1f08]
inc dword [rsi]
call fcn.1800274f0
mov r13, qword [0x1800e3370]
mov r11, qword [rbx + 0x1f98]
movsxd rbp, dword [r13 + 0x1f18]
test ebp, ebp
je 0x18000c6cc
mov r10d, edi
test r11, r11
je 0x18000c6b9
test ebp, ebp
jle 0x18000c6b9
mov rsi, qword [r13 + 0x1f20]
mov r14, rdi
add rsi, 8
mov r15, rdi
mov rax, qword [rsi]
test rax, rax
je 0x18000c6a6
test dword [rax + 0xc], 0x1000000
jne 0x18000c6a6
mov rdx, r14
cmp r10d, ebp
jge 0x18000c6b9
mov rcx, qword [r13 + 0x1f20]
add rcx, 8
add rcx, r15
nop dword [rax]
mov r8, qword [rcx]
test r8, r8
je 0x18000c698
mov rax, qword [r11 + 0x3e0]
cmp qword [r8 + 0x3e0], rax
je 0x18000c6a6
inc rdx
add rcx, 0x30
cmp rdx, rbp
jl 0x18000c680
jmp 0x18000c6c2
inc r10d
inc r14
add r15, 0x30
add rsi, 0x30
cmp r10d, ebp
jl 0x18000c655
cmp r10d, dword [r13 + 0x1f18]
jge 0x18000c6cc
xor edx, edx
mov ecx, r10d
call fcn.180016e90
test byte [rbx + 8], 0x40
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb8]
je 0x18000c7e3
mov rax, qword [rbx + 0x1d38]
mov qword [rbx + 0x1d40], rdi
test rax, rax
je 0x18000c736
mov rcx, qword [rax + 0x458]
test rcx, rcx
je 0x18000c71c
mov rdx, qword [rbx + 0x120]
call fcn.180024f00
mov qword [rbx + 0x1d40], rax
jmp 0x18000c736
mov rax, qword [rax + 0x3d8]
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x18000c736
mov qword [rbx + 0x1d40], rcx
mov esi, edi
cmp dword [rbx + 0x3218], edi
jle 0x18000c770
mov rbp, rdi
mov rax, qword [rbx + 0x3220]
cmp dword [rax + rbp], 1
jne 0x18000c762
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.18001f4e0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x3218]
jl 0x18000c743
mov ecx, dword [rbx + 0x321c]
test ecx, ecx
jns 0x18000c796
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3218]
test eax, eax
cmovg edx, eax
call fcn.180027ff0
mov dword [rbx + 0x3218], edi
mov esi, edi
cmp dword [rbx + 0x3208], edi
jle 0x18000c7e3
mov rbp, rdi
nop dword [rax]
mov rax, qword [rbx + 0x3210]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x18000c7d5
cmp qword [rcx + 0x10], rdi
jne 0x18000c7d5
test dword [rcx + 8], 0x400
jne 0x18000c7d5
call fcn.1800208b0
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x3208]
jl 0x18000c7b0
mov r8, qword [0x1800e3370]
mov rbp, qword [rsp + 0xa8]
mov dword [r8 + 0x32e8], edi
cmp byte [r8 + 0x32e4], dil
je 0x18000c8b8
mov esi, dword [r8 + 0x1d6c]
mov dword [r8 + 0x2118], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x18000c830
call fcn.18000ecc0
test al, al
je 0x18000c830
mov byte [r8 + 0x32e4], dil
movss xmm0, dword [r8 + 0x434]
ucomiss xmm0, xmm8
jp 0x18000c853
jne 0x18000c853
test esi, esi
je 0x18000c853
mov dword [r8 + 0x32e8], esi
mov byte [r8 + 0x32e4], dil
mov rax, qword [0x1800e3370]
xor edx, edx
or dword [rax + 0x1dd0], 0x40
mov dword [rax + 0x1e30], 0x3f19999a
call fcn.1800169e0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.18003db10
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.18003db10
mov rax, qword [0x1800e3370]
lea rdx, str.Click_to_break_in_debugger_
test esi, esi
mov ecx, reloc.WLDAP32.dll_Ordinal_32
cmovne rcx, rdi
add rax, 0x16fc
add rcx, rax
call fcn.18003dc10
call fcn.180015150
mov rax, qword [0x1800e3370]
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.180012150
movaps xmm8, xmmword [rsp + 0x40]
cmp dword [rbx + 0x3288], edi
jle 0x18000c93d
mov rsi, rdi
nop dword [rax]
mov rax, qword [rbx + 0x3290]
cmp dword [rax + rsi + 4], 1
jne 0x18000c92f
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 + 0x3288]
jl 0x18000c910
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret