Function at 0x1400184c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rcx, qword [0x140214df0]
xor edi, edi
mov qword [rax + 0x10], rbp
mov rbx, rcx
mov qword [rax + 0x18], r13
mov esi, edi
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
cmp dword [rcx + 0x3178], edi
jle 0x140018545
mov ebp, edi
nop dword [rax + rax]
mov r8, qword [rbx + 0x3180]
cmp dword [r8 + rbp], edi
jne 0x140018530
movsxd rax, esi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [rreloc.WS2_32.dll_htonl + rbp + 8]
inc esi
add rbp, 0x18
cmp esi, dword [rbx + 0x3178]
jl 0x140018510
mov rcx, qword [0x140214df0]
mov eax, dword [rbx + 0x1ba4]
mov dword [rbx + 0x1ba8], eax
cmp byte [rcx + 0xd3], dil
je 0x140018567
test byte [rcx + 0xc], 2
jne 0x140018567
mov byte [rcx + 0xd3], dil
mov edx, dword [rcx + 8]
bt edx, 0xa
jae 0x140018586
mov eax, dword [rcx + 0xc]
and eax, 0x1400
cmp eax, 0x1400
je 0x140018586
btr edx, 0xa
mov dword [rcx + 8], edx
mov eax, dword [rbx + 8]
mov rsi, rcx
mov dword [rbx + 0x1ba4], eax
cmp byte [rcx + 0x3140], dil
jne 0x1400185fd
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x1400185f6
lea r8, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
mov rcx, rax
call fcn.140012750
mov rbp, rax
test rax, rax
je 0x1400185ef
mov rdx, qword [rsp + 0xa0]
mov rcx, rax
call fcn.14002b3d0
mov rcx, qword [0x140214df0]
test rcx, rcx
je 0x1400185e6
dec dword [rcx + 0x3c8]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [0x140214df0]
mov byte [rsi + 0x3140], 1
movss xmm0, dword [rsi + 0x3144]
xorps xmm6, xmm6
comiss xmm0, xmm6
jbe 0x140018692
subss xmm0, dword [rsi + 0x18]
comiss xmm6, xmm0
movss dword [rsi + 0x3144], xmm0
jb 0x140018692
mov rbp, qword [rsi + 0x20]
test rbp, rbp
je 0x140018685
mov dword [rcx + 0x3144], edi
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0xa0], rdi
call fcn.14002b7b0
lea rdx, [0x14014300c]
mov rcx, rbp
mov r14, rax
call fcn.140012570
mov rbp, rax
test rax, rax
je 0x14001868c
mov r8, qword [rsp + 0xa0]
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 0x14001868c
mov byte [rsi + 0x3b0], 1
mov dword [rsi + 0x3144], edi
inc dword [rbx + 0x1ca0]
movss xmm0, dword [rbx + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rbx + 0x1cb0], 1
mov dword [rbx + 0x30c0], edi
mov dword [rbx + 0x1d10], edi
addsd xmm0, qword [rbx + 0x1c98]
movsd qword [rbx + 0x1c98], xmm0
mov ecx, dword [rbx + 0x30dc]
test ecx, ecx
jns 0x1400186e9
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x30d8]
test eax, eax
cmovg edx, eax
call fcn.14003b910
movss xmm9, dword [0x14014efec]
movss xmm10, dword [0x14014ed0c]
mov dword [rbx + 0x30d8], edi
movsxd rax, dword [rbx + 0x33b4]
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rbx + rax*4 + 0x31d4]
addss xmm0, dword [rbx + 0x33b8]
movss dword [rbx + 0x33b8], xmm0
movss dword [rbx + rax*4 + 0x31d4], xmm1
mov eax, 0x88888889
mov ecx, dword [rbx + 0x33b4]
movss xmm1, dword [rbx + 0x33b8]
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, xmm6
mov dword [rbx + 0x33b4], ecx
jbe 0x140018777
divss xmm1, dword [0x14014eeec]
movaps xmm0, xmm10
divss xmm0, xmm1
jmp 0x14001877b
movaps xmm0, xmm9
movss dword [rbx + 0x3b4], xmm0
call fcn.14002c910
mov rax, qword [rbx + 0xa8]
mov rsi, qword [0x140214df0]
mov byte [rax], 1
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
jne 0x1400187b3
mov rax, qword [rsi + 0xa8]
mov rcx, qword [rax + 0x48]
mov rcx, qword [rcx]
call fcn.140022de0
mov eax, dword [rbx + 0x1ec0]
movaps xmm8, xmm9
movss xmm4, dword [0x14014f044]
movaps xmm7, xmm9
movaps xmm5, xmm4
test eax, eax
jle 0x140018829
mov rcx, qword [rbx + 0x1ec8]
mov edx, eax
nop
mov rax, qword [rcx]
movss xmm3, dword [rax + 8]
comiss xmm8, xmm3
movss xmm2, dword [rax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [rax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [rax + 0x14]
jbe 0x140018807
movaps xmm8, xmm3
comiss xmm7, xmm2
jbe 0x14001880f
movaps xmm7, xmm2
comiss xmm0, xmm4
jbe 0x140018817
movaps xmm4, xmm0
comiss xmm1, xmm5
jbe 0x14001881f
movaps xmm5, xmm1
add rcx, 8
sub rdx, 1
jne 0x1400187e0
mov qword [rsp + 0x70], r15
movss dword [rbx + 0x1bdc], xmm8
movss dword [rbx + 0x1be0], xmm7
movss dword [rbx + 0x1be4], xmm4
movss dword [rbx + 0x1be8], xmm5
mov eax, dword [rbx + 0x170c]
movss xmm1, dword [rbx + 0x1710]
movaps xmm8, xmmword [rsp + 0x40]
mov dword [rbx + 0x1bd4], eax
movss xmm0, dword [rbx + 0x1bd8]
ucomiss xmm0, xmm1
jp 0x14001887c
je 0x1400188f8
movss xmm7, dword [0x14014ee80]
lea r14, [rbx + 0x1c50]
movss dword [rbx + 0x1bd8], xmm1
mov ebp, edi
mov r15d, 0x200
nop dword [rax + rax]
movd xmm1, ebp
cvtdq2ps xmm1, xmm1
addss xmm1, xmm10
movaps xmm0, xmm1
subss xmm0, dword [rbx + 0x1bd8]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm7
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x1400188d7
mov edx, recv
jmp 0x1400188de
cmp edx, r15d
cmovg edx, r15d
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
inc ebp
mov byte [r14], cl
inc r14
cmp ebp, 0x40
jl 0x1400188a0
mov r8d, edi
movaps xmm7, xmmword [rsp + 0x50]
mov dword [rbx + 0x1bec], edi
cmp byte [rbx + 0x1708], dil
je 0x14001891f
mov dword [rbx + 0x1bec], 1
mov r8d, 1
mov edx, r8d
cmp byte [rbx + 0x1709], dil
je 0x140018945
mov rax, qword [rbx + 0x1bb0]
mov rcx, qword [rax + 0x40]
test byte [rcx + 4], 4
jne 0x140018945
or edx, 2
mov dword [rbx + 0x1bec], edx
cmp byte [rbx + 0x170a], dil
je 0x140018957
or edx, 4
mov dword [rbx + 0x1bec], edx
test byte [rbx + 0xc], 8
je 0x140018966
or edx, 8
mov dword [rbx + 0x1bec], edx
mov edx, edi
cmp dword [rbx + 0x1ec0], edi
jle 0x1400189c8
mov r8, rdi
mov rax, qword [rbx + 0x1ec8]
lea r8, [r8 + 8]
inc edx
mov rcx, qword [r8 + rax - 8]
mov qword [rcx + 0x30], rdi
mov qword [rcx + 0xdc], rdi
mov qword [rcx + 0xd4], rdi
mov qword [rcx + 0xcc], rdi
mov qword [rcx + 0xe8], rdi
mov byte [rcx + 0xb0], dil
mov qword [rcx + 0xb8], rdi
mov qword [rcx + 0xc4], rdi
mov dword [rcx + 0xc0], edi
cmp edx, dword [rbx + 0x1ec0]
jl 0x140018973
cmp byte [rbx + 0x207c], dil
je 0x1400189fc
mov eax, dword [rbx + 0x209c]
cmp eax, dword [rbx + 0x1d70]
jne 0x1400189fc
cmp dword [rsi + 0x1d70], eax
jne 0x1400189ed
mov dword [rsi + 0x1d74], eax
cmp dword [rsi + 0x1db0], eax
jne 0x1400189fc
mov byte [rsi + 0x1db4], 1
cmp dword [rbx + 0x1d60], edi
jne 0x140018a0c
mov dword [rbx + 0x1d68], edi
jmp 0x140018a1e
mov eax, dword [rbx + 0x1d5c]
test eax, eax
je 0x140018a24
cmp dword [rbx + 0x1d70], eax
jne 0x140018a24
mov dword [rbx + 0x1d6c], edi
mov eax, dword [rbx + 0x1d5c]
test eax, eax
je 0x140018a5e
movss xmm1, dword [rbx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rbx + 0x1d68]
movss dword [rbx + 0x1d68], xmm0
cmp dword [rbx + 0x1d70], eax
je 0x140018a5e
addss xmm1, dword [rbx + 0x1d6c]
movss dword [rbx + 0x1d6c], xmm1
mov dword [rbx + 0x1d60], eax
mov eax, dword [rbx + 0x1d70]
mov dword [rbx + 0x1d5c], edi
mov word [rbx + 0x1d64], di
cmp dword [rbx + 0x1d74], eax
je 0x140018ad6
cmp dword [rbx + 0x1db0], eax
jne 0x140018ad6
test eax, eax
je 0x140018ad6
mov ecx, dword [rsi + 0x1d70]
test ecx, ecx
setne al
mov byte [rsi + 0x1d7c], al
test ecx, ecx
je 0x140018aad
mov dword [rsi + 0x1d78], edi
mov word [rsi + 0x1d7f], di
mov dword [rsi + 0x1d70], edi
mov word [rsi + 0x1d7d], di
mov qword [rsi + 0x1da0], rdi
mov byte [rsi + 0x1d81], dil
mov qword [rsi + 0x1d84], rdi
mov qword [rsi + 0x1d90], rdi
mov ecx, dword [rbx + 0x1d70]
test ecx, ecx
je 0x140018af5
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1d78]
movss dword [rbx + 0x1d78], xmm0
mov rax, qword [rbx + 0x1da0]
movss xmm0, dword [rbx + 0x18]
addss xmm0, dword [rbx + 0x1dc4]
mov qword [rbx + 0x1db8], rax
movzx eax, byte [rbx + 0x1d80]
mov byte [rbx + 0x1db5], al
mov eax, dword [rbx + 0x3080]
movss dword [rbx + 0x1dc4], xmm0
mov dword [rbx + 0x1db0], ecx
mov dword [rbx + 0x1d74], edi
mov byte [rbx + 0x1d81], dil
mov byte [rbx + 0x1db4], dil
mov byte [rbx + 0x1d7c], dil
test eax, eax
je 0x140018b5a
cmp ecx, eax
je 0x140018b5a
mov dword [rbx + 0x3080], edi
test ecx, ecx
jne 0x140018b6c
mov qword [rbx + 0x1d84], rdi
mov qword [rbx + 0x1d90], rdi
mov eax, dword [rbx + 0x20ec]
mov r8d, 0x800
mov dword [rbx + 0x20f0], eax
mov eax, edi
mov qword [rbx + 0x20e8], 0x7f7fffff
mov word [rbx + 0x207d], di
mov dword [rbx + 0x20f8], edi
cmp byte [rsi + 0x154], dil
setne al
mov ecx, eax
or ecx, 2
cmp byte [rsi + 0x155], dil
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [rsi + 0x156], dil
cmove edx, ecx
lea rcx, [rbx + 0xcb0]
mov eax, edx
or eax, 8
cmp byte [rsi + 0x157], dil
cmove eax, edx
lea rdx, [rbx + 0x4b0]
mov dword [rbx + 0x3d4], eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm1, dword [0x14014f00c]
lea rcx, [rbx + 0x159]
lea rax, [rbx + 0x4b4]
mov r8d, 0x80
cmp byte [rcx - 1], dil
je 0x140018c20
movss xmm0, dword [rax - 4]
comiss xmm6, xmm0
jbe 0x140018c19
movaps xmm0, xmm6
jmp 0x140018c23
addss xmm0, dword [rbx + 0x18]
jmp 0x140018c23
movaps xmm0, xmm1
movss dword [rax - 4], xmm0
cmp byte [rcx], dil
je 0x140018c42
movss xmm0, dword [rax]
comiss xmm6, xmm0
jbe 0x140018c3b
movaps xmm0, xmm6
jmp 0x140018c45
addss xmm0, dword [rbx + 0x18]
jmp 0x140018c45
movaps xmm0, xmm1
movss dword [rax], xmm0
cmp byte [rcx + 1], dil
je 0x140018c65
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
jbe 0x140018c5e
movaps xmm0, xmm6
jmp 0x140018c68
addss xmm0, dword [rbx + 0x18]
jmp 0x140018c68
movaps xmm0, xmm1
movss dword [rax + 4], xmm0
cmp byte [rcx + 2], dil
je 0x140018c89
movss xmm0, dword [rax + 8]
comiss xmm6, xmm0
jbe 0x140018c82
movaps xmm0, xmm6
jmp 0x140018c8c
addss xmm0, dword [rbx + 0x18]
jmp 0x140018c8c
movaps xmm0, xmm1
movss dword [rax + 8], xmm0
add rcx, 4
add rax, 0x10
sub r8, 1
jne 0x140018c04
call fcn.140027520
call fcn.140017660
mov rcx, rbx
call fcn.14002e2d0
call fcn.140018160
call fcn.140016cc0
mov r10, qword [0x140214df0]
mov eax, dword [r10 + 0x1ea0]
sub eax, 1
js 0x140018d0b
mov r8, qword [r10 + 0x1ea8]
movsxd rdx, eax
add r8, 8
lea rcx, [rdx + rdx*2]
shl rcx, 4
add r8, rcx
nop dword [rax + rax]
mov rax, qword [r8]
test rax, rax
je 0x140018d01
test dword [rax + 0xc], 0x8000000
jne 0x140018d21
sub r8, 0x30
sub rdx, 1
jns 0x140018cf0
cmp qword [rbx + 0x2028], rdi
je 0x140018d3d
movss xmm0, dword [rbx + 0x2044]
comiss xmm0, xmm6
jbe 0x140018d3d
movss xmm1, dword [rbx + 0x18]
mulss xmm1, dword [0x14014ee7c]
addss xmm1, dword [rbx + 0x2074]
minss xmm1, xmm10
jmp 0x140018d5a
movss xmm0, dword [rbx + 0x18]
mulss xmm0, dword [0x14014ee8c]
movss xmm1, dword [rbx + 0x2074]
subss xmm1, xmm0
maxss xmm1, xmm6
movss dword [rbx + 0x2074], xmm1
mov dword [rbx + 0x2078], edi
mov qword [rbx + 0x33c0], 0xffffffffffffffff
mov dword [rbx + 0x33bc], 0xffffffff
mov dword [rbx + 0x30e8], 0x3f800000
mov dword [rbx + 0x30ec], 0x3f800000
mov qword [rbx + 0x30f8], rdi
call fcn.140017a60
mov r8, qword [r10 + 0x1ef8]
movaps xmm10, xmmword [rsp + 0x20]
test r8, r8
je 0x140018de0
cmp byte [r8 + 0xbf], dil
je 0x140018de0
test dword [r8 + 0xc], 0x40000
jne 0x140018de0
cmp byte [r10 + 0x154], dil
jne 0x140018de0
mov ecx, dword [r10 + 0x3c]
test ecx, ecx
js 0x140018de0
call fcn.14001bbe0
test al, al
je 0x140018de0
mov al, 1
jmp 0x140018de2
xor al, al
mov byte [r10 + 0x2070], al
cmp dword [r10 + 0x1d70], edi
jne 0x140018e4d
test al, al
je 0x140018e4d
mov qword [r10 + 0x2058], r8
mov dword [r10 + 0x2068], 0x7fffffff
cmp dword [r10 + 0x1f00], edi
je 0x140018e3a
mov ecx, dword [r10 + 0x1f48]
cmp ecx, 0x7fffffff
je 0x140018e3a
cmp byte [r10 + 0x155], dil
mov eax, 2
cmovne eax, edi
add eax, ecx
mov dword [r10 + 0x206c], eax
jmp 0x140018e4d
movzx eax, byte [r10 + 0x155]
neg al
sbb ecx, ecx
mov dword [r10 + 0x206c], ecx
mov r8, qword [r10 + 0x2058]
mov qword [r10 + 0x2050], rdi
mov dword [r10 + 0x2064], 0x7fffffff
mov dword [r10 + 0x2060], 0x7fffffff
test r8, r8
je 0x140018eea
mov eax, dword [r10 + 0x2068]
mov qword [r10 + 0x2050], r8
cmp eax, 0x7fffffff
je 0x140018ea5
mov ecx, dword [r8 + 0x1f8]
cmp ecx, 0xffffffff
je 0x140018ea5
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x2060], edx
mov eax, dword [r10 + 0x206c]
cmp eax, 0x7fffffff
je 0x140018ecd
mov ecx, dword [r8 + 0x1fc]
cmp ecx, 0xffffffff
je 0x140018ecd
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [r10 + 0x2064], edx
mov qword [r10 + 0x2058], rdi
mov dword [r10 + 0x206c], 0x7fffffff
mov dword [r10 + 0x2068], 0x7fffffff
mov dword [r10 + 0x1f48], 0x7fffffff
movss xmm0, dword [rbx + 0xd8]
comiss xmm0, xmm6
jb 0x140018f15
movsd xmm9, qword [rbx + 0x1c98]
cvtpd2ps xmm9, xmm9
subss xmm9, xmm0
mov esi, edi
cmp dword [rbx + 0x1cc0], edi
je 0x140018f80
mov r14, rdi
mov rax, qword [rbx + 0x1cc8]
mov rcx, qword [r14 + rax]
movzx eax, byte [rcx + 0xbf]
mov byte [rcx + 0xc0], al
mov word [rcx + 0xca], di
mov byte [rcx + 0xbf], dil
mov byte [rcx + 0xc1], dil
test al, al
jne 0x140018f6b
cmp byte [rcx + 0x440], dil
jne 0x140018f6b
comiss xmm9, dword [rcx + 0x2e0]
jbe 0x140018f6b
call fcn.140015e10
inc esi
add r14, 8
cmp esi, dword [rbx + 0x1cc0]
jne 0x140018f22
mov r10, qword [0x140214df0]
mov rax, qword [rbx + 0x1ef8]
movaps xmm9, xmmword [rsp + 0x30]
test rax, rax
je 0x140018ff3
cmp byte [rax + 0xc0], dil
jne 0x140018ff3
mov eax, dword [r10 + 0x1cd0]
sub eax, 1
js 0x140018fec
movsxd rdx, eax
mov rax, qword [r10 + 0x1cd8]
lea r8, [rax + rdx*8]
mov rcx, qword [r8]
test rcx, rcx
je 0x140018fe2
cmp byte [rcx + 0xc0], dil
je 0x140018fe2
cmp qword [rcx + 0x3f0], rcx
jne 0x140018fe2
mov eax, dword [rcx + 0xc]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1400190bd
sub r8, 8
sub rdx, 1
jns 0x140018fb5
xor ecx, ecx
call fcn.140022a80
lea rcx, [rbx + 0x1cf0]
call fcn.140039550
mov ecx, dword [rbx + 0x1eb4]
test ecx, ecx
jns 0x140019025
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x1eb0]
test eax, eax
cmovg edx, eax
call fcn.14003b0c0
mov r13, qword [0x140214df0]
mov dword [rbx + 0x1eb0], edi
mov r11, qword [rbx + 0x1ef8]
movsxd rsi, dword [r13 + 0x1ea0]
test esi, esi
je 0x1400190f0
mov r10d, edi
test r11, r11
je 0x1400190dd
test esi, esi
jle 0x1400190dd
mov r14, qword [r13 + 0x1ea8]
mov rbp, rdi
add r14, 8
mov r15, rdi
nop dword [rax]
mov rax, qword [r14]
test rax, rax
je 0x1400190ca
test dword [rax + 0xc], 0x1000000
jne 0x1400190ca
mov rdx, rbp
cmp r10d, esi
jge 0x1400190dd
mov rcx, qword [r13 + 0x1ea8]
add rcx, 8
add rcx, r15
mov r8, qword [rcx]
test r8, r8
je 0x1400190af
mov rax, qword [r11 + 0x3e8]
cmp qword [r8 + 0x3e8], rax
je 0x1400190ca
inc rdx
add rcx, 0x30
cmp rdx, rsi
jl 0x140019097
jmp 0x1400190e6
call fcn.140026e50
mov rcx, rax
jmp 0x140018fee
inc r10d
inc rbp
add r15, 0x30
add r14, 0x30
cmp r10d, esi
jl 0x140019070
cmp r10d, dword [r13 + 0x1ea0]
jge 0x1400190f0
xor edx, edx
mov ecx, r10d
call fcn.1400254e0
test byte [rbx + 8], 0x40
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0xb0]
je 0x140019213
mov rax, qword [rbx + 0x1d30]
mov qword [rbx + 0x1d38], rdi
test rax, rax
je 0x14001915a
mov rcx, qword [rax + 0x450]
test rcx, rcx
je 0x140019140
mov rdx, qword [rbx + 0x138]
call fcn.140035550
mov qword [rbx + 0x1d38], rax
jmp 0x14001915a
mov rax, qword [rax + 0x3f0]
mov rcx, qword [rax + 0x448]
test rcx, rcx
je 0x14001915a
mov qword [rbx + 0x1d38], rcx
mov esi, edi
cmp dword [rbx + 0x3118], edi
jle 0x14001919d
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3120]
cmp dword [rax + rbp], 1
jne 0x14001918f
movsxd rdx, esi
mov rcx, rbx
shl rdx, 6
add rdx, rax
call fcn.14002f5e0
inc esi
add rbp, 0x40
cmp esi, dword [rbx + 0x3118]
jl 0x140019170
mov ecx, dword [rbx + 0x311c]
test ecx, ecx
jns 0x1400191c3
mov eax, ecx
cdq
sub eax, edx
mov edx, edi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x3118]
test eax, eax
cmovg edx, eax
call fcn.14003b3a0
mov dword [rbx + 0x3118], edi
mov esi, edi
cmp dword [rbx + 0x3108], edi
jle 0x140019213
mov rbp, rdi
nop word [rax + rax]
mov rax, qword [rbx + 0x3110]
mov rcx, qword [rax + rbp + 8]
test rcx, rcx
je 0x140019205
cmp qword [rcx + 0x10], rdi
jne 0x140019205
test dword [rcx + 8], 0x400
jne 0x140019205
call fcn.140030d50
inc esi
add rbp, 0x10
cmp esi, dword [rbx + 0x3108]
jl 0x1400191e0
mov r8, qword [0x140214df0]
mov rbp, qword [rsp + 0xa8]
mov dword [r8 + 0x31c0], edi
cmp byte [r8 + 0x31bc], dil
je 0x1400192ea
mov esi, dword [r8 + 0x1d60]
mov dword [r8 + 0x2078], 7
mov ecx, dword [r8 + 0x74]
test ecx, ecx
js 0x140019260
call fcn.14001bbe0
test al, al
je 0x140019260
mov byte [r8 + 0x31bc], dil
movss xmm0, dword [r8 + 0x44c]
ucomiss xmm0, xmm6
jp 0x140019282
jne 0x140019282
test esi, esi
je 0x140019282
mov dword [r8 + 0x31c0], esi
mov byte [r8 + 0x31bc], dil
mov rax, qword [0x140214df0]
xor edx, edx
or dword [rax + 0x1dc8], 0x40
mov dword [rax + 0x1e28], 0x3f19999a
call fcn.140024dc0
mov edx, esi
lea rcx, str.HoveredId:_0x_08X
call fcn.1400568e0
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.1400568e0
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 [0x140214df0]
add rax, 0x1714
add rcx, rax
call fcn.1400569e0
call fcn.140022690
mov rax, qword [0x140214df0]
lea rcx, str.DebugDefault
mov byte [rbx + 0x1cb1], 1
xor r8d, r8d
xor edx, edx
or dword [rax + 0x1dc8], 2
mov dword [rax + 0x1dec], 0x43c80000
mov dword [rax + 0x1df0], 0x43c80000
mov dword [rax + 0x1dd0], 4
call fcn.14001f5b0
movaps xmm6, xmmword [rsp + 0x60]
cmp dword [rbx + 0x3178], edi
jle 0x14001936f
mov rsi, rdi
nop
mov r8, qword [rbx + 0x3180]
cmp dword [rsi + r8], 1
jne 0x140019361
movsxd rax, edi
lea rcx, [rax + rax*2]
lea rdx, [r8 + rcx*8]
mov rcx, rbx
call qword [rsi + rreloc.WS2_32.dll_htonl + 8]
inc edi
add rsi, 0x18
cmp edi, dword [rbx + 0x3178]
jl 0x140019340
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret