Function at 0x1400669a0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x310]
sub rsp, 0x410
movaps xmmword [rsp + 0x400], xmm6
mov rax, qword [0x1401f2308]
xor rax, rsp
mov qword [rbp + 0x2f0], rax
mov r14, r8
mov r13, rcx
mov qword [rbp - 0x48], rdx
xor esi, esi
mov r12d, esi
mov dword [rsp + 0x40], esi
mov rdi, qword [r8]
test rdi, rdi
je 0x140068caa
mov ecx, esi
lea r8, [0x1401aa93c]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [r8 + rcx - 1]
jne 0x140066aaf
cmp rcx, 5
jne 0x140066a00
test rdx, rdx
jne 0x140066a2b
lea rdx, [rbp - 0x48]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.sciter_x.dll_SciterGetRootElement]
cmp dword [r14 + 0x10], esi
je 0x1400697f7
mov rcx, qword [r14 + 8]
cmp dword [rcx], 5
jne 0x1400697f7
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x38], esi
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueStringData]
call fcn.1400543e0
mov rdi, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [rax]
mov rax, qword [rcx + 0x60]
mov r8d, dword [rbp + 0x38]
lea r9, [rbp]
mov rdx, qword [rbp + 0x30]
mov rcx, rdi
call qword [case.0x1400309a4.0]
mov rdi, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [rax]
mov rax, qword [rcx]
mov r9, r14
mov r8, qword [rbp - 0x48]
mov rdx, qword [rbp]
mov rcx, rdi
call qword [case.0x1400309a4.0]
jmp 0x1400697f9
lea rdx, str.template
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140066c2b
cmp dword [r14 + 0x10], 1
jbe 0x1400697f7
mov rax, qword [r14 + 8]
cmp dword [rax], 5
jne 0x1400697f7
call fcn.1400543e0
mov rdi, rax
test rax, rax
je 0x1400697f7
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], esi
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
mov rcx, qword [r14 + 8]
call qword [sym.imp.sciter_x.dll_ValueStringData]
mov rcx, qword [rdi]
mov rax, qword [rcx + 0x60]
mov r8d, dword [rbp - 8]
lea r9, [rbp + 0x60]
mov rdx, qword [rbp - 0x10]
mov rcx, rdi
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov r12, rax
test rax, rax
je 0x1400697f7
mov rdi, qword [r14 + 8]
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rdi + 0x10]
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
cmp dword [rbp + 0x30], 5
jne 0x140066bf9
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
lea rcx, [rbp + 0x30]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140066b96
add rbx, 8
jmp 0x140066b9d
lea rbx, [0x1401fb7e8]
mov rdx, rbx
lea rcx, [rbp + 0x10]
call fcn.140054430
nop
mov rdx, rax
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rax, qword [rbp]
test rax, rax
je 0x140066bf9
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp]
mov dword [rax], ecx
jne 0x140066bf9
mov rax, qword [rbp]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
mov rax, qword [r12]
lea r9, [r14 + 0x18]
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x60]
mov rcx, r12
mov rax, qword [rax]
call qword [case.0x1400309a4.0]
movzx edi, al
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueClear]
movzx eax, dil
jmp 0x1400697f9
lea rdx, str.translate
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140066f5b
mov rcx, qword [r14 + 8]
mov eax, dword [rcx]
cmp eax, 9
je 0x140066c5f
cmp eax, 0xd
jne 0x140066d12
cmp dword [rcx + 4], esi
jne 0x140066e15
mov r13d, esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x44], esi
lea rdx, [rsp + 0x44]
call qword [sym.imp.sciter_x.dll_ValueElementsCount]
cmp dword [rsp + 0x44], esi
jle 0x1400697f7
lea r15, [0x1401a3ce0]
lea rbx, [0x1401fb7e8]
nop dword [rax]
mov rdi, qword [r14 + 8]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.sciter_x.dll_ValueInit]
or r12d, 1
mov dword [rsp + 0x40], r12d
lea r8, [rbp + 0xb8]
mov edx, r13d
mov rcx, rdi
call qword [sym.imp.sciter_x.dll_ValueNthElementValue]
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x38], esi
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0xb8]
call qword [sym.imp.sciter_x.dll_ValueStringData]
mov ecx, dword [rbp - 0x38]
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x20]
call fcn.140060730
test eax, eax
je 0x140066e1c
movzx edx, ax
lea rcx, [rbp - 0x30]
call fcn.140060a60
mov r13, qword [rbp - 0x28]
mov rax, qword [rbp - 0x30]
jmp 0x140066e2a
cmp eax, 5
jne 0x140066e15
mov qword [rbp - 0x10], rsi
mov dword [rbp - 8], esi
lea r8, [rbp - 8]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringData]
mov ecx, dword [rbp - 8]
mov rax, qword [rbp - 0x10]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], rcx
lea rcx, [rbp + 0x40]
call fcn.140060730
test eax, eax
je 0x140066d62
movzx edx, ax
lea rcx, [rbp + 0x30]
call fcn.140060a60
mov rax, qword [rbp + 0x38]
mov r15, qword [rbp + 0x30]
jmp 0x140066d74
lea r15, [0x1401a3ce0]
mov qword [rbp + 0x30], r15
mov rax, rsi
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x10], r15
mov dword [rbp + 0x18], eax
lea rdx, [rbp + 0x10]
lea rcx, [rbp]
call fcn.14004b3f0
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueInit]
mov rdi, qword [rbp]
test rdi, rdi
je 0x140066da6
mov r8d, dword [rdi + 4]
lea rbx, [rdi + 8]
jmp 0x140066db0
mov r8d, esi
lea rbx, [0x1401fb7e8]
xor r9d, r9d
mov rdx, rbx
lea rcx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
test rdi, rdi
je 0x1400697f7
mov eax, dword [rdi]
sub eax, 1
mov rdx, qword [rbp]
mov dword [rdx], eax
jne 0x1400697f7
mov ecx, dword [rdx + 4]
add rcx, rcx
lea rdi, [rdx + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
jmp 0x1400697f7
xor al, al
jmp 0x1400697f9
mov rax, r15
mov qword [rbp - 0x30], rax
mov r13, rsi
mov qword [rbp - 0x28], rsi
mov rdi, rsi
mov qword [rbp - 0x50], rsi
test rax, rax
je 0x140066e89
test r13d, r13d
je 0x140066e89
mov eax, r13d
mov qword [rsp + 0x58], rax
lea rcx, [rax*2 + 0xc]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov qword [rbp - 0x50], rax
test rax, rax
je 0x140066e89
lea rcx, [rax + 8]
test rcx, rcx
je 0x140066e75
mov r8, qword [rsp + 0x58]
mov rdx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov dword [rdi], 1
mov dword [rdi + 4], r13d
mov rax, qword [rsp + 0x58]
mov word [rdi + rax*2 + 8], si
lea rcx, [rbp + 0xc8]
call qword [sym.imp.sciter_x.dll_ValueInit]
test rdi, rdi
je 0x140066ea5
mov r8d, dword [rdi + 4]
lea rdx, [rdi + 8]
jmp 0x140066eab
mov r8d, esi
mov rdx, rbx
xor r9d, r9d
lea rcx, [rbp + 0xc8]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea r8, [rbp + 0xc8]
lea rdx, [rbp + 0xb8]
lea rcx, [r14 + 0x18]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
nop
lea rcx, [rbp + 0xc8]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
test rdi, rdi
je 0x140066f15
mov eax, dword [rdi]
sub eax, 1
mov rdx, qword [rbp - 0x50]
mov dword [rdx], eax
jne 0x140066f10
mov ecx, dword [rdx + 4]
add rcx, rcx
lea rdi, [rdx + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, rdx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x50], rsi
mov r12d, dword [rsp + 0x40]
and r12d, 0xfffffffe
mov dword [rsp + 0x40], r12d
lea rcx, [rbp + 0xb8]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov r13d, dword [rsp + 0x48]
inc r13d
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x44], esi
lea rdx, [rsp + 0x44]
mov rcx, qword [r14 + 8]
call qword [sym.imp.sciter_x.dll_ValueElementsCount]
cmp r13d, dword [rsp + 0x44]
jl 0x140066c90
jmp 0x1400697f7
mov rcx, rsi
lea rdx, str.expand
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400670e5
cmp rcx, 7
jne 0x140066f65
mov qword [rbp + 0x30], rsi
mov dword [rbp + 0x38], esi
lea r8, [rbp + 0x38]
lea rdx, [rbp + 0x30]
mov rcx, qword [r14 + 8]
call qword [sym.imp.sciter_x.dll_ValueStringData]
mov eax, dword [rbp + 0x38]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, qword [0x1401b4d80]
cvttsd2si ebx, xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
movsxd rdi, ebx
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140024230
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8, rdi
mov rcx, qword [rbp + 0x30]
call fcn.140027370
cmp eax, ebx
jle 0x140067027
lfence
inc eax
movsxd rdi, eax
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.140024230
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8, rdi
mov rcx, qword [rbp + 0x30]
call fcn.140027370
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rbx, qword [rbp + 0x10]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test rbx, rbx
je 0x14006705c
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140067050
jmp 0x14006705e
mov edi, esi
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400670cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400670ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400670ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
jmp 0x1400697f7
lea rdx, str.createWindow
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006772e
mov edx, dword [r14 + 0x10]
test edx, edx
je 0x1400697f7
mov rcx, qword [r14 + 8]
cmp dword [rcx], 5
jne 0x1400697f7
add r13, 0x10
mov rax, qword [r13]
mov rdi, qword [rax + 0x10]
sub edx, 2
je 0x140067618
sub edx, 2
je 0x1400674ec
sub edx, 1
je 0x14006739c
lea r15, [0x1401a3ce0]
mov r8, r15
cmp edx, 1
je 0x1400671dc
lea rdx, [rbp]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140067167
add rbx, 8
jmp 0x14006716e
lea rbx, [0x1401fb7e8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x258
mov r9d, 0x320
mov r8, r15
mov rdx, rbx
mov rcx, r13
mov rax, rdi
call qword [case.0x1400309a4.0]
mov ebx, eax
mov rcx, qword [rbp]
test rcx, rcx
je 0x1400676fc
mov edx, dword [rcx]
sub edx, 1
mov rcx, qword [rbp]
mov dword [rcx], edx
jne 0x1400676fc
mov rdx, qword [rbp]
mov ecx, dword [rdx + 4]
add rcx, rcx
lea rdi, [rdx + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
jmp 0x1400676fc
add rcx, 0x50
lea rdx, [rsp + 0x78]
call fcn.1400542c0
nop
mov rcx, qword [rax]
lea rbx, [0x1401fb7e8]
test rcx, rcx
je 0x140067205
lea r12, [rcx + 8]
mov qword [rsp + 0x58], r12
jmp 0x14006720a
mov qword [rsp + 0x58], rbx
mov rcx, qword [r14 + 8]
add rcx, 0x40
lea rdx, [rsp + 0x4c]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x4c]
mov dword [rsp + 0x48], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x30
lea rdx, [rsp + 0x50]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x50]
mov dword [rsp + 0x44], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x20
lea rdx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp + 0x60]
mov dword [rbp], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x10
mov r8, r15
lea rdx, [rsp + 0x70]
call fcn.1400542c0
nop
mov r12, qword [rax]
test r12, r12
je 0x14006728b
add r12, 8
jmp 0x14006728e
mov r12, rbx
mov r8, r15
lea rdx, [rsp + 0x68]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x1400672ac
lea rbx, [rcx + 8]
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp]
mov r8, r12
mov rdx, rbx
mov rcx, r13
mov rax, rdi
call qword [case.0x1400309a4.0]
mov ebx, eax
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140067319
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rsp + 0x68]
mov dword [rax], ecx
jne 0x140067319
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x68], rsi
mov rax, qword [rsp + 0x70]
test rax, rax
je 0x140067354
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rsp + 0x70]
mov dword [rax], ecx
jne 0x140067354
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x70], rsi
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1400676fc
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rsp + 0x78]
mov dword [rax], ecx
jne 0x1400676fc
mov rax, qword [rsp + 0x78]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rsp + 0x78], rsi
jmp 0x1400676fc
add rcx, 0x40
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp]
mov dword [rsp + 0x4c], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x30
lea rdx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp + 0x60]
mov dword [rsp + 0x48], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x20
lea rdx, [rsp + 0x50]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rsp + 0x50]
mov dword [rsp + 0x44], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x10
lea r15, [0x1401a3ce0]
mov r8, r15
lea rdx, [rbp - 0x78]
call fcn.1400542c0
nop
mov r12, qword [rax]
lea rbx, [0x1401fb7e8]
test r12, r12
je 0x140067425
add r12, 8
jmp 0x140067428
mov r12, rbx
mov r8, r15
lea rdx, [rbp - 0x80]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140067445
lea rbx, [rcx + 8]
mov qword [rsp + 0x30], r15
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x44]
mov r8, r12
mov rdx, rbx
mov rcx, r13
mov rax, rdi
call qword [case.0x1400309a4.0]
mov ebx, eax
mov rax, qword [rbp - 0x80]
test rax, rax
je 0x1400674a9
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x80]
mov dword [rax], ecx
jne 0x1400674a9
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x80], rsi
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x1400676fc
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x78]
mov dword [rax], ecx
jne 0x1400676fc
mov rax, qword [rbp - 0x78]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x78], rsi
jmp 0x1400676fc
add rcx, 0x30
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp]
mov dword [rsp + 0x50], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x20
lea rdx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ecx, esi
test eax, eax
cmove ecx, dword [rbp + 0x60]
mov dword [rsp + 0x4c], ecx
mov rcx, qword [r14 + 8]
add rcx, 0x10
lea r15, [0x1401a3ce0]
mov r8, r15
lea rdx, [rbp - 0x68]
call fcn.1400542c0
nop
mov r12, qword [rax]
lea rbx, [0x1401fb7e8]
test r12, r12
je 0x140067555
add r12, 8
jmp 0x140067558
mov r12, rbx
mov r8, r15
lea rdx, [rbp - 0x70]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140067575
lea rbx, [rcx + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x4c]
mov r8, r12
mov rdx, rbx
mov rcx, r13
mov rax, rdi
call qword [case.0x1400309a4.0]
mov ebx, eax
mov rax, qword [rbp - 0x70]
test rax, rax
je 0x1400675d5
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x70]
mov dword [rax], ecx
jne 0x1400675d5
mov rax, qword [rbp - 0x70]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x70], rsi
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x1400676fc
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x68]
mov dword [rax], ecx
jne 0x1400676fc
mov rax, qword [rbp - 0x68]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x68], rsi
jmp 0x1400676fc
add rcx, 0x10
lea r15, [0x1401a3ce0]
mov r8, r15
lea rdx, [rbp - 0x58]
call fcn.1400542c0
nop
mov r12, qword [rax]
lea rbx, [0x1401fb7e8]
test r12, r12
je 0x140067645
add r12, 8
jmp 0x140067648
mov r12, rbx
mov r8, r15
lea rdx, [rbp - 0x60]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x140067665
lea rbx, [rcx + 8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 0x258
mov r9d, 0x320
mov r8, r12
mov rdx, rbx
mov rcx, r13
mov rax, rdi
call qword [case.0x1400309a4.0]
mov ebx, eax
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x1400676c6
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x60]
mov dword [rax], ecx
jne 0x1400676c6
mov rax, qword [rbp - 0x60]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x60], rsi
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1400676fc
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp - 0x58]
mov dword [rax], ecx
jne 0x1400676fc
mov rax, qword [rbp - 0x58]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp - 0x58], rsi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, ebx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rdx, str.addEventListener
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400679a3
mov qword [rbp + 0x60], rsi
mov dword [rbp + 0x68], esi
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x60]
mov rcx, qword [r14 + 8]
call qword [sym.imp.sciter_x.dll_ValueStringData]
mov r12b, 1
mov r11, rsi
lea r15, [r13 + 0x88]
mov r9, qword [r15]
mov rbx, qword [r15 + 8]
sub rbx, r9
sar rbx, 3
movabs rdi, 0xcccccccccccccccd
imul rbx, rdi
test rbx, rbx
je 0x1400677e9
add r9, 8
mov r12d, dword [rbp + 0x68]
mov r10, qword [rbp + 0x60]
nop dword [rax + rax]
mov edi, dword [r9 + 0x10]
mov r8, r9
cmp qword [r9 + 0x18], 8
jb 0x1400677b1
mov r8, qword [r9]
cmp edi, r12d
jne 0x1400677da
cmp r8, r10
je 0x1400677d5
mov edx, esi
test edi, edi
je 0x1400677d5
mov ecx, edx
movzx eax, word [r10 + rcx*2]
cmp word [r8 + rcx*2], ax
jne 0x1400677da
inc edx
cmp edx, edi
jb 0x1400677c1
xor r12b, r12b
jmp 0x1400677e9
inc r11
add r9, 0x28
cmp r11, rbx
jb 0x1400677a0
mov r12b, 1
mov rcx, qword [r14 + 8]
add rcx, 0x10
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueFloatData]
test eax, eax
jne 0x140067806
movsd xmm0, qword [rbp]
jmp 0x140067809
xorps xmm0, xmm0
movsd qword [rbp + 0x70], xmm0
mov r8d, dword [rbp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x88], xmm1
mov rdx, qword [rbp + 0x60]
lea rcx, [rbp + 0x78]
call fcn.14002b930
nop
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14006788e
mov qword [rsp + 0x58], rdx
movsd xmm0, qword [rbp + 0x70]
movsd qword [rdx], xmm0
xorps xmm1, xmm1
movups xmmword [rdx + 8], xmm1
mov qword [rdx + 0x18], rsi
mov qword [rdx + 0x20], rsi
movups xmm0, xmmword [rbp + 0x78]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rbp + 0x88]
movups xmmword [rdx + 0x18], xmm1
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x78], si
mov rdi, qword [r15 + 8]
lea rax, [rdi + 0x28]
mov qword [r15 + 8], rax
jmp 0x14006789d
lea r8, [rbp + 0x70]
mov rcx, r15
call fcn.14006ddd0
mov rdi, rax
mov rdx, qword [rbp + 0x90]
cmp rdx, 8
jb 0x1400678e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400678de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400678de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x78], si
test r12b, r12b
je 0x1400697f7
lea rax, [0x140069c80]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], esi
add rdi, 8
cmp qword [rdi + 0x18], 8
jb 0x14006791c
mov rdi, qword [rdi]
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp + 0x18], xmm1
lea rax, [r13 - 0x20]
mov qword [rbp + 0x10], rax
lea rax, [0x14006e2b0]
mov qword [rbp + 0x28], rax
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x50], xmm1
mov rcx, qword [0x1401fb800]
mov rax, qword [rcx]
mov edx, 5
mov rax, qword [rax]
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov r9, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
lea r8, [rbp + 0x40]
mov rdx, rdi
mov rcx, r9
call qword [case.0x1400309a4.0]
jmp 0x1400697f7
lea rdx, str.removeEventListener
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140067b5b
xorps xmm1, xmm1
mov rcx, qword [r14 + 8]
call fcn.1400606b0
movaps xmm1, xmm0
mov rax, rsi
mov r8, qword [r13 + 0x90]
mov rcx, qword [r13 + 0x88]
mov rdx, r8
sub rdx, rcx
sar rdx, 3
movabs rdi, 0xcccccccccccccccd
imul rdx, rdi
test rdx, rdx
je 0x1400697f7
nop dword [rax + rax]
movsd xmm0, qword [rcx]
ucomisd xmm0, xmm1
jp 0x140067a0c
je 0x140067a1e
inc rax
add rcx, 0x28
cmp rax, rdx
jae 0x1400697f7
jmp 0x140067a00
lea rdx, [r8 - 0x28]
call fcn.14006d180
mov r9, rsi
mov rcx, qword [r13 + 0x90]
mov r8, qword [r13 + 0x88]
mov r10, rcx
sub r10, r8
sar r10, 3
imul r10, rdi
lea rbx, [rcx - 0x20]
sub r10, 1
je 0x140067ab5
mov r14, qword [rbx + 0x10]
mov r11, qword [rbx + 0x18]
add r8, 8
nop dword [rax]
mov rcx, rbx
cmp r11, 8
jb 0x140067a6c
mov rcx, qword [rbx]
mov rdx, qword [r8 + 0x10]
mov rdi, r8
cmp qword [r8 + 0x18], 8
jb 0x140067a7d
mov rdi, qword [r8]
cmp rdx, r14
jne 0x140067aa9
test rdx, rdx
je 0x140067b35
sub rdi, rcx
nop
movzx eax, word [rcx + rdi]
cmp ax, word [rcx]
jne 0x140067aa9
add rcx, 2
sub rdx, 1
je 0x140067b35
jmp 0x140067a90
inc r9
add r8, 0x28
cmp r9, r10
jb 0x140067a60
cmp qword [rbx + 0x18], 8
jb 0x140067abf
mov rbx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov qword [rbp + 0x28], rsi
lea rax, [r13 - 0x20]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbp + 0x50], xmm1
mov rcx, qword [0x1401fb800]
mov rax, qword [rcx]
mov edx, 5
mov rax, qword [rax]
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rdi, rax
test rax, rax
je 0x140067b35
mov rcx, qword [rax]
mov rax, qword [rcx + 0x48]
lea r8, [rbp + 0x40]
mov rdx, rbx
mov rcx, rdi
call qword [case.0x1400309a4.0]
mov rcx, qword [r13 + 0x90]
sub rcx, 0x28
mov qword [rsp + 0x58], rcx
add rcx, 8
call fcn.140024660
add qword [r13 + 0x90], 0xffffffffffffffd8
jmp 0x1400697f7
mov rcx, rsi
lea rdx, str.resize
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140067db3
cmp rcx, 7
jne 0x140067b65
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
mov r15d, 2
mov r8d, r15d
xor edx, edx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rax, [r14 + 0x18]
mov qword [rsp + 0x58], rax
lea rdx, [rbp - 0x10]
mov rcx, rax
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov ecx, dword [r14 + 0x10]
lea eax, [rcx - 2]
cmp eax, 1
ja 0x1400697f7
mov rax, qword [r14 + 8]
cmp dword [rax], 3
jne 0x1400697f7
cmp dword [rax + 0x10], 3
jne 0x1400697f7
xor r12b, r12b
cmp ecx, 3
jne 0x140067c0d
lea rcx, [rax + 0x20]
cmp dword [rcx], r15d
jne 0x140067c0d
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
test eax, eax
jne 0x140067c0d
cmp dword [rbp], eax
setne r12b
mov rcx, qword [r14 + 8]
add rcx, 0x10
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov r8d, esi
test eax, eax
cmove r8d, dword [rbp]
mov dword [rsp + 0x44], r8d
lea rdx, [rbp]
mov rcx, qword [r14 + 8]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov r14d, esi
test eax, eax
cmove r14d, dword [rbp]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rax
lea r9, [rbp + 0x70]
xor r8d, r8d
lea edx, [rax + 0x24]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
mov ebx, 1
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cmp r14d, dword [rbp + 0x88]
cmovl r14d, dword [rbp + 0x88]
mov edx, dword [rsp + 0x44]
cmp edx, dword [rbp + 0x8c]
cmovl edx, dword [rbp + 0x8c]
cmp r14d, edi
cmovg r14d, edi
cmp edx, eax
cmovg edx, eax
mov dword [rsp + 0x44], edx
mov rdi, qword [r13 - 0x18]
lea edx, [rbx - 0x11]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140067cda
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test r12b, r12b
je 0x140067d0b
mov rdi, qword [r13 - 0x18]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
je 0x140067d0b
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
test rax, rax
jne 0x140067cf1
test rdi, rdi
je 0x140067d7d
lea rdx, [rbp - 0x10]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
lea rdx, [rbp + 0x30]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [rbp + 0x38]
sub ecx, dword [rbp - 8]
mov rax, qword [rbp + 0x30]
sub ecx, eax
mov rdx, qword [rbp - 0x10]
add ecx, edx
shr rdx, 0x20
shr rax, 0x20
sub edx, eax
sub edx, dword [rbp - 4]
add edx, dword [rbp + 0x3c]
add ecx, r14d
mov eax, dword [rsp + 0x44]
add eax, edx
mov dword [rsp + 0x30], socket
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPos]
mov ebx, esi
test eax, eax
setne bl
lea rcx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
mov r8d, r15d
mov edx, ebx
lea rcx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, [rbp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp + 0x60]
jmp 0x1400697f1
lea rdx, str.getWinSize
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140067f72
xor bl, bl
cmp dword [r14 + 0x10], esi
jbe 0x140067def
mov rcx, qword [r14 + 8]
cmp dword [rcx], 2
jne 0x140067def
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
test eax, eax
jne 0x140067def
cmp dword [rbp], esi
setne bl
mov rdi, qword [r13 - 0x18]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1e
jae 0x140067e13
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetParent]
mov rdi, rax
test bl, bl
je 0x140067e23
mov rcx, qword [r13 - 0x18]
call fcn.140064250
mov rdi, rax
test rdi, rdi
je 0x1400697f7
lea rdx, [rbp + 0x60]
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [rbp + 0x68]
sub edi, dword [rbp + 0x60]
mov dword [rbp + 0x68], edi
mov dword [rbp + 0x60], esi
mov eax, dword [rbp + 0x64]
sub dword [rbp + 0x6c], eax
mov dword [rbp + 0x64], esi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rbx, [r14 + 0x18]
lea rdx, str.width
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rbx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
mov r15d, 2
mov dword [rsp + 0x40], r15d
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and r15d, 0xfffffffd
mov dword [rsp + 0x40], r15d
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov edi, dword [rbp + 0x6c]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, str.height
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rbx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
or r15d, 4
mov dword [rsp + 0x40], r15d
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and r15d, 0xfffffffb
mov dword [rsp + 0x40], r15d
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
jmp 0x1400697ed
lea rdx, str.closeWindow
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140067fcb
mov rcx, qword [r14 + 8]
cmp dword [rcx], 3
jne 0x140067fc2
mov dword [r14 + 0x10], 1
mov rax, qword [r13 + 0x10]
mov rdi, qword [rax + 0x20]
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
test eax, eax
cmove esi, dword [rbp]
mov edx, esi
lea rcx, [r13 + 0x10]
mov rax, rdi
call qword [case.0x1400309a4.0]
jmp 0x1400697f7
mov dword [r14 + 0x10], esi
jmp 0x1400697f7
lea rdx, str.createDataSource
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140068ac8
lea rdx, str.destroyDataSource
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140068ac8
mov rcx, rsi
lea rdx, str.check
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400681d2
cmp rcx, 6
jne 0x140068003
call fcn.1400543e0
mov r12, rax
test rax, rax
jne 0x14006805a
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
xor edx, edx
lea r8d, [r12 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
cmp dword [r14 + 0x10], esi
je 0x1400697f7
mov rcx, qword [r14 + 8]
cmp dword [rcx], 5
jne 0x1400697f7
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140068090
add rbx, 8
jmp 0x140068097
lea rbx, [0x1401fb7e8]
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
mov rax, qword [rbp]
test rax, rax
je 0x1400680e3
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp]
mov dword [rax], ecx
jne 0x1400680e3
mov rax, qword [rbp]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
mov edx, 0x2e
lea rcx, [rbp + 0xe0]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rdi, rax
lea rdx, [rbp + 0xe0]
test rax, rax
je 0x140068153
mov word [rax], si
mov rcx, qword [r12]
mov rax, qword [rcx + 0x20]
mov rcx, r12
call qword [case.0x1400309a4.0]
mov rbx, rax
add rdi, 2
je 0x140068167
mov edx, 0x3f
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x140068137
mov word [rax], si
test rbx, rbx
je 0x1400681a0
mov rax, qword [rbx]
mov rdx, rdi
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400309a4.0]
test al, al
jmp 0x14006816a
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x20]
call qword [case.0x1400309a4.0]
mov rbx, rax
test rbx, rbx
je 0x1400681a0
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rdx, str.mousePosition
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400683d2
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov edi, dword [rbp]
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
add r14, 0x18
lea rdx, [0x1401a8550]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], r14
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
mov ebx, 8
mov dword [rsp + 0x40], ebx
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and ebx, 0xfffffff7
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov edi, dword [rbp + 4]
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, [0x1401a8554]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], r14
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
or ebx, 0x10
mov dword [rsp + 0x40], ebx
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and ebx, 0xffffffef
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueClear]
lea rdx, [rbp - 0x10]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rax, qword [rbp]
cmp dword [rbp - 0x10], eax
jg 0x140068345
cmp dword [rbp - 8], eax
jl 0x140068345
mov eax, dword [rbp + 4]
cmp dword [rbp - 0xc], eax
jg 0x140068345
cmp dword [rbp - 4], eax
mov edi, 1
jge 0x140068347
mov edi, esi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 2]
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, str.hover
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], r14
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
or ebx, 0x20
mov dword [rsp + 0x40], ebx
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and ebx, 0xffffffdf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x30]
jmp 0x1400697f1
lea rdx, str.mouseState
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400685cb
lea ecx, [rax + 1]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx edi, ax
shr edi, 7
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
and edi, 1
xor r9d, r9d
mov r15d, 2
mov r8d, r15d
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rsi, [r14 + 0x18]
lea rdx, [0x1401aaa34]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
mov ebx, 0x80
mov dword [rsp + 0x40], ebx
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
btr ebx, 7
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetKeyState]
movsx edi, ax
shr edi, 7
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
and edi, 1
xor r9d, r9d
mov r8d, r15d
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, [0x1401aa7d0]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
bts ebx, 8
mov dword [rsp + 0x40], ebx
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
btr ebx, 8
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
lea ecx, [r15 + 2]
call qword [sym.imp.USER32.dll_GetKeyState]
movsx edi, ax
shr edi, 7
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
and edi, 1
xor r9d, r9d
mov r8d, r15d
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, [0x1401aaa38]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
or ebx, 0x40
mov dword [rsp + 0x40], ebx
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
and ebx, 0xffffffbf
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
jmp 0x1400697ed
lea rdx, str.isActive
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006861c
movzx edi, byte [r13 + 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test dil, dil
setne sil
xor r9d, r9d
lea r8d, [r9 + 2]
mov edx, esi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rdx, str.setHelpId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006882c
cmp dword [r14 + 0x10], 1
jne 0x1400697f7
mov rcx, qword [r14 + 8]
cmp dword [rcx], 5
jne 0x1400697f7
lea r14, [0x1401aaa5c]
mov r8, r14
lea rdx, [rbp]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x14006866d
add rbx, 8
jmp 0x140068674
lea rbx, [0x1401fb7e8]
xorps xmm0, xmm0
movups xmmword [rbp + 0x98], xmm0
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rsi
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140068693
mov r8, rdi
mov rdx, rbx
lea rcx, [rbp + 0x98]
call fcn.14002b930
nop
mov rax, qword [rbp]
test rax, rax
je 0x1400686e6
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp]
mov dword [rax], ecx
jne 0x1400686e6
mov rax, qword [rbp]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
mov edi, esi
lea rdx, [rbp + 0x98]
mov r8, qword [rbp + 0x98]
mov r9, qword [rbp + 0xb0]
cmp r9, 8
cmovae rdx, r8
mov rcx, qword [rbp + 0xa8]
cmp rcx, 1
jne 0x14006873a
test rcx, rcx
je 0x1400687b8
sub rdx, r14
nop
movzx eax, word [rdx + r14]
cmp ax, word [r14]
jne 0x14006873a
add r14, 2
sub rcx, 1
jne 0x140068720
jmp 0x1400687b8
lea rcx, [rbp + 0x98]
cmp r9, 8
cmovae rcx, r8
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtol]
mov edi, eax
test eax, eax
jne 0x1400687b8
mov rcx, qword [0x1401fb800]
mov rdx, qword [rcx]
mov rax, qword [rdx]
lea edx, [rdi + 0xf]
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov r8, rax
test rax, rax
je 0x1400687b8
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
lea rdx, [rbp + 0x98]
cmp qword [rbp + 0xb0], 8
cmovae rdx, qword [rbp + 0x98]
mov rcx, r8
call qword [case.0x1400309a4.0]
mov edi, eax
mov edx, edi
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_SetWindowContextHelpId]
nop
mov rdx, qword [rbp + 0xb0]
cmp rdx, 8
jb 0x14006880e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x98]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068809
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068809
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], 7
mov word [rbp + 0x98], si
jmp 0x1400697f7
lea rdx, str.getHelpId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006897c
mov rcx, qword [0x1401fb800]
mov rax, qword [rcx]
mov edx, reloc.WS2_32.dll_ntohs
mov rax, qword [rax]
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rdi, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
mov edx, eax
test eax, eax
je 0x1400697f7
mov rcx, qword [rdi]
mov rax, qword [rcx + 8]
mov rcx, rdi
call qword [case.0x1400309a4.0]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], rsi
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], si
jne 0x1400688c0
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0x10]
call fcn.14002b930
nop
cmp qword [rbp + 0x20], 0
je 0x140068924
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
xor r9d, r9d
mov r8d, dword [rbp + 0x20]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x140068967
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068962
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068962
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
mov qword [rbp + 0x20], rsi
mov qword [rbp + 0x28], 7
mov word [rbp + 0x10], si
jmp 0x1400697f7
mov rcx, rsi
lea rdx, [0x1401aaa6c]
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140068a07
cmp rcx, 5
jne 0x140068990
mov rcx, qword [0x1401fb800]
mov rax, qword [rcx]
mov edx, 6
mov rax, qword [rax]
call qword [case.0x1400309a4.0]
mov rcx, rax
mov dword [rsp + 0x20], esi
lea r9, vtable.type_info.0
lea r8, vtable.type_info.0
xor edx, edx
call sub.VCRUNTIME140.dll___RTDynamicCast
mov rbx, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x48]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowContextHelpId]
mov edx, eax
mov rcx, rbx
mov rax, rdi
call qword [case.0x1400309a4.0]
jmp 0x1400697f7
lea rdx, str.isExternal
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140068caa
call fcn.1400543e0
test rax, rax
je 0x140068caa
call fcn.1400543e0
mov rdx, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x40]
mov rcx, rdx
call qword [case.0x1400309a4.0]
mov rdx, rax
test rax, rax
je 0x140068a94
mov rcx, qword [rax]
mov rax, qword [rcx + 8]
mov rcx, rdx
call qword [case.0x1400309a4.0]
cmp rax, qword [r13 - 0x18]
jne 0x140068a94
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
cmp dword [r14 + 0x10], esi
je 0x1400697f7
mov rcx, qword [r14 + 8]
cmp dword [rcx], 5
jne 0x1400697f7
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140068afe
add rbx, 8
jmp 0x140068b05
lea rbx, [0x1401fb7e8]
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
mov rax, qword [rbp]
test rax, rax
je 0x140068b51
mov ecx, dword [rax]
sub ecx, 1
mov rax, qword [rbp]
mov dword [rax], ecx
jne 0x140068b51
mov rax, qword [rbp]
mov ecx, dword [rax + 4]
add rcx, rcx
lea rdi, [rax + 8]
xor eax, eax
rep stosb byte [rdi], al
mov rcx, qword [rbp]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbp], rsi
mov edx, 0x2e
lea rcx, [rbp + 0xe0]
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x140068b72
mov word [rax], si
add rbx, 2
call fcn.1400543e0
test rax, rax
je 0x1400697f7
call fcn.1400543e0
mov rdi, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x20]
lea rdx, [rbp + 0xe0]
mov rcx, rdi
call qword [case.0x1400309a4.0]
mov r12, rax
test rax, rax
je 0x1400697f7
mov rcx, qword [r14]
test rcx, rcx
je 0x140068c2d
lea rdx, str.createDataSource
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140068c2d
mov rax, qword [r12]
mov rcx, r12
mov rax, qword [rax + 0x40]
call qword [case.0x1400309a4.0]
mov r15, rax
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test r15, r15
je 0x140068bfe
mov rdi, 0xffffffffffffffff
inc rdi
cmp word [r15 + rdi*2], 0
jne 0x140068bf1
jmp 0x140068c00
mov edi, esi
xor r9d, r9d
mov r8d, edi
mov rdx, r15
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov rcx, qword [r14]
test rcx, rcx
je 0x1400697f7
lea rdx, str.destroyDataSource
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400697f7
test rbx, rbx
je 0x1400697f7
mov rax, qword [r12]
mov rdx, rbx
mov rcx, r12
mov rax, qword [rax + 0x48]
call qword [case.0x1400309a4.0]
movzx edi, al
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
test dil, dil
setne sil
xor r9d, r9d
lea r8d, [r9 + 2]
mov edx, esi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp + 0x30]
jmp 0x1400697f1
mov rdi, qword [r14]
test rdi, rdi
je 0x1400697f7
mov rcx, rsi
lea rdx, str.isDebug
mov ebx, 8
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140068d14
cmp rcx, rbx
jne 0x140068cd0
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rdx, str.formatNumberDynamic
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140068e75
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], si
mov rcx, qword [r14 + 8]
call fcn.1400606b0
movaps xmm6, xmm0
mov rcx, qword [r14 + 8]
add rcx, 0x10
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov edi, esi
test eax, eax
cmove edi, dword [rbp]
mov rcx, qword [r14 + 8]
add rcx, 0x20
lea rdx, [rbp + 0x60]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov r9d, 1
test eax, eax
cmove r9d, dword [rbp + 0x60]
lea rax, vtable.eset::CStringImp.0
mov qword [rbp + 0x10], rax
lea rax, [rbp + 0x40]
mov qword [rbp + 0x18], rax
cvttsd2si rdx, xmm6
mov r8d, edi
lea rcx, [rbp + 0x10]
call fcn.140080bc0
lea rbx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rbx, qword [rbp + 0x40]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test rbx, rbx
je 0x140068dec
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140068de0
jmp 0x140068dee
mov edi, esi
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x140068e5f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140068e5a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140068e5a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140027f70
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], si
jmp 0x1400697f7
lea rdx, str.formatNumber
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400690d6
mov rcx, qword [r14 + 8]
mov eax, dword [rcx]
cmp eax, 4
jne 0x140068fa6
mov rdi, 0xffffffffffffffff
mov ebx, edi
cmp dword [r14 + 0x10], 2
jb 0x140068ec1
add rcx, 0x10
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov ebx, esi
test eax, eax
cmove ebx, dword [rbp]
xorps xmm1, xmm1
mov rcx, qword [r14 + 8]
call fcn.1400606b0
xorps xmm1, xmm1
movups xmmword [rbp + 0x10], xmm1
xorps xmm2, xmm2
movdqu xmmword [rbp + 0x20], xmm2
movdqa xmm1, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x20], xmm1
mov word [rbp + 0x10], si
mov r8d, ebx
movaps xmm1, xmm0
lea rcx, [rbp + 0x10]
call fcn.1400810b0
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rbx, qword [rbp + 0x10]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test rbx, rbx
je 0x140068f2c
nop dword [rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140068f20
jmp 0x140068f2e
mov edi, esi
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400670cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400670ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400670ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
cmp eax, 3
jne 0x140068fbf
lea rdx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntData]
mov edi, esi
test eax, eax
cmove edi, dword [rbp]
jmp 0x140068ff9
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140068fde
add rbx, 8
jmp 0x140068fe5
lea rbx, [0x1401fb7e8]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__wtoi]
mov edi, eax
lea rcx, [rbp]
call fcn.14004b3a0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
movdqa xmm0, xmmword [0x1401b4e20]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], si
mov edx, edi
lea rcx, [rbp + 0x10]
call fcn.140080fa0
lea rbx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rbx, qword [rbp + 0x10]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
test rbx, rbx
je 0x14006905c
mov rdi, 0xffffffffffffffff
nop dword [rax + rax]
inc rdi
cmp word [rbx + rdi*2], 0
jne 0x140069050
jmp 0x14006905e
mov edi, esi
xor r9d, r9d
mov r8d, edi
mov rdx, rbx
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x1400670cf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400670ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400670ca
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rdx, str.resizeToContent
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400691bd
lea rdx, [rbp]
cmp byte [r13 + 0x26], sil
jne 0x140069115
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rbp - 0x10]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r13 - 0x18]
jmp 0x14006913d
mov rcx, qword [r13 + 0x40]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [r13 + 0x40]
lea rdx, [rbp - 0x10]
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetClientRect]
mov rcx, qword [r13 + 0x40]
mov rcx, qword [rcx + 8]
mov edi, dword [rbp - 8]
mov edx, edi
call qword [sym.imp.sciter_x.dll_SciterGetMinHeight]
add eax, dword [rbp + 4]
mov dword [rbp + 0xc], eax
mov ecx, dword [rbp]
add ecx, edi
mov dword [rbp + 8], ecx
mov edx, 0xffffffec
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
mov edx, 0xfffffff0
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov r9d, edi
xor r8d, r8d
mov edx, eax
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [rbp + 0xc]
mov r9d, dword [rbp + 4]
sub ecx, r9d
mov eax, dword [rbp + 8]
mov r8d, dword [rbp]
sub eax, r8d
mov dword [rsp + 0x30], socket
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400697f7
lea rdx, str.fitToScreen
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006928f
lea edx, [rax + 2]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_MonitorFromWindow]
test rax, rax
je 0x1400697f7
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rbp + 0x90], rcx
mov dword [rbp + 0x70], 0x28
lea rdx, [rbp + 0x70]
mov rcx, rax
call qword [0x1401f2038]
lea rdx, [rbp - 0x10]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, esi
mov edx, esi
mov r9d, dword [rbp - 0xc]
mov eax, dword [rbp + 0x88]
cmp r9d, eax
jge 0x14006923b
mov ecx, eax
sub ecx, r9d
mov edi, dword [rbp - 4]
mov eax, dword [rbp + 0x90]
cmp edi, eax
jle 0x14006924c
mov edx, edi
sub edx, eax
test ecx, ecx
jne 0x140069258
test edx, edx
je 0x1400697f7
mov eax, ecx
sub eax, edx
add r9d, eax
mov dword [rbp - 0xc], r9d
sub ecx, edx
add edi, ecx
mov dword [rbp - 4], edi
mov dword [rsp + 0x30], reloc.WS2_32.dll_setsockopt
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov r8d, dword [rbp - 0x10]
xor edx, edx
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x1400697f7
mov rcx, rsi
lea rdx, str.Close
nop dword [rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400692e9
cmp rcx, 6
jne 0x1400692a0
lea edx, [rcx - 0x16]
mov rcx, qword [r13 - 0x18]
call qword [sym.imp.USER32.dll_GetWindowLongW]
shr eax, 0x1e
test al, 1
mov rcx, qword [r13 - 0x18]
je 0x1400692d4
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
call qword [0x1401f2048]
jmp 0x1400697f7
lea rdx, str.notifyWinEvent
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140069329
call qword [sym.imp.KERNEL32.dll_GetTickCount]
and eax, 0xffffff
or eax, 0x9f000000
mov r9d, eax
mov r8d, 0xfffffffc
mov rdx, qword [r13 - 0x18]
mov ecx, 0x8005
call qword [sym.imp.USER32.dll_NotifyWinEvent]
jmp 0x1400697f7
lea rdx, str.getWindowStyle
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140069515
mov edi, dword [r13 + 0x30]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
shr edi, 9
not edi
and edi, 1
xor r9d, r9d
mov r15d, 2
mov r8d, r15d
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rsi, [r14 + 0x18]
lea rdx, [0x1401aaaf8]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
mov ebx, 0x200
mov dword [rsp + 0x40], ebx
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
btr ebx, 9
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov edi, dword [r13 + 0x30]
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueInit]
shr edi, 0xa
not edi
and edi, 1
xor r9d, r9d
mov r8d, r15d
mov edx, edi
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, [0x1401aaafc]
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
bts ebx, 0xa
mov dword [rsp + 0x40], ebx
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
btr ebx, 0xa
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov edi, dword [r13 + 0x30]
lea rcx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueInit]
shr edi, 0xb
not edi
and edi, 1
xor r9d, r9d
mov r8d, r15d
mov edx, edi
lea rcx, [rbp]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rdx, str.close
lea rcx, [rbp + 0x10]
call fcn.140042b40
nop
mov qword [rbp + 0x40], rsi
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
bts ebx, 0xb
mov dword [rsp + 0x40], ebx
lea r8, [rbp]
lea rdx, [rbp + 0x48]
mov rcx, qword [rbp + 0x40]
call qword [sym.imp.sciter_x.dll_ValueSetValueToKey]
btr ebx, 0xb
mov dword [rsp + 0x40], ebx
lea rcx, [rbp + 0x48]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp + 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
nop
lea rcx, [rbp]
jmp 0x1400697f1
lea rdx, str.getNextRpcId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140069586
mov ecx, 1
mov eax, ecx
lock xadd dword [0x1401fbca0], eax
inc eax
cmp eax, 0x7fffffff
jae 0x140069547
mov ecx, dword [0x1401fbca0]
nop
xchg dword [0x1401fbca0], ecx
mov edi, dword [0x1401fbca0]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
xor r9d, r9d
lea r8d, [r9 + 3]
mov edx, edi
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueIntDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
jmp 0x1400697ed
lea rdx, str.closeCallback
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400695ad
xor edx, edx
mov rcx, qword [r14 + 8]
call fcn.1400559f0
mov byte [r13 + 0x23], al
jmp 0x1400697f7
lea rdx, str.endDialog
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400695d4
xor edx, edx
mov rcx, qword [r14 + 8]
call fcn.140060680
mov dword [r13 + 0x34], eax
jmp 0x1400697f7
lea rdx, str.notifyDemeter
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006963c
mov rdi, qword [0x1401fbca8]
test rdi, rdi
je 0x1400697f7
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x14006961a
add rbx, 8
jmp 0x140069621
lea rbx, [0x1401fb7e8]
mov rcx, rbx
mov rax, rdi
call qword [case.0x1400309a4.0]
nop
lea rcx, [rbp]
call fcn.14004b3a0
jmp 0x1400697f7
mov rcx, rsi
lea rdx, str.shadow
nop word [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x140069698
cmp rcx, 7
jne 0x140069650
lea rcx, [r13 - 0x20]
call fcn.1400666e0
cmp dword [r14 + 0x10], 1
jb 0x1400697f7
xor edx, edx
mov rcx, qword [r14 + 8]
call fcn.1400559f0
test al, al
je 0x1400697f7
lea rcx, [r13 - 0x20]
call fcn.140066650
jmp 0x1400697f7
mov rcx, rsi
lea rdx, str.crash
movzx eax, byte [rdi + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x1400696bc
cmp rcx, 6
jne 0x1400696a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rdx, str.setSciterId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140069713
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x1400696f2
add rbx, 8
jmp 0x1400696f9
lea rbx, [0x1401fb7e8]
lea rcx, [rbp]
call fcn.14004b3a0
lea rcx, [r13 - 0x20]
mov rdx, rbx
call fcn.140069830
jmp 0x1400697f7
lea rdx, str.setChildSciterId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x14006976a
lea r8, [0x1401a3ce0]
lea rdx, [rbp]
mov rcx, qword [r14 + 8]
call fcn.1400542c0
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140069749
add rbx, 8
jmp 0x140069750
lea rbx, [0x1401fb7e8]
lea rcx, [rbp]
call fcn.14004b3a0
lea rcx, [r13 - 0x20]
mov rdx, rbx
call fcn.140069860
jmp 0x1400697f7
lea rdx, str.getSciterId
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x1400697f7
mov word [rbp + 8], si
movsx eax, byte [r13 + 0x38]
mov word [rbp], ax
movsx eax, byte [r13 + 0x39]
mov word [rbp + 2], ax
movsx eax, byte [r13 + 0x3a]
mov word [rbp + 4], ax
movsx eax, byte [r13 + 0x3b]
mov word [rbp + 6], ax
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueInit]
lea rax, [rbp]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp word [rax + rdi*2], si
jne 0x1400697c0
mov r8, rdi
xor r9d, r9d
lea rdx, [rbp]
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueStringDataSet]
nop
lea rcx, [r14 + 0x18]
lea rdx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueCopy]
nop
lea rcx, [rbp - 0x10]
call qword [sym.imp.sciter_x.dll_ValueClear]
mov al, 1
mov rcx, qword [rbp + 0x2f0]
xor rcx, rsp
call fcn.140160900
mov rbx, qword [rsp + 0x468]
movaps xmm6, xmmword [rsp + 0x400]
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret