Function at 0x140014150
Capabilities:
Inspect section memory permissions

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x338
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x2b0], 0xfffffffffffffffe
mov qword [rbp + 0x298], r9
mov qword [rbp + 0x2a0], r8
mov r14, rcx
mov rax, qword [rdx + 0x30]
mov qword [rbp + 0x278], rdx
mov rcx, qword [rdx + 0x38]
add rcx, rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rcx
mov word [rbp + 0x108], 0
mov dword [rbp + 0x110], 1
mov byte [rbp + 0x2ac], 1
lea rcx, [rbp + 0x260]
lea rdx, [rbp + 0xf8]
call fcn.14001b3e0
lea rax, [0x140049260]
mov qword [rbp + 0xf8], rax
lea rax, [0x14004926c]
mov qword [rbp + 0x100], rax
mov word [rbp + 0x108], 0
mov dword [rbp + 0x110], 1
mov byte [rbp + 0x2ab], 1
lea rcx, [rbp + 0x248]
lea rdx, [rbp + 0xf8]
call fcn.14001b3e0
mov r15, qword [rbp + 0x250]
movabs rax, 0x300000050
mov qword [rbp + 0xf8], rax
lea rax, [0x14000db70]
mov qword [rbp + 0x100], rax
mov qword [rbp + 0x108], 0
lea rax, [0x140000000]
mov qword [rbp + 0x110], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
movups xmmword [rbp + 0x128], xmm0
mov qword [rbp + 0x138], r15
mov qword [rbp + 0x140], 0
lea rcx, [rbp + 0xf8]
call qword [sym.imp.user32.dll_RegisterClassExW]
mov rdx, qword [rbp + 0x278]
movzx eax, byte [rdx + 0xe8]
shl eax, 0x13
mov rsi, qword [rbp + 0x2a0]
movzx edi, byte [rsi + 0x2b]
lea ecx, [rax + 0x100000]
test dil, dil
cmove ecx, eax
movzx eax, byte [rdx + 0xec]
lea r8d, [rcx + 0x40]
cmp al, 2
cmovne r8d, ecx
lea r12d, [r8 + 0x80]
test al, al
cmovne r12d, r8d
movzx ebx, byte [rsi + 0x28]
mov eax, r12d
and eax, 0xffdffcfe
mov ecx, ebx
shl ecx, 8
movzx r13d, byte [rdx + 0xea]
shl r13d, 0x15
or r13d, ecx
movzx ecx, byte [rdx + 0xe7]
shl ecx, 9
movzx r8d, byte [rdx + 0xe4]
or r13d, r8d
or r13d, ecx
or r13d, eax
mov eax, dword [rdx + 0xb8]
cmp eax, 8
mov qword [rbp + 0xe0], r14
mov qword [rbp + 0xe8], r15
mov dword [rbp + 0x294], r8d
je 0x1400144d2
cmp eax, 0xd
jne 0x140014bc1
mov r15, qword [rsi]
test r15, r15
je 0x1400146ba
mov rax, qword [rsi + 8]
mov qword [rbp + 0x288], rax
lea rcx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x280], rax
mov rax, qword [rsi + 0x18]
mov qword [rbp + 0xf0], rax
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x140014389
lock inc qword [rsi]
jle 0x140014c47
mov rax, qword [rbp + 0x2a0]
movzx r14d, word [rax + 0x29]
or r13d, 0x1008
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x218], rax
lea rcx, [rbp + 0xf8]
lea rdx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov qword [rbp + 0x1e8], r15
mov r15, qword [rbp + 0x288]
mov qword [rbp + 0x1f0], r15
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0xf0]
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rsi
mov byte [rbp + 0x210], bl
mov word [rbp + 0x211], r14w
mov rsi, qword [rbp + 0x2a0]
mov byte [rbp + 0x213], dil
mov dword [rbp + 0x240], r13d
mov qword [rbp + 0x220], 0
mov eax, r12d
and eax, 4
shl eax, 0xe
mov ecx, r12d
and ecx, 2
shl ecx, 0x10
mov edx, r12d
and edx, 0x10
shl edx, 0x18
mov r8d, r12d
and r8d, 0x20
shl r8d, 0xd
mov r9d, r12d
shr r9d, 3
and r9d, 8
or r9d, r8d
shl r13d, 0xd
mov r8d, r13d
and r8d, 0x200000
or r8d, r9d
mov r9d, r12d
shl r9d, 0x14
and r9d, 0x40000000
mov r10d, r12d
shl r10d, 0xc
and r10d, 0x20000000
and r13d, 0x1000000
movzx r11d, byte [rbp + 0x294]
shl r11d, 0x12
or r11d, eax
or r11d, ecx
or r11d, edx
or r11d, r9d
or r11d, r10d
or r11d, r13d
or r11d, 0x86c80000
test r12d, 0x40000
mov eax, 0x110
mov ecx, 0x80130
cmove ecx, eax
or ecx, r8d
mov r13d, r11d
jmp 0x14001481e
mov rax, qword [rdx + 0xc0]
mov qword [rbp + 0x288], rax
mov rdi, qword [rsi + 0x10]
test rdi, rdi
je 0x140014567
mov rax, qword [0x143732408]
mov rax, qword [rax]
cmp rax, 2
jb 0x140014567
lea rax, [0x1400492a0]
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], 1
mov qword [rbp + 0x108], 8
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x2af], 1
mov qword [rsp + 0x20], 0
lea r8, [0x140049230]
lea rcx, [rbp + 0xf8]
mov edx, 2
mov r9d, 0x446
call fcn.140023400
mov rsi, qword [rbp + 0x2a0]
mov rdi, qword [rsi + 0x10]
mov rdx, qword [rbp + 0x278]
lea rcx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov r15, qword [rsi]
mov rax, rsi
mov r14, qword [rsi + 8]
mov rsi, qword [rsi + 0x18]
mov rbx, qword [rax + 0x20]
test rbx, rbx
je 0x140014597
lock inc qword [rbx]
jle 0x140014c47
or r13d, 0x408
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x218], rax
lea rcx, [rbp + 0xf8]
lea rdx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov qword [rbp + 0x1e8], r15
mov qword [rbp + 0x1f0], r14
mov qword [rbp + 0x1f8], rdi
mov qword [rbp + 0x200], rsi
mov qword [rbp + 0x208], rbx
mov rsi, qword [rbp + 0x2a0]
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0x210], eax
mov dword [rbp + 0x240], r13d
mov qword [rbp + 0x220], 0
mov eax, r12d
and eax, 4
shl eax, 0xe
mov ecx, r12d
and ecx, 2
shl ecx, 0x10
mov edx, r12d
and edx, 0x10
shl edx, 0x18
mov r8d, r12d
and r8d, 0x20
shl r8d, 0xd
mov r9d, r12d
shr r9d, 3
and r9d, 8
or r9d, r8d
shl r13d, 0xd
mov r8d, r13d
and r8d, 0x200000
or r8d, r9d
mov r9d, r12d
shl r9d, 0x13
and r9d, 0x80000000
mov r10d, r12d
shl r10d, 0xc
and r10d, 0x20000000
and r13d, 0x1000000
movzx r11d, byte [rbp + 0x294]
shl r11d, 0x12
or r11d, eax
or r11d, ecx
or r11d, edx
or r11d, r9d
or r11d, r10d
or r11d, r13d
or r11d, 0x46c80000
test r12d, 0x40000
mov eax, 0x110
mov ecx, 0x80130
cmove ecx, eax
or ecx, r8d
mov r13d, r11d
mov r15, qword [rbp + 0x288]
jmp 0x14001481e
lea rcx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x288], rax
mov rax, qword [rsi + 0x18]
mov qword [rbp + 0x280], rax
mov rsi, qword [rsi + 0x20]
test rsi, rsi
je 0x1400146f2
lock inc qword [rsi]
jle 0x140014c47
mov rax, qword [rbp + 0x2a0]
movzx r14d, word [rax + 0x29]
or r13d, 0x28
mov rax, qword [rbp + 0x298]
mov qword [rbp + 0x218], rax
lea rcx, [rbp + 0xf8]
lea rdx, [rbp - 0x20]
mov r8d, 0xf0
call fcn.140043e97
mov qword [rbp + 0x1e8], r15
mov rax, qword [rbp + 0x288]
mov qword [rbp + 0x1f8], rax
mov rax, qword [rbp + 0x280]
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x208], rsi
mov byte [rbp + 0x210], bl
mov word [rbp + 0x211], r14w
mov rsi, qword [rbp + 0x2a0]
mov byte [rbp + 0x213], dil
mov dword [rbp + 0x240], r13d
movzx eax, byte [rbp + 0x294]
shl eax, 0x12
mov ecx, r12d
and ecx, 4
shl ecx, 0xe
or ecx, eax
mov eax, r12d
and eax, 2
shl eax, 0x10
or eax, ecx
mov ecx, r12d
and ecx, 0x10
shl ecx, 0x18
or ecx, eax
mov eax, r12d
shr eax, 3
and eax, 8
shl r13d, 0xd
mov edx, r13d
and edx, 0x200000
mov r8d, r12d
shl r8d, 0x14
and r8d, 0x40000000
or r8d, ecx
mov ecx, r12d
shl ecx, 0x13
and ecx, 0x80000000
or ecx, r8d
mov r8d, r12d
shl r8d, 0xc
and r8d, 0x20000000
and r13d, 0x1000000
or r13d, r8d
or r13d, ecx
or r13d, 0x6c80000
test r12d, 0x40000
mov r8d, 0x40110
mov ecx, 0xc0130
cmove ecx, r8d
mov qword [rbp + 0x220], 0
or ecx, eax
or ecx, edx
xor r15d, r15d
mov r9d, r13d
and r9d, 0xff30ffff
test r12d, 0x6000
cmove r9d, r13d
mov r8, qword [rbp + 0x268]
cmp byte [rsi + 0x10], 0
mov rbx, qword [rbp + 0xe0]
mov rdx, qword [rbp + 0xe8]
je 0x140014854
mov rax, qword [rsi + 0x18]
jmp 0x140014856
xor eax, eax
lea r10, [0x140000000]
lea r11, [rbp + 0xf8]
mov qword [rsp + 0x58], r11
mov qword [rsp + 0x50], r10
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], 0x80000000
mov dword [rsp + 0x30], 0x80000000
mov dword [rsp + 0x28], 0x80000000
mov dword [rsp + 0x20], 0x80000000
call qword [sym.imp.user32.dll_CreateWindowExW]
mov rcx, qword [rbp + 0x298]
mov r8, qword [rcx]
mov rcx, qword [r8 + 0x70]
mov rdx, qword [r8 + 0x78]
mov qword [r8 + 0x70], 0
test rcx, rcx
jne 0x140014b98
test rax, rax
je 0x140014a00
mov rax, qword [rbp + 0x220]
test rax, rax
je 0x140014ba9
mov rcx, qword [rbp + 0x238]
mov qword [rbx + 0x20], rcx
movups xmm0, xmmword [rbp + 0x228]
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 8], rax
mov qword [rbx], 0
mov rdx, qword [rbp + 0x120]
test rdx, rdx
je 0x140014919
mov rcx, qword [rbp + 0x128]
mov r8d, 1
call fcn.14001d4e0
mov rcx, qword [rbp + 0x100]
cmp qword [rbp + 0xf8], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x140014945
mov edx, 0xdc
mov r8d, 4
call fcn.14001d4e0
mov rax, qword [rbp + 0x1d0]
test rax, rax
je 0x140014963
lock dec qword [rax]
jne 0x140014963
lea rcx, [rbp + 0x1d0]
call fcn.1400181b0
mov rax, qword [rbp + 0x208]
test rax, rax
je 0x140014988
lock dec qword [rax]
jne 0x140014988
lea rcx, [rbp + 0x208]
mov byte [rbp + 0x2af], 0
call fcn.1400181b0
mov rdx, qword [rbp + 0x248]
test rdx, rdx
je 0x1400149a9
mov rcx, qword [rbp + 0x250]
add rdx, rdx
mov r8d, 2
call fcn.14001d4e0
mov rdx, qword [rbp + 0x260]
test rdx, rdx
mov rsi, qword [rbp + 0x2a0]
je 0x1400149d1
mov rcx, qword [rbp + 0x268]
add rdx, rdx
mov r8d, 2
call fcn.14001d4e0
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140014b81
lock dec qword [rax]
jne 0x140014b81
add rsi, 0x20
mov byte [rbp + 0x2ad], 0
mov rcx, rsi
call fcn.1400181b0
jmp 0x140014b81
mov byte [rbp + 0x2ae], 1
call fcn.14002f1b0
shl rax, 0x20
or rax, 2
lea rcx, [0x140048f7b]
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], 0x74
mov qword [rbx + 0x18], rax
mov dword [rbx + 0x20], 0x475
mov qword [rbx], 1
mov rdx, qword [rbp + 0x120]
test rdx, rdx
je 0x140014a57
mov rcx, qword [rbp + 0x128]
mov r8d, 1
call fcn.14001d4e0
mov rcx, qword [rbp + 0x100]
cmp qword [rbp + 0xf8], 0
sete al
test rcx, rcx
sete dl
or dl, al
jne 0x140014a83
mov edx, 0xdc
mov r8d, 4
call fcn.14001d4e0
mov rax, qword [rbp + 0x1d0]
test rax, rax
je 0x140014aa1
lock dec qword [rax]
jne 0x140014aa1
lea rcx, [rbp + 0x1d0]
call fcn.1400181b0
mov rax, qword [rbp + 0x208]
test rax, rax
je 0x140014abf
lock dec qword [rax]
jne 0x140014abf
lea rcx, [rbp + 0x208]
call fcn.1400181b0
mov rax, qword [rbp + 0x220]
test rax, rax
je 0x140014b16
mov qword [rbp + 0x298], rax
mov rdi, qword [rbp + 0x228]
mov rcx, qword [str._b_sC]
call fcn.14001dfd0
mov rcx, rdi
mov edx, eax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.user32.dll_PostMessageW]
mov rax, qword [rbp + 0x298]
lock dec qword [rax]
jne 0x140014b16
mov byte [rbp + 0x2af], 0
lea rcx, [rbp + 0x220]
call fcn.140017fc0
mov rdx, qword [rbp + 0x248]
test rdx, rdx
je 0x140014b37
mov rcx, qword [rbp + 0x250]
add rdx, rdx
mov r8d, 2
call fcn.14001d4e0
mov rdx, qword [rbp + 0x260]
test rdx, rdx
mov rsi, qword [rbp + 0x2a0]
je 0x140014b5f
mov rcx, qword [rbp + 0x268]
add rdx, rdx
mov r8d, 2
call fcn.14001d4e0
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140014b81
lock dec qword [rax]
jne 0x140014b81
add rsi, 0x20
mov byte [rbp + 0x2ad], 0
mov rcx, rsi
call fcn.1400181b0
mov rax, rbx
add rsp, 0x338
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov byte [rbp + 0x2ae], 1
call fcn.140028b60
jmp 0x140014c47
mov byte [rbp + 0x2ae], 0
lea rcx, [0x1400492b0]
call fcn.140046060
jmp 0x140014c47
lea rax, [rdx + 0xb8]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
lea rax, [rbp - 0x20]
mov qword [rbp + 0xd0], rax
lea rax, [0x140014fc0]
mov qword [rbp + 0xd8], rax
lea rax, [0x140049318]
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], 2
mov qword [rbp + 0x118], 0
lea rax, [rbp + 0xd0]
mov qword [rbp + 0x108], rax
mov qword [rbp + 0x110], 1
mov byte [rbp + 0x2af], 1
lea rdx, [0x140049338]
lea rcx, [rbp + 0xf8]
call fcn.1400460e0
ud2