Function at 0x140026d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x1401ba200]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov eax, dword [rcx + 0xa4]
mov rdi, rcx
mov r14, qword [0x140399cd0]
inc eax
movzx ecx, byte [rcx + 0xbc]
mov r12, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x64], eax
mov edx, dword [r14 + 0x1c90]
mov dword [rsp + 0x60], edx
test cl, 0x10
je 0x140026dc2
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x140026dc7
mov byte [rsp + 0x30], 0
xor r13d, r13d
lea r9d, [r13 + 1]
cmp dword [rdi + 0xb4], r13d
je 0x140026de0
mov dword [rsp + 0x40], r9d
cmp eax, edx
je 0x140026de5
mov dword [rsp + 0x40], r13d
and cl, 0xef
mov dword [rdi + 0xb4], r13d
xor bl, bl
mov byte [rdi + 0xbc], cl
mov rax, qword [rdi + 0x10]
mov r8, rdi
mov dword [rsp + 0x34], ebx
mov qword [rsp + 0x50], rdi
test rax, rax
je 0x140026e23
nop dword [rax]
mov qword [rsp + 0x50], rax
mov rax, qword [rax + 0x10]
test rax, rax
jne 0x140026e10
mov r8, qword [rsp + 0x50]
mov rax, qword [r14 + 0x2080]
test rax, rax
je 0x140026e3b
cmp qword [rax + 0x448], rdi
sete bl
jmp 0x140026e68
mov rdx, qword [r14 + 0x1f50]
test rdx, rdx
je 0x140026e6c
mov rax, qword [r12 + 0x3d8]
cmp qword [rdx + 0x3e0], rax
jne 0x140026e6c
mov eax, dword [rdi]
cmp dword [r8 + 0xac], eax
movzx ebx, bl
cmove ebx, r9d
mov dword [rsp + 0x34], ebx
mov eax, dword [rdi + 8]
test eax, 0x3000
jne 0x140027a4c
movzx ecx, byte [r12 + 0xd4]
mov qword [rsp + 0x1c0], rsi
mov qword [rsp + 0x170], r15
movaps xmmword [rsp + 0x150], xmm7
shr eax, 0xa
movaps xmmword [rsp + 0x140], xmm8
movaps xmmword [rsp + 0x120], xmm10
mov byte [rsp + 0x31], cl
test r9b, al
jne 0x140026ec9
mov byte [r12 + 0xd4], r13b
mov dword [r12 + 0x18c], r9d
mov ecx, dword [rdi]
call fcn.14001b8b0
mov rax, qword [rdi + 0x38]
mov qword [rsp + 0x68], rax
mov rsi, rax
test rax, rax
jne 0x140026eed
mov rcx, rdi
call fcn.140027ad0
mov rsi, qword [rdi + 0x38]
and byte [rdi + 0xbc], 0xfd
movzx eax, bl
add al, al
mov dword [rsp + 0x38], r13d
or byte [rdi + 0xbc], al
mov eax, dword [rdi + 4]
or eax, dword [rdi + 8]
bt eax, 0xe
jb 0x140026f50
cmp dword [r14 + 0x165c], 0xffffffff
je 0x140026f50
mov byte [rbp - 0x80], 1
call fcn.14001c760
test al, al
je 0x140026f54
mov rdx, rsi
mov rcx, rdi
call fcn.140026b90
test eax, eax
je 0x140026f3d
mov dword [rsi + 0x1c], eax
mov dword [rsp + 0x38], eax
movzx eax, byte [rdi + 0xbc]
shr al, 1
and al, 1
or bl, al
mov dword [rsp + 0x34], ebx
jmp 0x140026f54
mov byte [rbp - 0x80], r13b
movss xmm7, dword [rdi + 0x44]
mov rcx, qword [0x140399cd0]
movaps xmm5, xmm7
movss xmm3, dword [rdi + 0x40]
movzx eax, byte [rdi + 0xbc]
movaps xmm8, xmm3
movss dword [rsp + 0x74], xmm7
movss xmm1, dword [rcx + 0x1674]
movss xmm2, dword [rcx + 0x1a80]
addss xmm1, xmm1
movss dword [rbp - 0x78], xmm3
movaps xmm0, xmm2
movss dword [rbp - 0x74], xmm7
addss xmm0, xmm7
addss xmm8, dword [rdi + 0x48]
addss xmm1, xmm0
movss dword [rbp - 0x70], xmm8
movaps xmm0, xmm8
movss dword [rsp + 0x7c], xmm1
movss dword [rbp - 0x6c], xmm1
movss xmm1, dword [rcx + 0x1670]
subss xmm0, xmm1
movaps xmm4, xmm1
addss xmm4, xmm3
movss dword [rsp + 0x78], xmm0
movss dword [rsp + 0x70], xmm4
test al, 4
je 0x140026fea
subss xmm0, xmm2
movss dword [rsp + 0x78], xmm0
test al, 8
je 0x140027036
cmp dword [rcx + 0x165c], r13d
jne 0x140027003
addss xmm2, xmm4
movss dword [rsp + 0x70], xmm2
jmp 0x140027036
cmp dword [rcx + 0x165c], 1
jne 0x140027036
addss xmm1, xmm2
subss xmm0, xmm1
movaps xmm1, xmm0
movss dword [rsp + 0x78], xmm0
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x58], xmm1
movss xmm3, dword [rsp + 0x58]
shufps xmm0, xmm0, 0x55
movaps xmm5, xmm0
mov r15d, r13d
mov eax, dword [rsi]
movups xmm0, xmmword [rsp + 0x70]
mov dword [rsp + 0x3c], eax
movss dword [rsp + 0x58], xmm3
movups xmmword [rbp - 0x68], xmm0
movss dword [rsp + 0x5c], xmm5
cmp dword [rdi + 0x28], r13d
jle 0x1400270c9
mov rbx, r13
nop dword [rax]
mov rax, qword [rdi + 0x30]
mov r9, qword [rbx + rax]
mov r8d, dword [r9 + 8]
test r8d, r8d
je 0x1400270a1
mov edx, dword [rsi]
mov eax, r13d
test edx, edx
jle 0x1400270a1
mov rcx, qword [rsi + 8]
nop
cmp dword [rcx], r8d
je 0x140027091
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x140027080
jmp 0x1400270a1
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
jne 0x1400270b1
mov r8, r9
mov edx, 0x400000
mov rcx, rsi
call fcn.14004bca0
inc r15d
add rbx, 8
cmp r15d, dword [rdi + 0x28]
jl 0x140027060
mov rcx, qword [0x140399cd0]
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x1400270da
mov eax, dword [r14 + 0x1c90]
mov dword [rdi + 0xa8], eax
cmp byte [r12 + 0xd2], r13b
je 0x1400270eb
mov eax, recv
jmp 0x1400270f7
test bl, bl
mov rax, r13
setne al
add rax, 0xa
add rax, rax
movups xmm0, xmmword [rcx + rax*8 + 0x16fc]
movups xmmword [rsp + 0x70], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rcx + 0x1638]
lea rcx, [rsp + 0x70]
movss dword [rsp + 0x7c], xmm0
call fcn.14000d2e0
movss xmm0, dword [r12 + 0x88]
lea r8, [rbp - 0x70]
mov rcx, qword [r12 + 0x2f8]
lea rdx, [rbp - 0x78]
mov r9d, eax
mov dword [rsp + 0x28], 0x30
movss dword [rsp + 0x20], xmm0
call fcn.140037ab0
cmp byte [rbp - 0x80], r13b
je 0x1400271e3
movsxd rax, dword [r12 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000ce20
mov rcx, qword [0x140399cd0]
cmp dword [rcx + 0x1d6c], eax
jne 0x140027195
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x1400271a4
mov byte [rcx + 0x1dac], 1
mov r8, rdi
lea rdx, [rsp + 0x58]
mov ecx, eax
call fcn.140043f20
test al, al
je 0x1400271bc
call fcn.14001c7c0
mov rax, qword [0x140399cd0]
mov ecx, dword [rax + 0x1d6c]
test ecx, ecx
je 0x1400271e3
mov rax, qword [rax + 0x1d18]
cmp ecx, dword [rax + 0x164]
jne 0x1400271e3
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov r9d, dword [rsi]
lea ecx, [r9 - 1]
test ecx, ecx
js 0x140027224
movsxd rax, ecx
lea rdx, [rax + rax*2]
shl rdx, 4
nop dword [rax]
mov r8, qword [rsi + 8]
mov eax, dword [rdx + r8 + 4]
bt eax, 0x16
jae 0x140027224
btr eax, 0x16
mov r9d, ecx
mov dword [rdx + r8 + 4], eax
sub rdx, 0x30
sub ecx, 1
jns 0x140027200
mov ecx, dword [rsi]
cmp ecx, r9d
jle 0x14002725a
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14002725a
sub ecx, r9d
movsxd rax, r9d
movsxd rdx, ecx
lea r9, [0x140026b40]
mov r8d, 0x30
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
call fcn.1400c9680
mov rax, qword [r14 + 0x1f50]
test rax, rax
je 0x14002727c
mov rax, qword [rax + 0x3d0]
cmp qword [rax + 0x448], rdi
jne 0x14002727c
mov eax, dword [rax + 8]
mov dword [rsi + 0x18], eax
cmp qword [rsp + 0x68], r13
jne 0x1400272b3
mov edx, dword [rdi + 0xb0]
test edx, edx
je 0x1400272b3
mov r8d, dword [rsi]
mov eax, r13d
test r8d, r8d
jle 0x1400272b3
mov rcx, qword [rsi + 8]
nop dword [rax]
cmp dword [rcx], edx
je 0x140027520
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400272a0
movsxd rax, dword [rsi]
cmp eax, dword [rsp + 0x3c]
jle 0x1400272d5
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 8]
mov dword [rsi + 0x1c], eax
mov dword [rsi + 0x18], eax
mov r8d, 0x500003
cmp byte [r12 + 0xd2], r13b
jne 0x1400272f0
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rdi
movaps xmmword [rsp + 0x160], xmm6
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.14004a9e0
movups xmm0, xmmword [r14 + 0x190c]
mov dword [rsp + 0x3c], r13d
movups xmm1, xmmword [r14 + 0x191c]
movups xmm2, xmmword [r14 + 0x16fc]
movaps xmmword [rbp - 0x40], xmm0
movups xmm0, xmmword [r14 + 0x192c]
movaps xmmword [rbp - 0x30], xmm1
movups xmm1, xmmword [r14 + 0x193c]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r14 + 0x194c]
mov qword [rdi + 0x88], r13
movaps xmmword [rbp - 0x50], xmm2
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm1
cmp dword [rdi + 0x28], r13d
jle 0x140027570
movss xmm6, dword [0x14019bc48]
lea r11, [0x14010b340]
mov r15, r13
lea r10, [0x14010b358]
nop
mov rax, qword [rdi + 0x30]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x30], r13b
jne 0x140027398
mov eax, dword [rsp + 0x40]
cmp eax, dword [rbx + 8]
jne 0x1400273ae
cmp byte [rbx + 0xd8], r13b
je 0x1400273ae
test dword [rbx + 0xc], 0x100000
je 0x14002754d
mov eax, dword [rbx + 0x2b8]
inc eax
cmp eax, dword [r14 + 0x1c90]
jge 0x1400273cd
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x64], eax
je 0x14002754d
mov edx, dword [rbx + 0x24]
mov r8, rbx
or edx, 1
test dword [rbx + 0xc], 0x100000
cmove edx, dword [rbx + 0x24]
mov r9d, edx
or r9d, 4
test byte [rsi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop word [rax + rax]
mov ecx, dword [r8 + rdx + 0x42c]
xorps xmm3, xmm3
movzx eax, cl
xorps xmm2, xmm2
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2ss xmm3, rax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtsi2ss xmm2, rax
mov eax, ecx
shr ecx, 0x18
shr eax, 0x10
movzx eax, al
mulss xmm3, xmm6
cvtsi2ss xmm1, rax
mov eax, ecx
shufps xmm3, xmm3, 0xe1
cvtsi2ss xmm0, rax
movsxd rax, dword [rdx]
add rdx, 4
add rax, rax
mulss xmm2, xmm6
mulss xmm1, xmm6
mulss xmm0, xmm6
movss xmm3, xmm2
shufps xmm3, xmm3, 0xc6
movss xmm3, xmm1
shufps xmm3, xmm3, 0x27
movss xmm3, xmm0
shufps xmm3, xmm3, 0x39
movups xmmword [r14 + rax*8 + 0x16fc], xmm3
cmp rdx, r10
jl 0x140027400
cmp byte [rbx + 0xd8], r13b
lea r8, [rbp - 0x80]
mov rdx, qword [rbx]
mov rcx, rsi
cmove r8, r13
mov byte [rbp - 0x80], 1
mov qword [rsp + 0x20], rbx
call fcn.14004c5c0
cmp byte [rbp - 0x80], r13b
jne 0x1400274ba
mov eax, dword [rbx + 8]
mov dword [rdi + 0xb4], eax
mov eax, dword [rbx + 8]
cmp dword [rsi + 0x20], eax
jne 0x1400274c9
mov qword [rdi + 0x88], rbx
mov eax, dword [r12 + 0x168]
mov dword [rbx + 0x45c], eax
movups xmm0, xmmword [r12 + 0x16c]
movups xmmword [rbx + 0x460], xmm0
mov rax, qword [r14 + 0x1f50]
test rax, rax
je 0x14002753f
cmp qword [rax + 0x3d0], rbx
jne 0x14002753f
test byte [rbx + 0x190], 2
lea r10, [0x14010b358]
lea r11, [0x14010b340]
jne 0x14002754d
mov eax, dword [rbx + 8]
mov dword [r12 + 0x3fc], eax
jmp 0x14002754d
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
je 0x1400272b3
mov dword [rsi + 0x1c], edx
mov dword [rsi + 0x18], edx
jmp 0x1400272d5
lea r11, [0x14010b340]
lea r10, [0x14010b358]
mov eax, dword [rsp + 0x3c]
add r15, 8
inc eax
mov dword [rsp + 0x3c], eax
cmp eax, dword [rdi + 0x28]
jl 0x140027380
movaps xmm2, xmmword [rbp - 0x50]
mov ebx, dword [rsp + 0x34]
nop dword [rax]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [r14 + 0x16fc], xmm2
movups xmmword [r14 + 0x190c], xmm0
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r14 + 0x191c], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [r14 + 0x192c], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [r14 + 0x193c], xmm1
movups xmmword [r14 + 0x194c], xmm0
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x1400275d9
mov rcx, qword [rsp + 0x50]
test bl, bl
jne 0x1400275d2
cmp qword [rcx + 0x88], r13
jne 0x1400275d9
mov qword [rcx + 0x88], rax
movzx eax, byte [rdi + 0xbc]
xorps xmm10, xmm10
and al, 4
je 0x140027604
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x140027604
cmp byte [rcx + 0xd8], r13b
je 0x140027604
mov bl, 1
jmp 0x140027708
test al, al
je 0x140027852
mov rbx, qword [0x140399cd0]
movaps xmmword [rsp + 0x130], xmm9
mov r12d, dword [rbx + 0x1d54]
lea r15, [rbx + 0x1eb0]
or r12d, 4
mov dword [rbx + 0x1d54], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x140027671
inc r8d
test ecx, ecx
je 0x140027653
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x140027658
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.14002ce00
mov rbx, qword [0x140399cd0]
movsxd rcx, dword [r15]
lea rdx, [rbp - 0x68]
mov rax, qword [r15 + 8]
mov dword [rbp - 0x68], r13d
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x1e70]
inc dword [r15]
movups xmm0, xmmword [rbx + 0x16fc]
movss xmm6, dword [r14 + 0x16fc]
movss xmm7, dword [r14 + 0x1700]
movss xmm8, dword [r14 + 0x1704]
movss xmm9, dword [r14 + 0x1708]
movups xmmword [rbp - 0x64], xmm0
call fcn.14002c760
movss dword [rbx + 0x16fc], xmm6
movss dword [rbx + 0x1700], xmm7
movss dword [rbx + 0x1704], xmm8
mulss xmm9, dword [0x14019bc80]
movss dword [rbx + 0x1708], xmm9
xor bl, bl
movss xmm8, dword [rbp - 0x70]
movss xmm7, dword [rbp - 0x74]
mov r12, qword [rsp + 0x48]
movaps xmm9, xmmword [rsp + 0x130]
movsxd rax, dword [r12 + 0x108]
addss xmm7, xmm10
mov r8, qword [r12 + 0x110]
lea rcx, str.CLOSE
movss xmm0, dword [r14 + 0x1670]
xor edx, edx
xorps xmm0, xmmword [0x14019bfa0]
addss xmm0, xmm0
mov r8d, dword [r8 + rax*4 - 4]
movss dword [rsp + 0x4c], xmm7
subss xmm0, dword [r14 + 0x1a80]
addss xmm0, xmm8
movss dword [rsp + 0x48], xmm0
call fcn.14000ce20
mov rcx, qword [0x140399cd0]
cmp dword [rcx + 0x1d6c], eax
jne 0x140027773
mov dword [rcx + 0x1d70], eax
cmp dword [rcx + 0x1da8], eax
jne 0x140027782
mov byte [rcx + 0x1dac], 1
lea rdx, [rsp + 0x48]
mov ecx, eax
call fcn.140043b50
test al, al
je 0x1400277f7
mov edx, dword [rsi + 0x20]
test edx, edx
je 0x1400277f7
mov r8d, dword [rsi]
mov eax, r13d
test r8d, r8d
jle 0x1400277f7
mov rcx, qword [rsi + 8]
cmp dword [rcx], edx
je 0x1400277b9
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400277a8
jmp 0x1400277f7
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
je 0x1400277f7
mov eax, dword [rcx]
mov dword [rdi + 0xb4], eax
test byte [rcx + 4], 1
mov eax, dword [rcx]
jne 0x1400277ef
mov byte [rcx + 0x2a], 1
cmp dword [rsi + 0x20], eax
jne 0x1400277f7
mov dword [rcx + 0x10], 0xffffffff
mov qword [rsi + 0x18], r13
jmp 0x1400277f7
cmp dword [rsi + 0x20], eax
je 0x1400277f7
mov dword [rsi + 0x1c], eax
test bl, bl
jne 0x140027852
mov rbx, qword [0x140399cd0]
mov rcx, qword [rbx + 0x1e78]
movsxd rax, dword [rbx + 0x1e70]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, rax
movups xmmword [rbx + rax*8 + 0x16fc], xmm0
dec dword [rbx + 0x1e70]
movsxd rcx, dword [rbx + 0x1eb0]
lea eax, [rcx - 1]
mov dword [rbx + 0x1eb0], eax
mov rax, qword [rbx + 0x1eb8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x1d54], ecx
jmp 0x140027859
mov rbx, qword [0x140399cd0]
movsxd rax, dword [r12 + 0x108]
lea rcx, str.TITLEBAR
mov r8, qword [r12 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14000ce20
mov r15d, eax
movaps xmm8, xmmword [rsp + 0x140]
movaps xmm7, xmmword [rsp + 0x150]
movaps xmm6, xmmword [rsp + 0x160]
cmp dword [rbx + 0x1d6c], eax
jne 0x1400278a6
mov dword [rbx + 0x1d70], eax
cmp dword [rbx + 0x1da8], r15d
jne 0x1400278b6
mov byte [rbx + 0x1dac], 1
mov eax, dword [r14 + 0x1d58]
test eax, eax
je 0x1400278d3
cmp eax, r15d
je 0x1400278d3
cmp dword [r14 + 0x1d6c], r15d
jne 0x1400279a2
lea r9, [rsp + 0x30]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x78]
mov edx, r15d
call fcn.140042e20
mov rcx, qword [0x140399cd0]
cmp dword [r14 + 0x1d58], r15d
jne 0x140027932
mov dword [r12 + 0x164], r15d
mov rax, qword [rcx + 0x1d18]
mov edx, dword [rax + 0x164]
cmp dword [rcx + 0x1d58], edx
jne 0x140027923
mov byte [rcx + 0x1d60], 1
cmp dword [rcx + 0x1d6c], edx
jne 0x140027932
mov byte [rcx + 0x1d79], 1
cmp byte [rsp + 0x30], r13b
je 0x1400279a2
movss xmm0, dword [rcx + 0x434]
ucomiss xmm0, xmm10
jp 0x140027950
jne 0x140027950
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x38], eax
mov edx, dword [rsi + 0x18]
test edx, edx
je 0x1400279a2
mov r8d, dword [rsi]
mov eax, r13d
test r8d, r8d
jle 0x1400279a2
mov rcx, qword [rsi + 8]
cmp dword [rcx], edx
je 0x140027977
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x140027966
jmp 0x1400279a2
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rsi + 8]
je 0x1400279a2
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140027997
mov rcx, qword [rdi + 0x80]
xor r8d, r8d
mov rdx, rdi
call fcn.140010360
mov edx, dword [rsi + 0x1c]
test edx, edx
movaps xmm10, xmmword [rsp + 0x120]
cmove edx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x170]
test edx, edx
je 0x140027a0a
mov r8d, dword [rsi]
mov eax, r13d
test r8d, r8d
jle 0x140027a0a
mov rcx, qword [rsi + 8]
cmp dword [rcx], edx
je 0x1400279e1
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x1400279d0
jmp 0x140027a0a
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, qword [rsi + 8]
je 0x140027a0a
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140027a0a
call fcn.14001b180
mov rcx, qword [rbx + 8]
xor edx, edx
call fcn.14001de80
call fcn.14004ad30
mov rax, qword [0x140399cd0]
mov rsi, qword [rsp + 0x1c0]
mov rcx, qword [rax + 0x1d18]
dec dword [rcx + 0x108]
mov eax, dword [rdi + 8]
shr eax, 0xa
test al, 1
jne 0x140027ab1
movzx eax, byte [rsp + 0x31]
mov byte [r12 + 0xd4], al
mov dword [r12 + 0x18c], r13d
jmp 0x140027ab1
cmp dword [rdi + 0x28], r13d
jle 0x140027a59
mov rax, qword [rdi + 0x30]
mov r13, qword [rax]
and cl, 0xfd
mov qword [rdi + 0x88], r13
movzx eax, bl
add al, al
or cl, al
mov byte [rdi + 0xbc], cl
test bl, bl
je 0x140027a81
mov eax, dword [r14 + 0x1c90]
mov dword [rdi + 0xa8], eax
test r13, r13
je 0x140027ab1
test bl, bl
jne 0x140027a94
cmp qword [r8 + 0x88], 0
jne 0x140027a9b
mov qword [r8 + 0x88], r13
mov rdx, qword [rdi + 0x38]
test rdx, rdx
je 0x140027ab1
mov rax, qword [rdi + 0x88]
mov ecx, dword [rax + 8]
mov dword [rdx + 0x20], ecx
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b4820
add rsp, 0x178
pop r14
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret