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

Disassembly:
push rbp
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401e8080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov eax, dword [rcx + 0xb0]
mov rsi, rcx
mov r13, qword [0x1401ea6c0]
inc eax
movzx ecx, byte [rcx + 0xc8]
mov r8, rdx
mov qword [rsp + 0x48], rdx
mov dword [rbp - 0x80], eax
mov edx, dword [r13 + 0x3f60]
mov dword [rsp + 0x7c], edx
test cl, 0x40
je 0x14003cfc3
mov byte [rsp + 0x30], 1
cmp eax, edx
je 0x14003cfc8
mov byte [rsp + 0x30], 0
xor r14d, r14d
lea r10d, [r14 + 1]
cmp dword [rsi + 0xc0], r14d
je 0x14003cfe1
mov dword [rsp + 0x50], r10d
cmp eax, edx
je 0x14003cfe6
mov dword [rsp + 0x50], r14d
and cl, 0xbf
mov dword [rsi + 0xc0], r14d
xor r15b, r15b
mov byte [rsi + 0xc8], cl
mov rax, qword [rsi + 0x18]
mov r9, rsi
mov dword [rsp + 0x34], r15d
mov qword [rsp + 0x68], rsi
test rax, rax
je 0x14003d023
nop
mov qword [rsp + 0x68], rax
mov rax, qword [rax + 0x18]
test rax, rax
jne 0x14003d010
mov r9, qword [rsp + 0x68]
mov rax, qword [r13 + 0x43d0]
test rax, rax
je 0x14003d03c
cmp qword [rax + 0x420], rsi
sete r15b
jmp 0x14003d069
mov rdx, qword [r13 + 0x4268]
test rdx, rdx
je 0x14003d06e
mov rax, qword [r8 + 0x3b0]
cmp qword [rdx + 0x3b8], rax
jne 0x14003d06e
mov eax, dword [rsi]
cmp dword [r9 + 0xb8], eax
movzx r15d, r15b
cmove r15d, r10d
mov dword [rsp + 0x34], r15d
mov eax, dword [rsi + 0x10]
test eax, 0x3000
jne 0x14003df34
movzx ecx, byte [r8 + 0xd0]
mov qword [rsp + 0x1f0], rbx
mov qword [rsp + 0x1a8], rdi
mov qword [rsp + 0x1a0], r12
movaps xmmword [rsp + 0x190], xmm6
movaps xmmword [rsp + 0x180], xmm7
movaps xmmword [rsp + 0x170], xmm8
movaps xmmword [rsp + 0x160], xmm9
shr eax, 0xa
movaps xmmword [rsp + 0x150], xmm10
movaps xmmword [rsp + 0x140], xmm11
mov byte [rsp + 0x38], cl
test r10b, al
jne 0x14003d0ea
mov byte [r8 + 0xd0], r14b
mov dword [r8 + 0x170], r10d
mov rax, qword [0x1401ea6c0]
mov edi, dword [rsi]
mov rbx, qword [rax + 0x3fe0]
cmp dword [rax + 0x401c], edi
jne 0x14003d110
xor r8d, r8d
mov ecx, edi
lea edx, [r8 + 0xd]
call fcn.140042a30
add rbx, 0x108
mov ecx, dword [rbx + 4]
mov r8d, dword [rbx]
cmp r8d, ecx
jne 0x14003d14b
inc r8d
test ecx, ecx
je 0x14003d134
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003d139
mov eax, 8
cmp eax, r8d
mov rcx, rbx
cmovg r8d, eax
mov edx, r8d
call fcn.140043db0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov ebx, 0xffffffff
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x58], rax
mov rdi, rax
test rax, rax
jne 0x14003d1fe
mov rax, qword [0x1401ea6c0]
test rax, rax
je 0x14003d183
inc dword [rax + 0xf4]
mov ecx, 0x98
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x14003d1f7
mov qword [rax + 0x30], r14
xorps xmm0, xmm0
mov dword [rax + 0x38], r14d
mov dword [rax + 0x7c], r14d
mov dword [rax + 0x84], r14d
mov dword [rax + 0x8c], r14d
mov qword [rax + 0x90], r14
xor eax, eax
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm0
movups xmmword [rdi + 0x20], xmm0
movups xmmword [rdi + 0x30], xmm0
movups xmmword [rdi + 0x40], xmm0
movups xmmword [rdi + 0x50], xmm0
movups xmmword [rdi + 0x60], xmm0
movups xmmword [rdi + 0x70], xmm0
movups xmmword [rdi + 0x80], xmm0
mov qword [rdi + 0x90], rax
mov qword [rdi + 0x24], 0xffffffffffffffff
mov word [rdi + 0x70], bx
jmp 0x14003d1fa
mov rdi, r14
mov qword [rsi + 0x40], rdi
and byte [rsi + 0xc8], 0xfd
movzx eax, r15b
add al, al
mov dword [rsp + 0x3c], r14d
or byte [rsi + 0xc8], al
test dword [rsi + 0x10], 0x4000
jne 0x14003d260
cmp dword [r13 + 0x3930], ebx
je 0x14003d260
mov r12b, 1
call fcn.140031050
test al, al
je 0x14003d263
mov rdx, rdi
mov rcx, rsi
call fcn.14003cd10
test eax, eax
je 0x14003d24a
mov dword [rdi + 0x1c], eax
mov dword [rsp + 0x3c], eax
movzx eax, byte [rsi + 0xc8]
shr al, 1
and al, r12b
or r15b, al
mov dword [rsp + 0x34], r15d
jmp 0x14003d263
xor r12b, r12b
mov rax, qword [0x1401ea6c0]
xorps xmm11, xmm11
movss xmm7, dword [rsi + 0x4c]
movss xmm10, dword [rsi + 0x48]
movaps xmm6, xmm7
movzx ecx, byte [rsi + 0xc8]
movaps xmm9, xmm10
movss xmm3, dword [rax + 0x3944]
movss xmm2, dword [rax + 0x3d50]
movaps xmm5, xmm3
movss xmm8, dword [rax + 0x3948]
movaps xmm0, xmm2
movss dword [rbp - 0x74], xmm7
addss xmm0, xmm7
movss dword [rbp - 0x60], xmm10
addss xmm8, xmm8
movss dword [rbp - 0x5c], xmm7
mov qword [rsp + 0x70], r14
addss xmm9, dword [rsi + 0x50]
addss xmm8, xmm0
movss xmm0, dword [rax + 0x391c]
movaps xmm4, xmm0
addss xmm4, xmm10
movss dword [rbp - 0x58], xmm9
movaps xmm1, xmm9
subss xmm1, xmm0
movss dword [rbp - 0x6c], xmm8
movss dword [rbp - 0x54], xmm8
addss xmm5, xmm4
subss xmm1, xmm3
movss dword [rbp - 0x78], xmm5
movss dword [rbp - 0x70], xmm1
test cl, 8
je 0x14003d32c
subss xmm1, xmm2
movss dword [rsp + 0x74], xmm7
movaps xmm0, xmm1
movss dword [rbp - 0x70], xmm1
subss xmm0, xmm3
movss dword [rsp + 0x70], xmm0
test cl, 0x10
je 0x14003d37c
cmp dword [rax + 0x3930], r14d
jne 0x14003d34d
addss xmm2, dword [rax + 0x395c]
addss xmm2, xmm5
movss dword [rbp - 0x78], xmm2
jmp 0x14003d37c
cmp dword [rax + 0x3930], 1
jne 0x14003d37c
addss xmm3, xmm2
subss xmm1, xmm3
movss dword [rbp - 0x70], xmm1
unpcklps xmm1, xmm7
movaps xmm0, xmm1
movsd qword [rsp + 0x40], xmm1
movss xmm4, dword [rsp + 0x40]
shufps xmm0, xmm0, 0x55
movaps xmm6, xmm0
mov r15d, r14d
mov eax, dword [rdi]
movups xmm0, xmmword [rbp - 0x78]
mov dword [rsp + 0x78], eax
movss dword [rsp + 0x40], xmm4
movups xmmword [rbp - 0x50], xmm0
movss dword [rsp + 0x44], xmm6
cmp dword [rsi + 0x30], r14d
jle 0x14003d411
mov rbx, r14
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x38]
mov r10, qword [rbx + rax]
mov r8d, dword [r10 + 0x90]
test r8d, r8d
je 0x14003d3f4
mov edx, dword [rdi]
mov eax, r14d
test edx, edx
jle 0x14003d3f4
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], r8d
je 0x14003d3e5
inc eax
add rcx, 0x30
cmp eax, edx
jl 0x14003d3d4
jmp 0x14003d3f4
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
jne 0x14003d404
mov r8, r10
mov edx, 0x400000
mov rcx, rdi
call fcn.140073d70
inc r15d
add rbx, 8
cmp r15d, dword [rsi + 0x30]
jl 0x14003d3b0
mov ebx, dword [rsp + 0x34]
test bl, bl
je 0x14003d426
mov eax, dword [r13 + 0x3f60]
mov dword [rsi + 0xb4], eax
mov r15, qword [rsp + 0x48]
cmp byte [r15 + 0xce], r14b
je 0x14003d43b
mov ecx, ntohl
jmp 0x14003d447
test bl, bl
mov rcx, r14
setne cl
add rcx, 0xa
mov rax, qword [0x1401ea6c0]
add rcx, rcx
movups xmm0, xmmword [rax + rcx*8 + 0x39d0]
lea rcx, [rbp - 0x78]
movups xmmword [rbp - 0x78], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, dword [rax + 0x3908]
movss dword [rbp - 0x6c], xmm0
call fcn.14001fb90
movss xmm2, dword [0x1401d4430]
mov r11d, eax
movss xmm1, dword [r15 + 0x48]
movss xmm3, dword [r15 + 0x4c]
movaps xmm0, xmm1
addss xmm1, dword [r15 + 0x50]
addss xmm0, xmm2
subss xmm1, xmm2
comiss xmm0, xmm10
movaps xmm10, xmmword [rsp + 0x150]
movaps xmm0, xmm3
addss xmm3, dword [r15 + 0x54]
setae cl
addss xmm0, xmm2
comiss xmm9, xmm1
subss xmm3, xmm2
setae r10b
comiss xmm0, xmm7
setae dl
comiss xmm8, xmm3
setae r9b
test dl, dl
je 0x14003d4e5
test cl, cl
je 0x14003d4e5
mov eax, reloc.WS2_32.dll_recv
jmp 0x14003d4ec
mov eax, r14d
test dl, dl
je 0x14003d4f7
mov r8d, reloc.WLDAP32.dll_Ordinal_32
test r10b, r10b
jne 0x14003d4fa
mov r8d, r14d
test r9b, r9b
je 0x14003d50a
test cl, cl
je 0x14003d50a
mov edx, 0x40
jmp 0x14003d512
mov edx, r14d
test r9b, r9b
je 0x14003d51c
mov ecx, 0x180
test r10b, r10b
jne 0x14003d521
mov ecx, 0x100
movss xmm0, dword [r15 + 0x80]
or eax, r8d
or eax, edx
lea r8, [rbp - 0x58]
or eax, ecx
lea rdx, [rbp - 0x60]
mov rcx, qword [r15 + 0x2c0]
mov r9d, r11d
mov dword [rsp + 0x28], eax
movss dword [rsp + 0x20], xmm0
call fcn.14004eab0
test r12b, r12b
je 0x14003d633
movsxd rax, dword [r15 + 0x108]
lea rcx, str.COLLAPSE
mov r8, qword [r15 + 0x110]
xor edx, edx
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14001f600
mov rcx, qword [0x1401ea6c0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x14003d5a0
lea r8, str.COLLAPSE
mov edx, ntohl
mov ecx, eax
call fcn.140042a30
mov r8, rsi
lea rdx, [rsp + 0x40]
mov ecx, ebx
call fcn.140061c70
test al, al
je 0x14003d60f
mov rbx, qword [0x1401ea6c0]
lea rcx, str.WindowMenu
xor edx, edx
mov r8, qword [rbx + 0x3fe0]
movsxd rax, dword [r8 + 0x108]
mov r8, qword [r8 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14001f600
mov r15d, eax
cmp dword [rbx + 0x401c], eax
jne 0x14003d600
lea r8, str.WindowMenu
mov edx, ntohl
mov ecx, eax
call fcn.140042a30
xor edx, edx
mov ecx, r15d
call fcn.1400310c0
mov r15, qword [rsp + 0x48]
mov rax, qword [0x1401ea6c0]
mov ebx, dword [rsp + 0x34]
mov ecx, dword [rax + 0x4034]
test ecx, ecx
je 0x14003d633
cmp ecx, dword [rax + 0x40b0]
jne 0x14003d633
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x3c], eax
mov r9d, dword [rdi]
lea edx, [r9 - 1]
test edx, edx
js 0x14003d674
movsxd rax, edx
lea rcx, [rax + rax*2]
shl rcx, 4
nop dword [rax]
mov r8, qword [rdi + 8]
mov eax, dword [rcx + r8 + 4]
bt eax, 0x16
jae 0x14003d674
btr eax, 0x16
mov r9d, edx
mov dword [rcx + r8 + 4], eax
sub rcx, 0x30
sub edx, 1
jns 0x14003d650
mov ecx, dword [rdi]
cmp ecx, r9d
jle 0x14003d6b1
lea eax, [r9 + 1]
cmp ecx, eax
jle 0x14003d6b1
sub ecx, r9d
movsxd rdx, ecx
cmp rdx, 1
jbe 0x14003d6b1
movsxd rax, r9d
mov r8d, Ordinal_50
lea r9, [0x14003ccc0]
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, qword [rdi + 8]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov rax, qword [r13 + 0x4268]
test rax, rax
je 0x14003d6d3
mov rax, qword [rax + 0x3a0]
cmp qword [rax + 0x420], rsi
jne 0x14003d6d3
mov eax, dword [rax + 8]
mov dword [rdi + 0x18], eax
cmp qword [rsp + 0x58], r14
jne 0x14003d709
mov edx, dword [rsi + 0xbc]
test edx, edx
je 0x14003d709
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x14003d709
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14003d97d
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14003d6f6
movsxd rax, dword [rdi]
cmp eax, dword [rsp + 0x78]
jle 0x14003d72e
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
add rcx, rcx
mov rcx, qword [rax + rcx*8 - 0x28]
mov eax, dword [rcx + 0x90]
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x18], eax
mov r8d, 0x500003
cmp byte [r15 + 0xce], r14b
jne 0x14003d748
test bl, bl
mov eax, 0x700003
cmovne r8d, eax
mov r9, rsi
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.1400729e0
mov r12d, r14d
movups xmm0, xmmword [r13 + 0x3be0]
movups xmm1, xmmword [r13 + 0x39d0]
movaps xmmword [rbp - 0x20], xmm0
movups xmm0, xmmword [r13 + 0x3bf0]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c00]
movaps xmmword [rbp], xmm0
movups xmm0, xmmword [r13 + 0x3c10]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [r13 + 0x3c20]
mov qword [rsi + 0x90], r14
movaps xmmword [rbp + 0x20], xmm0
cmp dword [rsi + 0x30], r14d
jle 0x14003d9c0
movss xmm6, dword [0x1401d433c]
lea r11, [0x1400f7790]
mov r15, r14
lea r10, [0x1400f77a8]
nop dword [rax]
mov rax, qword [rsi + 0x38]
mov rbx, qword [r15 + rax]
cmp byte [rsp + 0x30], r14b
jne 0x14003d7eb
mov eax, dword [rsp + 0x50]
cmp eax, dword [rbx + 0x90]
jne 0x14003d801
cmp byte [rbx + 0xd5], r14b
je 0x14003d801
test dword [rbx + 0xc], 0x100000
je 0x14003d9a9
mov eax, dword [rbx + 0x280]
inc eax
cmp eax, dword [r13 + 0x3f60]
jge 0x14003d81f
mov eax, dword [rsp + 0x7c]
cmp dword [rbp - 0x80], eax
je 0x14003d9a9
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 [rdi + 0x10], 8
cmove r9d, edx
mov rdx, r11
sub r8, r11
nop dword [rax + rax]
mov ecx, dword [r8 + rdx + 0x404]
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, 0x39d
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 [r13 + rax*8], xmm3
cmp rdx, r10
jl 0x14003d850
cmp byte [rbx + 0xd5], r14b
lea r8, [rbp - 0x68]
mov rdx, qword [rbx]
mov rcx, rdi
cmove r8, r14
mov byte [rbp - 0x68], 1
mov qword [rsp + 0x20], rbx
call fcn.140074790
cmp byte [rbp - 0x68], r14b
jne 0x14003d910
mov eax, dword [rbx + 0x90]
mov dword [rsi + 0xc0], eax
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x20], eax
jne 0x14003d922
mov qword [rsi + 0x90], rbx
mov eax, dword [r13 + 0x40b8]
mov dword [rbx + 0x434], eax
movups xmm0, xmmword [r13 + 0x40bc]
movups xmmword [rbx + 0x438], xmm0
mov rax, qword [r13 + 0x4268]
test rax, rax
je 0x14003d99b
cmp qword [rax + 0x3a0], rbx
jne 0x14003d99b
test byte [rbx + 0x174], 2
lea r10, [0x1400f77a8]
lea r11, [0x1400f7790]
jne 0x14003d9a9
mov rcx, qword [rsp + 0x48]
mov eax, dword [rbx + 0x90]
mov dword [rcx + 0x3d4], eax
jmp 0x14003d9a9
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14003d709
mov dword [rdi + 0x1c], edx
mov dword [rdi + 0x18], edx
jmp 0x14003d72e
lea r11, [0x1400f7790]
lea r10, [0x1400f77a8]
inc r12d
add r15, 8
cmp r12d, dword [rsi + 0x30]
jl 0x14003d7d0
movaps xmm1, xmmword [rbp - 0x30]
nop
movaps xmm0, xmmword [rbp - 0x20]
movups xmmword [r13 + 0x39d0], xmm1
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [r13 + 0x3be0], xmm0
movaps xmm0, xmmword [rbp]
movups xmmword [r13 + 0x3bf0], xmm1
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [r13 + 0x3c00], xmm0
movaps xmm0, xmmword [rbp + 0x20]
movups xmmword [r13 + 0x3c10], xmm1
movups xmmword [r13 + 0x3c20], xmm0
mov rax, qword [rsi + 0x90]
test rax, rax
je 0x14003da2c
mov rcx, qword [rsp + 0x68]
cmp byte [rsp + 0x34], r14b
jne 0x14003da25
cmp qword [rcx + 0x90], r14
jne 0x14003da2c
mov qword [rcx + 0x90], rax
movzx eax, byte [rsi + 0xc8]
and al, 8
je 0x14003da54
mov rcx, qword [rsi + 0x90]
test rcx, rcx
je 0x14003da54
cmp byte [rcx + 0xd5], r14b
je 0x14003da54
mov r15b, 1
jmp 0x14003db40
test al, al
je 0x14003dc48
mov rbx, qword [0x1401ea6c0]
mov r12d, dword [rbx + 0x4098]
lea r15, [rbx + 0x41c0]
or r12d, 4
mov dword [rbx + 0x4098], r12d
mov ecx, dword [r15 + 4]
mov r8d, dword [r15]
cmp r8d, ecx
jne 0x14003dab8
inc r8d
test ecx, ecx
je 0x14003da9a
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x14003da9f
mov eax, 8
cmp eax, r8d
mov rcx, r15
cmovg r8d, eax
mov edx, r8d
call fcn.140043db0
mov rbx, qword [0x1401ea6c0]
movsxd rcx, dword [r15]
lea rdx, [rbp - 0x50]
mov rax, qword [r15 + 8]
mov dword [rbp - 0x50], r14d
mov dword [rax + rcx*4], r12d
lea rcx, [rbx + 0x4180]
inc dword [r15]
movups xmm0, xmmword [rbx + 0x39d0]
movss xmm8, dword [r13 + 0x39dc]
movss xmm9, dword [r13 + 0x39d0]
movss xmm6, dword [r13 + 0x39d4]
movss xmm7, dword [r13 + 0x39d8]
mulss xmm8, dword [0x1401d4380]
movups xmmword [rbp - 0x4c], xmm0
call fcn.140043550
shufps xmm9, xmm9, 0xe1
xor r15b, r15b
movss xmm9, xmm6
shufps xmm9, xmm9, 0xc6
movss xmm9, xmm7
shufps xmm9, xmm9, 0x27
movss xmm9, xmm8
shufps xmm9, xmm9, 0x39
movups xmmword [rbx + 0x39d0], xmm9
mov r12, qword [rsp + 0x48]
lea rcx, str.CLOSE
xor edx, edx
movsxd rax, dword [r12 + 0x108]
mov r8, qword [r12 + 0x110]
mov r8d, dword [r8 + rax*4 - 4]
call fcn.14001f600
mov rcx, qword [0x1401ea6c0]
mov ebx, eax
cmp dword [rcx + 0x401c], eax
jne 0x14003db8c
lea r8, str.CLOSE
mov edx, ntohl
mov ecx, eax
call fcn.140042a30
lea rdx, [rsp + 0x70]
mov ecx, ebx
call fcn.1400618a0
test al, al
je 0x14003dbea
or byte [rsi + 0xc8], 0x40
mov r8d, r14d
cmp dword [rdi], r14d
jle 0x14003dbea
mov rcx, r14
nop
mov rdx, qword [rdi + 8]
test byte [rcx + rdx + 4], 1
mov eax, dword [rcx + rdx]
jne 0x14003dbd6
mov byte [rcx + rdx + 0x2c], 1
cmp dword [rdi + 0x20], eax
jne 0x14003dbde
mov dword [rcx + rdx + 0x10], 0xffffffff
mov qword [rdi + 0x18], r14
jmp 0x14003dbde
cmp dword [rdi + 0x20], eax
je 0x14003dbde
mov dword [rdi + 0x1c], eax
inc r8d
add rcx, 0x30
cmp r8d, dword [rdi]
jl 0x14003dbb0
test r15b, r15b
jne 0x14003dc4d
mov rbx, qword [0x1401ea6c0]
mov rcx, qword [rbx + 0x4188]
movsxd rax, dword [rbx + 0x4180]
lea rdx, [rax + rax*4]
movsxd rax, dword [rcx + rdx*4 - 0x14]
movups xmm0, xmmword [rcx + rdx*4 - 0x10]
add rax, 0x39d
add rax, rax
movups xmmword [rbx + rax*8], xmm0
dec dword [rbx + 0x4180]
movsxd rcx, dword [rbx + 0x41c0]
lea eax, [rcx - 1]
mov dword [rbx + 0x41c0], eax
mov rax, qword [rbx + 0x41c8]
mov ecx, dword [rax + rcx*4 - 8]
mov dword [rbx + 0x4098], ecx
jmp 0x14003dc54
mov r12, qword [rsp + 0x48]
mov rbx, qword [0x1401ea6c0]
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.14001f600
mov r15d, eax
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm8, xmmword [rsp + 0x170]
movaps xmm7, xmmword [rsp + 0x180]
movaps xmm6, xmmword [rsp + 0x190]
cmp dword [rbx + 0x401c], eax
jne 0x14003dcb7
lea r8, str.TITLEBAR
mov edx, ntohl
mov ecx, eax
call fcn.140042a30
mov eax, dword [r13 + 0x4020]
test eax, eax
je 0x14003dcd4
cmp eax, r15d
je 0x14003dcd4
cmp dword [r13 + 0x4034], r15d
jne 0x14003dd9b
lea r9, [rbp - 0x68]
mov dword [rsp + 0x20], 0x1000
xor r8d, r8d
lea rcx, [rbp - 0x60]
mov edx, r15d
call fcn.140060a60
mov rax, qword [0x1401ea6c0]
cmp dword [r13 + 0x4020], r15d
jne 0x14003dd2a
mov dword [r13 + 0x40b0], r15d
mov ecx, dword [rax + 0x40b0]
cmp dword [rax + 0x4020], ecx
jne 0x14003dd1b
mov byte [rax + 0x4028], 1
cmp dword [rax + 0x4034], ecx
jne 0x14003dd2a
mov byte [rax + 0x4041], 1
cmp byte [rbp - 0x68], r14b
je 0x14003dd9b
movss xmm0, dword [rax + 0x36f0]
ucomiss xmm0, xmm11
jp 0x14003dd47
jne 0x14003dd47
mov eax, dword [rdi + 0x18]
mov dword [rsp + 0x3c], eax
mov edx, dword [rdi + 0x18]
test edx, edx
je 0x14003dd9b
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x14003dd9b
mov r9, qword [rdi + 8]
mov rcx, r9
cmp dword [rcx], edx
je 0x14003dd71
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14003dd60
jmp 0x14003dd9b
cdqe
lea rcx, [rax + rax*2]
shl rcx, 4
add rcx, r9
je 0x14003dd9b
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x14003dd90
mov rcx, qword [rsi + 0x88]
xor r8d, r8d
mov rdx, rsi
call fcn.140023280
mov edx, dword [rdi + 0x1c]
test edx, edx
movaps xmm11, xmmword [rsp + 0x140]
cmove edx, dword [rsp + 0x3c]
test edx, edx
je 0x14003dec8
mov r8d, dword [rdi]
mov eax, r14d
test r8d, r8d
jle 0x14003dec8
mov r9, qword [rdi + 8]
mov rcx, r9
nop dword [rax]
cmp dword [rcx], edx
je 0x14003dde4
inc eax
add rcx, 0x30
cmp eax, r8d
jl 0x14003ddd0
jmp 0x14003dec8
cdqe
lea rbx, [rax + rax*2]
shl rbx, 4
add rbx, r9
je 0x14003dec8
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003dec8
call fcn.14002e760
mov rax, qword [rbx + 8]
mov rdx, qword [0x1401ea6c0]
mov ecx, dword [rax + 0xc]
bt ecx, 0x12
jae 0x14003de29
mov qword [rdx + 0x4270], r14
jmp 0x14003dec8
cmp rax, qword [rax + 0x3a0]
je 0x14003de51
bt ecx, 0x1a
jb 0x14003de51
mov ecx, dword [rax + 0x3d0]
test ecx, ecx
je 0x14003de51
mov dword [rdx + 0x4270], ecx
mov dword [rdx + 0x4274], r14d
jmp 0x14003dec8
movsxd rax, dword [rdx + 0x42a4]
xorps xmm0, xmm0
mov dword [rdx + 0x42a4], eax
mov rcx, rax
mov rax, qword [rdx + 0x4268]
mov qword [rdx + 0x4270], r14
mov dword [rax + rcx*4 + 0x3d0], r14d
add rcx, rcx
mov rax, qword [rdx + 0x4268]
movups xmmword [rax + rcx*8 + 0x3d8], xmm0
mov word [rdx + 0x42ad], 1
mov qword [rdx + 0x42b0], r14
mov qword [rdx + 0x42b8], r14
mov dword [rdx + 0x42c0], r14d
cmp byte [rdx + 0x42c5], r14b
jne 0x14003dec0
cmp byte [rdx + 0x42ad], r14b
jne 0x14003dec0
xor al, al
jmp 0x14003dec2
mov al, 1
mov byte [rdx + 0x42ac], al
call fcn.140072df0
mov rax, qword [0x1401ea6c0]
mov rdi, qword [rsp + 0x1a8]
mov rbx, qword [rsp + 0x1f0]
mov rcx, qword [rax + 0x3fe0]
dec dword [rcx + 0x108]
mov eax, dword [rsi + 0x10]
shr eax, 0xa
test al, 1
jne 0x14003df10
movzx eax, byte [rsp + 0x38]
mov byte [r12 + 0xd0], al
mov dword [r12 + 0x170], r14d
mov r12, qword [rsp + 0x1a0]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1400e3650
add rsp, 0x1b0
pop r15
pop r14
pop r13
pop rsi
pop rbp
ret
cmp dword [rsi + 0x30], r14d
jle 0x14003df41
mov rax, qword [rsi + 0x38]
mov r14, qword [rax]
and cl, 0xfd
mov qword [rsi + 0x90], r14
movzx eax, r15b
add al, al
or cl, al
mov byte [rsi + 0xc8], cl
test r15b, r15b
je 0x14003df6b
mov eax, dword [r13 + 0x3f60]
mov dword [rsi + 0xb4], eax
test r14, r14
je 0x14003df18
test r15b, r15b
jne 0x14003df7f
cmp qword [r9 + 0x90], 0
jne 0x14003df86
mov qword [r9 + 0x90], r14
mov rdx, qword [rsi + 0x40]
test rdx, rdx
je 0x14003df18
mov rax, qword [rsi + 0x90]
mov ecx, dword [rax + 0x90]
mov dword [rdx + 0x20], ecx
jmp 0x14003df18