Function at 0x1400780cc
Capabilities:
Inspect section memory permissions

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x178]
sub rsp, 0x240
mov edi, dword [rbp + 0x1a8]
mov rsi, rcx
movaps xmmword [rax - 0x48], xmm6
lea rcx, [0x140111570]
movaps xmmword [rax - 0x58], xmm7
mov r12d, r8d
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
mov qword [rbp - 0x18], r9
mov dword [rbp - 0x60], r8d
mov qword [rsp + 0x50], rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r13, qword [rsi + 0x30]
lea rcx, [rbp - 0x50]
mov r14d, dword [rsi + 0x68]
xor ebx, ebx
inc dword [0x140111fc0]
mov eax, edi
or dword [rsp + 0x7c], 0xffffffff
and al, 2
neg r14d
mov dword [rsp + 0x78], ebx
neg al
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x70], ebx
sbb rax, rax
mov dword [rsp + 0x64], 0x7fffffff
and rax, rcx
mov dword [rbp - 0x50], ebx
mov qword [rbp - 0x10], rax
mov rax, qword [0x140111fe8]
mov qword [rbp - 0x68], rax
mov rax, qword [r13 + 0x40]
mov rcx, rax
mov dword [rbp - 0x54], ebx
mov dword [rsp + 0x74], ebx
mov qword [rbp - 0x20], r13
mov qword [rbp + 0xf8], rax
call fcn.140068a10
lea r15, [rsi + 8]
mov rcx, r15
call fcn.14006e57c
test eax, eax
je 0x140079148
mov al, byte [r13 + 0xb2]
mov ecx, dword [rbp + 0x1b0]
and ecx, 0xfffffe0
and al, 0x20
mov eax, dword [r13 + 0x88]
cmovne ecx, dword [rbp + 0x1b0]
mov dword [rbp - 0x7c], ecx
mov ecx, edi
or ecx, 8
and al, 0x40
mov eax, r12d
cmove ecx, edi
mov edi, ecx
bts edi, 0x10
and eax, 0x200
mov eax, dword [rsi + 0x68]
cmove edi, ecx
test eax, eax
jle 0x1400781fe
mov ecx, eax
mov dword [rsp + 0x48], eax
neg ecx
mov r14d, eax
mov dword [rsp + 0x78], ecx
jmp 0x140078209
jns 0x140078215
lea rcx, [rsi + 0x48]
call fcn.140063038
mov r12d, edi
mov dword [rsp + 0x40], edi
jmp 0x1400782a6
mov dword [rsp + 0x40], edi
mov r12d, edi
test r14d, r14d
jne 0x1400782a6
test byte [rbp - 0x60], 0xa
mov dword [rsp + 0x40], edi
je 0x1400782a6
lea rcx, [rsi + 0x18]
mov dword [rsp + 0x40], edi
call fcn.14006d2a4
test eax, eax
je 0x1400782a6
lea rcx, [r15 + 0x50]
call fcn.140063c68
mov rcx, qword [r15 + 0x28]
movsx edx, ax
call fcn.140060ba8
mov dword [rsp + 0x40], edi
cmp word [rax + 0x38], bx
jne 0x1400782a6
movups xmm0, xmmword [rsi + 0x18]
lea edx, [r14 + 2]
movups xmm1, xmmword [rsi + 0x28]
lea rcx, [rbp + 0xa0]
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm1
call fcn.14006ce98
lea rcx, [rsi + 0x48]
mov dword [rsp + 0x48], eax
mov r14d, eax
call fcn.140063038
bts r12d, 0xc
mov dword [rbp - 0x54], 1
mov dword [rsp + 0x40], r12d
mov rcx, qword [rsi + 0x30]
mov dword [rsp + 0x5c], r14d
test byte [rcx + 0x84], 0x10
jne 0x1400782c4
movzx eax, byte [rcx + 0xb2]
and eax, 1
jne 0x1400782f5
test dword [rbp + 0x1a0], 0x20000000
mov rdi, qword [rsp + 0x50]
je 0x1400782fa
mov rcx, rdi
call fcn.14007b8d0
test eax, eax
je 0x1400782fa
mov eax, 1
mov rcx, r13
mov r8d, eax
mov edx, eax
call fcn.140060244
jmp 0x1400782fa
mov rdi, qword [rsp + 0x50]
mov edx, dword [rbp - 0x7c]
mov ecx, 0x8000
test edx, 0xb000001f
je 0x140078391
test byte [r13 + 0x84], 0x10
jne 0x140078325
movzx eax, byte [r13 + 0xb2]
and eax, 1
jne 0x140078391
movzx eax, word [rdi + 0x34]
and eax, edx
test al, 0x1f
jne 0x14007836a
bt edx, 0x1c
jae 0x14007833a
cmp byte [rdi + 0x3b], bl
jne 0x14007836a
test edx, edx
jns 0x140078343
cmp byte [rdi + 0x39], bl
jne 0x14007836a
bt edx, 0x1d
jae 0x140078391
cmp byte [rdi + 0x38], bl
je 0x140078391
mov rax, qword [r13 + 0x78]
test rax, rax
je 0x14007835d
mov rcx, qword [rax + 0x38]
jmp 0x140078360
mov rcx, rbx
test rcx, rcx
mov ecx, 0x8000
je 0x140078391
test edx, 0xffffffe3
jne 0x14007837c
or word [r13 + 0x8e], cx
jmp 0x140078391
mov edx, 1
mov rcx, r13
mov r8d, edx
call fcn.140060244
mov ecx, 0x8000
mov r10d, dword [rbp + 0x1a0]
cmp r10d, 0xffffffff
je 0x1400783bf
bt r10d, 0x13
jae 0x1400783bf
test ecx, r12d
jne 0x1400783bf
movzx eax, word [rdi + 0x20]
add ax, 0xa
mov dword [rbp - 0x6c], 1
cmp ax, 9
jbe 0x1400783c2
mov dword [rbp - 0x6c], ebx
test r14d, r14d
je 0x140078fef
test dword [rbp - 0x60], 0x40000000
mov qword [rbp + 0x78], rbx
jne 0x1400784c2
lea rdi, [r13 + 0x60]
mov qword [rbp + 0x78], rdi
test rdi, rdi
je 0x1400784c2
xor edx, edx
lea rcx, [rbp + 0xa0]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
mov rax, qword [rsi + 0x18]
lea rcx, [r15 + 0x50]
mov r10d, dword [rsp + 0x78]
add r10d, dword [rsi + 0x28]
mov dword [rsp + 0x70], r10d
mov qword [rbp + 0xb8], rax
call fcn.140063c68
mov rcx, qword [r15 + 0x28]
movsx edx, ax
call fcn.140060ba8
cmp word [rax + 0x38], bx
je 0x140078485
mov ecx, 0x400
test word [rax + 0x2a], cx
jne 0x140078485
mov r9d, 1
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x74]
mov rcx, rsi
call fcn.14007a55c
mov ecx, dword [rsi + 0x28]
mov eax, ecx
sub eax, dword [rsi + 0x68]
cmp dword [rsi + 0x68], ebx
cmovl ecx, eax
cmp dword [rbp - 0x78], ecx
jg 0x140078480
mov eax, dword [rsp + 0x70]
mov r10d, dword [rbp - 0x74]
sub eax, r10d
add eax, r14d
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0x5c], eax
jmp 0x140078488
mov r10d, dword [rsp + 0x70]
mov eax, r14d
lea ecx, [rax + r10]
mov r8d, 0x3fffffff
mov rax, rsi
neg rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
sbb rdx, rdx
mov dword [rsp + 0x30], ecx
and rdx, r15
mov dword [rsp + 0x28], r10d
mov rcx, rdi
xor r9d, r9d
mov dword [rsp + 0x20], ebx
call fcn.14006eedc
mov r15d, dword [rsp + 0x78]
lea rcx, [rsi + 0x48]
mov edx, r15d
call fcn.140062cd8
mov eax, dword [rsi + 0x28]
movups xmm0, xmmword [rcx]
add eax, r15d
mov dword [rsp + 0x58], eax
movdqu xmmword [rbp - 0x48], xmm0
cmp qword [rbp - 0x18], rbx
je 0x1400785da
movabs rax, 0x600006003
mov dword [rsp + 0x6c], ebx
mov r14d, ebx
mov edi, ebx
test qword [r13 + 0x18], rax
je 0x14007856e
lea rcx, [rsi + 8]
mov rax, rsi
neg rax
sbb rdx, rdx
and rdx, rcx
lea rcx, [rbp]
call fcn.14006d784
test r15d, r15d
je 0x14007854c
mov edx, r15d
lea rcx, [rbp + 0x50]
call fcn.140062cd8
mov rcx, qword [rbp + 0x10]
test rcx, rcx
je 0x14007854c
cmp dword [rcx + 8], ebx
je 0x14007854c
mov edx, r15d
lea rcx, [rbp + 0x10]
call fcn.14008387c
mov r15d, dword [rsp + 0x48]
lea r9, [rsp + 0x6c]
mov edx, r15d
lea rcx, [rbp]
xor r8d, r8d
call fcn.14006e138
mov edi, dword [rsp + 0x6c]
mov r14d, eax
jmp 0x140078573
mov r15d, dword [rsp + 0x48]
mov edx, r14d
lea rcx, [rbp - 0x48]
call fcn.140062cd8
mov r8d, dword [rsp + 0x58]
lea r9, [rbp - 0x48]
mov rax, qword [rbp - 0x68]
sub edi, r14d
mov dword [rsp + 0x30], ebx
add edi, r15d
mov qword [rsp + 0x28], rax
add r8d, r14d
mov rdx, r13
mov dword [rsp + 0x20], edi
call fcn.140084dfc
neg r14d
lea rcx, [rbp - 0x48]
mov edx, r14d
mov rdi, rax
call fcn.140062cd8
test rdi, rdi
je 0x1400785df
mov r8, qword [rbp - 0x18]
mov rdx, rdi
mov rcx, qword [r8]
mov rax, qword [rcx + 8]
mov rcx, r8
call qword [case.0x1400739fa.0]
jmp 0x1400785df
mov r15d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov r8d, 1
mov dword [rsp + 0x60], ebx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x30], rbx
movzx edi, byte [rcx + 4]
mov dword [rbp - 0x78], r12d
lea eax, [rdi - 5]
cmp eax, r8d
jbe 0x140078617
lea eax, [rdi - 0x14]
cmp eax, r8d
jbe 0x140078617
mov qword [rbp + 0x68], rbx
cmp edi, 0x2e
jne 0x14007861b
mov qword [rbp + 0x68], r8
lea eax, [rdi - 0xc]
mov edx, 0x100
mov dword [rbp - 0x5c], eax
mov eax, r12d
and eax, edx
mov dword [rbp - 0x70], eax
mov eax, dword [rcx]
and eax, dword [rbp + 0x1a0]
mov ecx, eax
and ecx, edx
mov dword [rbp - 0x28], ecx
bt eax, 0x1c
jae 0x14007864e
mov qword [rbp + 0x60], r8
bt r12d, 0x10
jb 0x140078652
mov qword [rbp + 0x60], rbx
cmp dil, 0xa
je 0x140078661
mov dword [rbp - 0x80], ebx
cmp dil, 0x11
jne 0x140078665
mov dword [rbp - 0x80], r8d
xor edx, edx
mov dword [rbp - 0x74], r8d
lea rcx, [rbp + 0x80]
lea r8d, [rdx + 0x20]
call sub.msvcrt.dll_memset
movups xmm0, xmmword [rsi + 0x18]
mov eax, dword [rbp - 0x70]
mov r14d, ebx
mov dword [rbp - 0x58], ebx
mov ecx, 0x80
movups xmm1, xmmword [rsi + 0x28]
movups xmmword [rbp + 0xc8], xmm0
movups xmm0, xmmword [rsi + 0x38]
movups xmmword [rbp + 0xd8], xmm1
movdqu xmmword [rbp + 0xe8], xmm0
test eax, eax
jne 0x1400786e2
cmp word [r13 + 0x8c], bx
jge 0x1400786de
test dword [rbp + 0x1a0], 0x20000000
je 0x1400786de
lea eax, [rcx - 0x7f]
mov dword [rbp - 0x70], eax
test byte [r13 + 0x8e], cl
je 0x1400786de
test dil, dil
mov dword [rbp - 0x58], eax
sete r14b
test eax, eax
je 0x140078728
cmp dword [rbp - 0x80], ebx
jne 0x140078728
cmp dword [0x140111fc0], ebx
je 0x14007870e
mov rdi, qword [rsp + 0x50]
lea rdx, [rbp - 0x30]
movsx ecx, word [rdi + 6]
call fcn.14006a91c
mov rax, qword [rbp - 0x30]
mov qword [rbp - 0x38], rax
test rax, rax
jne 0x140078723
mov r10, qword [rsp + 0x50]
movzx ecx, byte [r10 + 4]
call fcn.140066c8c
mov qword [rbp - 0x38], rax
jmp 0x14007872d
mov r10, rdi
jmp 0x14007872d
mov r10, qword [rsp + 0x50]
cmp word [r13 + 0x8c], bx
jge 0x140078748
bt r12d, 0xd
jb 0x140078748
bts r12d, 0xc
mov dword [rsp + 0x40], r12d
test r15d, r15d
jle 0x140078e56
mov eax, r14d
mov qword [rbp + 0x70], rax
mov rax, qword [rbp - 0x48]
test rax, rax
je 0x140078e56
cmp dword [rax + 8], ebx
je 0x140078e56
lea rcx, [rbp - 0x48]
mov dword [rsp + 0x6c], 1
call fcn.140063c68
movsx edx, ax
mov rcx, r13
call fcn.140060b5c
movups xmm6, xmmword [rax]
movups xmm8, xmmword [rax + 0x10]
movups xmm7, xmmword [rax + 0x20]
movups xmm9, xmmword [rax + 0x30]
movaps xmmword [rbp], xmm6
movaps xmmword [rbp + 0x10], xmm8
movaps xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x30], xmm9
cmp dword [rbp - 0x6c], ebx
je 0x1400787d7
movsx edx, word [r10 + 0x20]
cmp edx, 0xfffffffe
jg 0x1400787d7
lea rcx, [rbp]
call fcn.14007b47c
movaps xmm9, xmmword [rbp + 0x30]
movaps xmm7, xmmword [rbp + 0x20]
movaps xmm8, xmmword [rbp + 0x10]
movaps xmm6, xmmword [rbp]
mov r9d, r15d
mov dword [rsp + 0x44], r15d
movd r13d, xmm6
cmp dword [rbp - 0x28], ebx
je 0x14007890f
bt r13d, 0x17
jae 0x140078800
mov r14d, dword [rbp + 0x1a0]
jmp 0x140078927
mov edi, dword [rsp + 0x60]
test edi, edi
je 0x140078815
mov r9d, edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x60], ebx
jmp 0x1400787f4
mov edx, dword [rsp + 0x58]
lea rcx, [rbp + 0xc8]
call fcn.140083844
lea rcx, [rbp - 0x48]
call fcn.140062b98
mov r12d, eax
mov r15d, ebx
test eax, eax
jle 0x1400788c5
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0xc8]
call fcn.14006cc94
test rax, rax
je 0x140078859
movzx ecx, word [rax]
jmp 0x14007885b
mov ecx, ebx
cmp cx, 7
je 0x1400788fd
movzx r14d, cx
mov edi, 2
lea eax, [r14 - 0xfff9]
cmp eax, edi
ja 0x14007888b
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.14006d3cc
test eax, eax
jne 0x1400788e6
xor edx, edx
lea rcx, [rbp + 0xc8]
call fcn.140083974
lea ecx, [r14 - 0xa]
mov edi, eax
cmp ecx, 3
ja 0x1400788b9
mov edx, 0xfff9
lea rcx, [rbp + 0xc8]
call fcn.14006d3cc
test eax, eax
jne 0x1400788f4
add r15d, edi
cmp r15d, r12d
jl 0x14007883c
mov r9d, dword [rsp + 0x44]
mov r14d, dword [rbp + 0x1a0]
mov r12d, dword [rsp + 0x40]
test r9d, r9d
je 0x140078da4
mov r15d, dword [rsp + 0x48]
jmp 0x14007892c
mov dword [rsp + 0x60], edi
mov r9d, r15d
mov dword [rsp + 0x44], r15d
jmp 0x1400788ca
lea eax, [rdi + 2]
mov dword [rsp + 0x60], eax
jmp 0x140078905
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x44], r15d
mov r9d, r15d
jmp 0x1400788ca
mov ecx, dword [rbp + 0x1a0]
mov eax, r13d
and eax, 0x800120
mov r14d, ecx
cmp eax, 0x800120
jne 0x14007892c
btr r14d, 8
bt r13d, 0x12
jae 0x140078991
and r14d, 0xd5ffffff
mov dil, byte [rbp + 4]
mov r13d, dword [rbp + 0x1a0]
mov eax, 1
mov r12, qword [rbp + 0x98]
mov r15d, eax
mov dword [rsp + 0x68], eax
and r13d, 0x8000000
cmp r15, 1
jle 0x140078c97
mov eax, dword [r12]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x6c], ebx
je 0x140078c68
and r14d, 0xd7ffffff
mov dword [rsp + 0x6c], ebx
btr dword [rsp + 0x40], 0x14
jmp 0x140078c85
cmp qword [rbp + 0x60], rbx
je 0x1400789ef
movdqa xmm0, xmm6
psrldq xmm0, 4
movd edi, xmm0
movzx eax, dil
sub eax, 0x34
mov byte [rbp + 4], dil
cmp eax, 1
jbe 0x1400789b9
test dil, dil
jne 0x14007893e
lea rcx, [rbp]
call fcn.14007b954
test eax, eax
jne 0x14007893e
bts r14d, 0x1d
cmp byte [0x140111965], bl
je 0x14007893e
movzx eax, word [0x140111966]
mov word [rbp + 6], ax
movaps xmm6, xmmword [rbp]
jmp 0x14007893e
cmp dword [rbp - 0x70], ebx
je 0x14007893a
lea rcx, [rbp - 0x48]
call fcn.140062b98
cmp r9d, eax
movdqa xmm0, xmm6
psrldq xmm0, 4
cmovl eax, r9d
movd edi, xmm0
cmp r15d, eax
mov r9d, eax
cmovl r9d, r15d
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x44], r9d
mov byte [rbp + 4], dil
cmp dil, 0xa
jne 0x140078a7c
test r12b, 1
je 0x140078a84
mov rax, qword [rsp + 0x50]
cmp byte [rax + 4], dil
je 0x140078a84
btr r14d, 0x1b
bt r14d, 0x1d
jae 0x14007893e
cmp dword [0x140111fc0], ebx
je 0x140078a72
movsx ecx, word [rax + 6]
xor edx, edx
call fcn.14006a91c
cmp rax, 0x40000
je 0x14007893e
btr r14d, 0x1d
jmp 0x14007893e
mov eax, ebx
cmp dil, 0x11
jne 0x140078a89
mov eax, 1
mov edx, dword [rbp - 0x80]
cmp eax, edx
je 0x140078af0
test edx, edx
je 0x140078a99
mov al, dil
jmp 0x140078aa1
mov rax, qword [rsp + 0x50]
mov al, byte [rax + 4]
movzx ecx, al
cmp ecx, 0xb
ja 0x140078af8
bts r14d, 0x1b
test edx, edx
je 0x140078abb
mov byte [rbp + 0x2a], cl
movaps xmm7, xmmword [rbp + 0x20]
jmp 0x140078adb
movdqa xmm0, xmm7
psrldq xmm0, 0xa
movd eax, xmm0
cmp al, 0xb
ja 0x140078adb
mov byte [rbp + 4], al
mov dil, al
movaps xmm6, xmmword [rbp]
btr r14d, 0x1b
mov edx, dword [rsp + 0x58]
lea rcx, [rbp + 0xc8]
call fcn.140083844
jmp 0x14007893e
test edx, edx
jne 0x14007893e
movzx edi, dil
mov ecx, edi
call fcn.140066c8c
mov r12, rax
mov rax, qword [rbp - 0x38]
and r12, rax
and r12, 0xffffffffffffff3f
cmp dword [rbp - 0x5c], 3
jbe 0x140078b2c
movabs rcx, 0x7800000000f00000
mov r15d, ebx
test rcx, rax
je 0x140078b32
mov r15d, 1
mov edx, dword [rsp + 0x58]
lea rcx, [rbp + 0xc8]
btr r14d, 0x1b
call fcn.140083844
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xc8]
call fcn.14006cc94
test rax, rax
je 0x140078b61
movzx ecx, word [rax]
jmp 0x140078b63
mov ecx, ebx
mov r13d, dword [rsp + 0x40]
lea eax, [rdi - 0xc]
mov r11d, 0x80
mov r9d, ebx
cmp cx, r11w
setb r9b
or r13d, 8
cmp cx, r11w
cmovae r13d, dword [rsp + 0x40]
mov dword [rsp + 0x40], r13d
cmp eax, 3
jbe 0x140078b9e
lea eax, [rdi - 0x2f]
mov edx, ebx
cmp eax, 3
ja 0x140078ba3
mov edx, 1
cmp qword [rbp + 0x68], rbx
jne 0x140078bbe
lea eax, [rdi - 5]
cmp eax, 1
jbe 0x140078bbe
lea eax, [rdi - 0x14]
cmp eax, 1
jbe 0x140078bbe
cmp edi, 0x2e
jne 0x140078bf4
mov r10, qword [rbp + 0x70]
test r10, r10
jne 0x140078bf8
mov dword [rsp + 0x40], r13d
test r12, r12
jne 0x140078c2a
mov edi, dword [rsp + 0x68]
mov dword [rsp + 0x40], r13d
cmp dil, 9
je 0x140078c2e
btr r14d, 0x1d
mov r15d, r13d
btr r15d, 0x14
mov dword [rsp + 0x40], r15d
jmp 0x140078c2e
mov r10, qword [rbp + 0x70]
cmp cx, r11w
jae 0x140078bc7
mov rax, qword [rbp - 0x38]
and al, 0xc0
cmp al, 0xc0
je 0x140078c12
test r15d, r15d
jne 0x140078c12
cmp dword [rbp - 0x80], ebx
je 0x140078bc7
mov rax, qword [rsp + 0x50]
cmp dword [rbp - 0x58], ebx
je 0x140078c4c
test edx, edx
jne 0x140078c4c
cmp byte [rax + 4], bl
je 0x140078c4c
btr r14d, 0x1d
mov edi, dword [rsp + 0x68]
mov edx, dword [rsp + 0x44]
lea rcx, [rbp + 0xc8]
mov dword [rsp + 0x20], r9d
call fcn.1400839ec
sub dword [rsp + 0x44], eax
jmp 0x14007893e
test r12, r12
je 0x140078c61
test r10, r10
jne 0x140078c61
cmp byte [rax + 4], bl
jne 0x140078c2a
test r13b, 1
je 0x140078c2a
bts r14d, 0x1b
jmp 0x140078c2a
bts r14d, 0x1d
mov dword [rsp + 0x6c], 1
cmp dil, 9
je 0x140078c85
test r13d, r13d
je 0x140078c85
bts r14d, 0x1b
movaps xmmword [rbp], xmm6
movaps xmmword [rbp + 0x10], xmm8
movaps xmmword [rbp + 0x20], xmm7
movaps xmmword [rbp + 0x30], xmm9
mov r8d, r14d
test r13d, r13d
je 0x140078cab
bt r14d, 0x1b
jb 0x140078cab
btr r8d, 0x19
mov eax, dword [rbp - 0x7c]
lea rcx, [rbp]
mov r9d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov dword [rsp + 0x20], eax
call fcn.14007aac8
mov edi, eax
test eax, eax
jne 0x140078e1c
mov rcx, qword [rbp - 0x68]
lea r8, [rsp + 0x74]
lea rdx, [rbp]
call fcn.14006fde0
mov edi, eax
test eax, eax
jne 0x140078e1c
cmp dword [rbp - 0x74], ebx
je 0x140078d00
mov rcx, qword [rsi + 0x30]
mov dword [rbp - 0x74], ebx
mov rcx, qword [rcx + 0x40]
call fcn.140074590
mov rax, qword [rbp - 0x10]
lea rcx, [rbp - 0x48]
mov r9, qword [rbp - 0x68]
mov r8d, dword [rsp + 0x44]
mov edx, dword [rsp + 0x74]
mov qword [rsp + 0x28], rax
call fcn.140063a94
mov edi, eax
cmp eax, dword [rsp + 0x44]
jge 0x140078d2f
mov dword [rsp + 0x60], ebx
mov dword [rsp + 0x68], ebx
mov rcx, qword [rbp - 0x68]
mov edx, dword [rsp + 0x74]
add rcx, 8
mov dword [rsp + 0x44], edi
call fcn.14006fa2c
cmp edi, 0x3fffffff
je 0x140078dc0
mov edx, dword [rsp + 0x58]
cmp dword [rbp - 0x50], ebx
je 0x140078d75
cmp edx, dword [rsp + 0x64]
lea eax, [rdi + rdx]
mov ecx, edx
cmovge ecx, dword [rsp + 0x64]
mov dword [rsp + 0x64], ecx
cmp eax, dword [rsp + 0x7c]
jle 0x140078d75
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x64], ecx
sub dword [rsp + 0x48], edi
add edx, edi
inc r15
mov dword [rsp + 0x58], edx
add r12, 4
cmp r15, 1
jg 0x140078d9b
cmp dword [rsp + 0x68], ebx
je 0x140078d9b
mov dil, byte [rbp + 4]
jmp 0x14007895f
mov r12d, dword [rbp - 0x78]
mov dword [rsp + 0x40], r12d
mov r15d, dword [rsp + 0x48]
mov r13, qword [rbp - 0x20]
test r15d, r15d
jle 0x140078e56
mov r10, qword [rsp + 0x50]
jmp 0x140078758
mov rax, qword [rbp - 0x20]
mov rax, qword [rax + 0x68]
test rax, rax
je 0x140078de1
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140078ddd
call fcn.140070fbc
jmp 0x140078de1
or dword [rax + 0x18], 0x40
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140078df3
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [rbp + 0x98], rbx
je 0x140078e12
mov r8, qword [rbp + 0x98]
xor edx, edx
mov rcx, qword [0x140111a20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, 1
jmp 0x14007917f
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140078e2e
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [rbp + 0x98], rbx
je 0x14007917f
mov r8, qword [rbp + 0x98]
xor edx, edx
mov rcx, qword [0x140111a20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x14007917f
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x140078e68
call qword [sym.imp.GDI32.dll_DeleteObject]
cmp qword [rbp + 0x98], rbx
je 0x140078e87
mov r8, qword [rbp + 0x98]
xor edx, edx
mov rcx, qword [0x140111a20]
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea r14, [rsi + 0x48]
mov rcx, r14
call fcn.140062ff8
lea rcx, [rbp - 0x48]
call fcn.140063038
mov r8, qword [rbp - 0x68]
lea rcx, [rbp - 0x48]
mov edx, dword [rsi + 0x50]
call fcn.140063808
test eax, eax
je 0x140078ed8
cmp qword [rbp - 0x10], rbx
je 0x140078ed8
mov eax, dword [rsi + 0x28]
mov dword [rsp + 0x64], eax
cmp dword [rsi + 0x68], ebx
jl 0x140078ecf
mov dword [rsp + 0x7c], eax
sub eax, dword [rsi + 0x68]
mov dword [rsp + 0x64], eax
jmp 0x140078ed8
mov ecx, eax
sub ecx, dword [rsi + 0x68]
mov dword [rsp + 0x7c], ecx
mov edi, dword [rsp + 0x78]
mov rcx, r14
test edi, edi
je 0x140078eee
mov edx, edi
neg edx
call fcn.140062cd8
jmp 0x140078ef3
call fcn.140063038
mov r10, qword [rbp + 0x78]
mov r15d, dword [rsp + 0x5c]
mov r14d, dword [rsp + 0x48]
test r10, r10
je 0x140078f7f
mov r8d, dword [rsp + 0x70]
mov ecx, 2
mov eax, dword [rbp + 0x1a0]
mov r9d, r15d
test dword [rbp - 0x7c], 0xffffffbf
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp - 0x78]
mov dword [rbp + 0xa8], eax
mov eax, dword [rbp + 0xa0]
cmovne eax, ecx
sub r9d, r14d
add r9d, r8d
mov dword [rbp + 0xa0], eax
lea rcx, [rsi + 8]
mov rax, rsi
neg rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x38], rax
sbb rdx, rdx
mov dword [rsp + 0x30], r9d
and rdx, rcx
mov dword [rsp + 0x28], r8d
xor r9d, r9d
mov r8d, 0x3fffffff
mov dword [rsp + 0x20], ebx
mov rcx, r10
call fcn.14006efac
mov rax, qword [rbp - 0x18]
test rax, rax
je 0x140078fb8
cmp dword [rbp - 0x60], ebx
jl 0x140078fb8
mov r9d, dword [rsi + 0x68]
mov ecx, 2
mov r8d, dword [rsi + 0x28]
mov rdx, rax
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], ecx
mov rcx, r13
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], r8d
call fcn.14007410c
cmp dword [rsi + 0x68], ebx
jne 0x140078fcd
cmp dword [rbp - 0x54], ebx
jne 0x140078fe6
or edx, 0xffffffff
mov rcx, rsi
call fcn.1400791d0
mov rcx, qword [r13 + 0x68]
test rcx, rcx
je 0x1400790c6
xor edx, edx
call fcn.140070ef8
jmp 0x1400790c6
mov r10d, dword [rbp + 0x1a0]
jmp 0x140078ff2
mov r15d, r14d
movsx edx, word [rsi + 0x70]
mov rcx, r13
bts r12d, 0xc
call fcn.140060b5c
movups xmm0, xmmword [rax + 0x10]
movups xmm2, xmmword [rax]
movups xmm1, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movd eax, xmm2
movaps xmmword [rbp], xmm2
movaps xmmword [rbp + 0x20], xmm1
movaps xmmword [rbp + 0x30], xmm0
test al, 0x20
je 0x140079048
cmp qword [r13 + 0x70], rbx
je 0x140079048
test dword [r13 + 0x84], 0x10000
jne 0x140079048
and r10d, 0xffffffdf
mov dword [rbp + 0x1a0], r10d
mov rdi, qword [rsp + 0x50]
cmp dword [rbp - 0x6c], ebx
je 0x140079064
movsx edx, word [rdi + 0x20]
cmp edx, 0xfffffffe
jg 0x140079064
lea rcx, [rbp]
call fcn.14007b47c
mov eax, dword [rbp - 0x7c]
lea rcx, [rbp]
mov r8d, dword [rbp + 0x1a0]
mov r9d, r12d
mov rdx, rdi
mov dword [rsp + 0x20], eax
call fcn.14007aac8
test eax, eax
je 0x14007908c
mov ebx, eax
jmp 0x140079148
mov rcx, qword [rbp - 0x68]
lea r8, [rsp + 0x74]
lea rdx, [rbp]
call fcn.14006fde0
mov edi, eax
test eax, eax
jne 0x14007917f
mov rcx, qword [rbp - 0x68]
movsx edx, word [rsi + 0x70]
add rcx, 8
call fcn.14006fa2c
movzx eax, word [rsp + 0x74]
mov edi, dword [rsp + 0x78]
mov word [rsi + 0x70], ax
test byte [rsi + 0x74], 0x40
je 0x1400790e7
test dword [r13 + 0x84], 0x80000
jne 0x1400790e7
mov rcx, qword [r13 + 0x68]
test rcx, rcx
je 0x1400790e7
call fcn.140070f90
test r12d, 0x2800
jne 0x14007914c
test r15d, r15d
je 0x14007914c
test r14d, r14d
jne 0x14007914c
movabs rax, 0x186fffe7408600b
test qword [r13 + 0x18], rax
jne 0x140079117
test dword [r13 + 0x94], 0x2000
je 0x14007914c
mov rax, qword [rsi + 0x18]
cmp byte [rax + 0x60], 0x7f
je 0x14007914c
lea rax, [rsi + 8]
neg rsi
lea rcx, [rbp]
sbb rdx, rdx
and rdx, rax
call fcn.14006d784
lea edx, [r15 + rdi]
test edx, edx
je 0x140079148
lea rcx, [rbp]
call fcn.14006d7e4
mov edi, ebx
jmp 0x14007917f
cmp qword [rbp - 0x10], rbx
je 0x140079176
mov ecx, dword [rsp + 0x7c]
test ecx, ecx
jns 0x140079162
mov edx, dword [rsi + 0x28]
xor r8d, r8d
jmp 0x14007916e
mov r8d, dword [rsp + 0x64]
mov edx, dword [rsp + 0x64]
sub r8d, ecx
mov rcx, rsi
call fcn.140076c30
test r14d, r14d
mov edi, ebx
setne dil
mov rcx, qword [rbp + 0xf8]
call fcn.140068a5c
dec dword [0x140111fc0]
lea rcx, [0x140111570]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r11, [rsp + 0x240]
mov eax, edi
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret