Function at 0x14008bf30
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
lea rbp, [rsp - 0x148]
sub rsp, 0x248
mov rax, rdx
mov r12, r9
mov rdi, r8
mov rsi, rcx
mov qword [rsp + 0x20], r8
lea rdx, [rbp + 0x188]
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call fcn.14008adb0
mov r13, qword [rbp + 0x188]
mov rcx, r13
mov rbx, rax
mov qword [rsp + 0x30], rax
call fcn.14008a630
mov dword [rsp + 0x50], eax
test eax, eax
jne 0x14008bfb0
mov dl, 1
mov rcx, rsi
call fcn.14003ef50
add rsp, 0x248
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
test rbx, rbx
je 0x14008bf96
mov rdx, rdi
mov rcx, rbx
call fcn.14009a5f0
mov dword [rsp + 0x38], eax
cmp eax, dword [rbx + 0x20]
jae 0x14008bf96
mov rdi, qword [0x140118280]
mov eax, eax
mov qword [rsp + 0x290], r14
lea rcx, [rax + rax*4]
mov rax, qword [rbx + 0x28]
xor ebx, ebx
lea rsi, [rax + rcx*8]
movzx eax, byte [rdi + 0x23]
mov qword [rsp + 0x240], r15
mov qword [rbp - 0x78], rsi
mov edx, 4
test al, al
jne 0x14008c022
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400e24fc]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.1400b04d0
jmp 0x14008c263
lea r15, [0x1400e24fc]
cmp qword [rdi + 8], r15
jne 0x14008c038
mov r14, qword [rdi + 0x10]
shr r14, 1
jmp 0x14008c03e
mov r14d, 1
lea rcx, [r14 + 1]
lea r13, [rcx + rcx]
cmp al, 2
jne 0x14008c05a
mov rdx, r14
mov rcx, r15
call fcn.140006120
jmp 0x14008c25c
mov r8, qword [0x140112460]
cmp r13, r8
jbe 0x14008c08b
cmp r13, qword [rdi + 0x18]
jbe 0x14008c08b
lea r8, [0x1400e245c]
lea rdx, str.Memory_limit_reached__see_MaxMem_in_the_help_file_.
lea rcx, [0x140119150]
call fcn.1400404f0
jmp 0x14008c25c
cmp rcx, 2
jae 0x14008c0a1
xor r8d, r8d
mov rcx, rdi
call fcn.1400b0b80
jmp 0x14008c25c
movzx eax, byte [rdi + 0x21]
test al, 2
je 0x14008c0be
mov rcx, qword [rdi]
and al, 0x3d
mov byte [rdi + 0x21], al
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov r8, qword [0x140112460]
mov rcx, qword [rdi + 0x18]
and byte [rdi + 0x21], 0x82
cmp r13, rcx
jbe 0x14008c237
movzx r9d, byte [rdi + 0x20]
movzx eax, r9b
cmp r9b, 1
jbe 0x14008c0f1
cmp al, 2
je 0x14008c12e
mov rbx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x58]
jmp 0x14008c229
mov ebx, 0x80
cmp r13, rbx
ja 0x14008c12e
cmp r13, 8
ja 0x14008c108
mov ebx, 8
jmp 0x14008c114
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
cmp r13, rax
cmovbe rbx, rax
mov rcx, rbx
call fcn.1400a9650
test rax, rax
je 0x14008c25c
mov byte [rdi + 0x20], 1
jmp 0x14008c229
cmp r13, 0x20
jae 0x14008c13e
mov ebx, SafeArrayAllocDescriptor
jmp 0x14008c1e8
mov ebx, 0x208
cmp r13, rbx
jb 0x14008c1e8
cmp r13, 0x50000
jae 0x14008c1a4
pxor xmm0, xmm0
cvtsi2sd xmm0, r13
test r13, r13
jns 0x14008c16b
addsd xmm0, qword [0x140100da8]
mulsd xmm0, qword [0x140100de0]
movsd xmm1, qword [0x140100dd8]
xor eax, eax
comisd xmm0, xmm1
jbe 0x14008c19a
subsd xmm0, xmm1
comisd xmm0, xmm1
jae 0x14008c19a
movabs rdx, 0x8000000000000000
mov rax, rdx
cvttsd2si rbx, xmm0
add rbx, rax
jmp 0x14008c1e8
cmp r13, 0x320000
jae 0x14008c1b6
lea rbx, [r13 + 0x8000]
jmp 0x14008c1e8
cmp r13, 0xc80000
jae 0x14008c1e1
movabs rax, 0x47ae147ae147ae15
mov rbx, r13
mul r13
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 6
add rbx, r13
jmp 0x14008c1e8
lea rbx, [r13 + 0x20000]
cmp rbx, r8
cmova rbx, r8
cmp r9b, 2
jne 0x14008c208
test rcx, rcx
je 0x14008c208
mov rcx, qword [rdi + 8]
mov r13b, 1
call fcn.1400ca390
jmp 0x14008c20b
xor r13b, r13b
test rbx, rbx
js 0x14008c2b5
mov rcx, rbx
call fcn.1400c98f4
test rax, rax
je 0x14008c2b5
mov byte [rdi + 0x20], 2
and byte [rdi + 0x21], 0x7f
mov qword [rdi + 0x18], rbx
mov qword [rdi + 8], rax
xor ebx, ebx
mov rcx, qword [rdi + 8]
cmp rcx, r15
je 0x14008c24c
lea r8, [r14 + r14]
mov rdx, r15
call fcn.1400ca550
mov rax, qword [rdi + 8]
lea rcx, [r14 + r14]
mov word [rcx + rax], bx
mov qword [rdi + 0x10], rcx
mov r13, qword [rbp + 0x188]
mov rax, qword [0x140119070]
mov r15d, dword [rsp + 0x50]
xor edi, edi
mov qword [rbp - 0x80], rax
mov rax, qword [0x140119078]
xor r14b, r14b
mov qword [rsp + 0x58], rax
lea eax, [r15 - 1]
mov qword [0x140119070], rdi
mov qword [0x140119078], rdi
cmp eax, 0xc
ja case.default.0x14008c2b3
lea r8, [0x140000000]
cdqe
mov eax, dword [r8 + rax*4 + 0x8d434]
add rax, r8
jmp rax
test r13b, r13b
je 0x14008c2cf
lea rax, [0x140119108]
mov qword [rdi + 0x18], 0
mov qword [rdi + 8], rax
jmp 0x14008c2d8
mov rax, qword [rdi + 8]
xor ecx, ecx
mov word [rax], cx
lea r8, [0x1400e245c]
lea rdx, [0x1400e5580]
lea rcx, [0x140119150]
mov qword [rdi + 0x10], 0
call fcn.1400404f0
jmp 0x14008c25c
lea rcx, [rbp - 0x70]
xor edx, edx
mov r8d, 0x1b0
call fcn.1400d0130
cmp byte [rsi + 8], 0xa
jne 0x14008c339
mov rcx, qword [rsi]
test rcx, rcx
je 0x14008c332
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1037
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rbp - 0x60], eax
mov dword [rbp - 0x5c], 0xffffffff
mov rax, qword [rbp + 0x1a0]
mov ebx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x70]
mov r9, rsi
mov rdx, r13
mov dword [rsp + 0x20], ebx
mov dword [rbp - 0x3c], 0x80000000
mov dword [rbp - 0x40], 0x80000000
mov dword [rbp - 0x44], 0x80000000
mov dword [rbp - 0x48], 0x80000000
mov qword [rbp], 0xffffffffff000000
call fcn.140094040
mov esi, eax
jmp 0x14008c665
movzx edx, byte [rsi + 8]
lea eax, [rdx - 1]
cmp eax, 0x18
ja case.0x14008c3a9.7
cdqe
mov ecx, dword [r8 + rax*4 + 0x8d468]
add rcx, r8
jmp rcx
movzx r14d, byte [rsi + 9]
shr r14b, 6
and r14b, 1
jmp case.0x14008c3a9.4
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetClientRect]
mov r13d, dword [rsp + 0x48]
mov r14d, dword [rsp + 0x4c]
sub r13d, dword [rsp + 0x40]
sub r14d, dword [rsp + 0x44]
mov r15d, edi
mov rbx, r12
movzx eax, word [rbx]
cmp ax, 0x20
je 0x14008c3f4
cmp ax, 9
jne 0x14008c3fa
add rbx, 2
jmp 0x14008c3e5
cmp word [rbx], 0x2a
jne 0x14008c4d2
xor esi, esi
nop word [rax + rax]
lea rdx, [0x1400e56d0]
mov rcx, rbx
call fcn.14000c5c0
mov r12, rax
test rax, rax
jne 0x14008c439
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r12, [rbx + rcx*2 - 2]
movzx edi, word [r12]
lea rdx, [0x1400ec2e0]
lea rcx, [rbx + 2]
mov r8d, 4
mov word [r12], si
call fcn.1400c9ac4
test eax, eax
jne 0x14008c46b
lea rcx, [rbx + 0xa]
call fcn.1400149c0
mov r15d, eax
jmp 0x14008c49b
movzx ecx, word [rbx + 2]
call fcn.14000c590
movzx edx, ax
cmp edx, 0x48
je 0x14008c48f
cmp edx, 0x57
jne 0x14008c49b
lea rcx, [rbx + 4]
call fcn.1400149c0
mov r13d, eax
jmp 0x14008c49b
lea rcx, [rbx + 4]
call fcn.1400149c0
mov r14d, eax
mov word [r12], di
mov rbx, r12
movzx ecx, word [rbx]
cmp cx, 0x20
je 0x14008c4b2
cmp cx, 9
jne 0x14008c4b8
add rbx, 2
jmp 0x14008c4a3
cmp word [rbx], 0x2a
je 0x14008c410
cmp word [r12], 0
mov rsi, qword [rbp - 0x78]
je 0x14008c4d2
add r12, 2
mov r9d, r14d
mov r8d, r13d
mov rdx, r12
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call fcn.140096e10
test eax, eax
je 0x14008cd96
mov r14b, 1
jmp case.0x14008c3a9.4
cmp r15d, 2
jne case.0x14008c3a9.4
mov rdi, r12
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008c514
cmp ax, 9
jne 0x14008c51a
add rdi, 2
jmp 0x14008c505
movzx eax, word [rdi]
test ax, ax
je case.0x14008c3a9.4
cmp ax, 0x2d
je 0x14008c532
cmp ax, 0x2b
jne 0x14008c536
add rdi, 2
cmp word [rdi], 0x30
jne 0x14008c567
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x14008c54c
cmp ax, 0x58
jne 0x14008c567
movzx ecx, word [rdi + 4]
call fcn.1400cb0d4
test eax, eax
je 0x14008c567
add rdi, 4
mov eax, 1
xor r15d, r15d
jmp 0x14008c56d
xor r15d, r15d
mov eax, r15d
movzx ebx, word [rdi]
mov ecx, r15d
movsxd r13, eax
cmp ebx, 0x20
je 0x14008c5d2
nop dword [rax + rax]
cmp ebx, 9
je 0x14008c5d2
test ebx, ebx
je 0x14008c5f1
cmp ebx, 0x2e
je case.0x14008c3a9.4
test r13, r13
je 0x14008c5b8
movzx ecx, bx
call fcn.1400cb644
mov ecx, r15d
test eax, eax
sete cl
test ecx, ecx
je 0x14008c5c0
movzx ecx, bx
call fcn.14000c590
jmp case.0x14008c3a9.4
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x14008c5ab
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x14008c580
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008c5e1
cmp ax, 9
jne 0x14008c5e7
add rdi, 2
jmp 0x14008c5d2
cmp word [rdi], 0
jne case.0x14008c3a9.4
test ecx, ecx
je case.0x14008c3a9.4
mov rcx, r12
call fcn.1400149c0
movsxd rdi, eax
test eax, eax
je 0x14008c624
cmp rdi, 1
je 0x14008c624
cmp byte [rsi + 8], 5
jne case.0x14008c3a9.4
cmp rdi, 0xffffffffffffffff
jne case.0x14008c3a9.4
jmp 0x14008c62a
cmp rdi, 0xffffffffffffffff
jne 0x14008c62f
mov edi, 2
cmp byte [rsi + 8], 6
jne 0x14008c64c
mov r8d, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
mov r9, rdi
mov rdx, rsi
call fcn.14009cdd0
jmp case.0x14008c3a9.10
xor r9d, r9d
mov r8, rdi
mov edx, 0xf1
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov esi, 1
mov rdi, qword [rbp - 0x80]
mov r15, qword [rsp + 0x240]
mov r14, qword [rsp + 0x290]
test rdi, rdi
je 0x14008c6b5
mov rcx, qword [0x140119070]
test rcx, rcx
je 0x14008c6a2
call fcn.1400ca390
cmp qword [0x140119078], 0x400000
jbe 0x14008c6a2
dec dword [0x140119080]
mov rax, qword [rsp + 0x58]
mov qword [0x140119070], rdi
mov qword [0x140119078], rax
mov eax, esi
add rsp, 0x248
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
cmp word [r12], di
je 0x14008c6ed
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 4
je 0x14008c6ed
mov rcx, r12
call fcn.1400ad2d0
mov rdi, rax
jmp 0x14008c6f0
mov rdi, r12
mov rcx, qword [rsi]
mov rdx, r12
test rdi, rdi
cmovne rdx, rdi
call qword [sym.imp.USER32.dll_SetWindowTextW]
test rdi, rdi
je case.0x14008c3a9.10
cmp rdi, r12
je case.0x14008c3a9.10
mov rcx, rdi
call fcn.1400ca390
jmp case.0x14008c3a9.10
cmp r15d, 2
jne 0x14008c76e
cmp word [r12], di
je 0x14008c759
lea rdx, [rsp + 0x60]
mov r8b, 1
mov rcx, r12
call fcn.1400abef0
test eax, eax
je case.0x14008c3a9.10
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x1002
jmp 0x14008c657
lea r9, [rsp + 0x60]
mov edx, 0x1002
mov r8d, 1
jmp 0x14008c657
mov rcx, qword [rsi]
mov edx, 0xfffffff0
xor bl, bl
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edi, eax
and edi, 0xfffffff2
cmp word [r12], 0
je 0x14008c7a1
lea rdx, [0x1400ed1d8]
mov rcx, r12
call fcn.1400c986c
test eax, eax
jne 0x14008c7cb
or edi, 4
mov rcx, qword [rsi]
mov r8d, edi
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_SetWindowLongW]
test bl, bl
mov r9d, 0
mov edx, 0x1032
cmovne r9, r12
xor r8d, r8d
jmp 0x14008c657
lea rdx, [0x1400e75c0]
mov rcx, r12
call fcn.1400c986c
test eax, eax
jne 0x14008c7e3
or edi, 9
jmp 0x14008c7a1
mov bl, 1
jmp 0x14008c7b2
cmp word [r12], di
je case.0x14008c3a9.10
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400abe20
mov edi, eax
test eax, eax
je case.0x14008c3a9.4
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test al, 2
je 0x14008c88b
cmp edi, 1
jne 0x14008c834
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x1006
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [rsi + 0xa]
mov rcx, qword [rsp + 0x30]
call fcn.14009d890
test rax, rax
je case.0x14008c3a9.10
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x14008c3a9.10
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, 2
jmp 0x14008cd52
lea r9, [rsp + 0x60]
xor r8d, r8d
mov edx, 0x1002
jmp 0x14008c841
mov rcx, r12
call fcn.14009cc30
xor r9d, r9d
mov edx, 0x401
movzx r8d, ax
jmp 0x14008c657
cmp word [r12], 0x2b
jne 0x14008c8f7
lea rcx, [r12 + 2]
call fcn.1400149c0
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
test byte [rsi + 9], 0x80
mov edi, eax
je 0x14008c8e5
mov edx, 0x472
call qword [sym.imp.USER32.dll_SendMessageW]
add edi, eax
jmp 0x14008c901
mov edx, 0x468
call qword [sym.imp.USER32.dll_SendMessageW]
movsx ecx, ax
add edi, ecx
jmp 0x14008c901
mov rcx, r12
call fcn.1400149c0
mov edi, eax
test byte [rsi + 9], 0x80
mov edx, 0x467
mov eax, 0x471
cmovne edx, eax
xor r8d, r8d
movsxd r9, edi
jmp 0x14008c657
cmp word [r12], 0x2b
jne 0x14008c963
lea rcx, [r12 + 2]
call fcn.1400149c0
test byte [rsi + 9], 0x80
mov edi, eax
je 0x14008c939
neg edi
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
call qword [sym.imp.USER32.dll_SendMessageW]
movsxd r9, edi
mov edx, 0x405
add r9, rax
mov r8d, 1
jmp 0x14008c657
mov rcx, r12
call fcn.1400149c0
mov rcx, rsi
mov edx, eax
call fcn.14009cf90
mov edx, 0x405
mov r8d, 1
movsxd r9, eax
jmp 0x14008c657
cmp word [r12], 0x2b
jne 0x14008c9aa
lea rcx, [r12 + 2]
call fcn.1400149c0
xor r9d, r9d
mov edx, 0x403
movsxd r8, eax
jmp 0x14008c657
mov rcx, r12
call fcn.1400149c0
xor r9d, r9d
mov edx, 0x402
movsxd r8, eax
jmp 0x14008c657
mov rcx, qword [rsi]
mov rdx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp case.0x14008c3a9.10
cmp dl, 8
jne 0x14008ca0d
cmp r15d, 3
jne 0x14008ca0d
mov rcx, qword [rsi]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov edx, 0x14e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
mov rdx, r12
call qword [sym.imp.USER32.dll_SetWindowTextW]
test r14b, r14b
jne 0x14008c872
jmp case.0x14008c3a9.10
mov rdi, qword [rsp + 0x30]
movzx eax, word [rdi + 0x6e]
cmp word [r12], ax
jne 0x14008ca4e
add r12, 2
movzx eax, dl
cmp dl, 9
je 0x14008ca3a
mov edx, 0x1309
mov ecx, 0x14b
cmp al, 0x13
cmovne edx, ecx
jmp 0x14008ca3f
mov edx, 0x184
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
mov r8, r12
mov rdx, rsi
mov rcx, rdi
call fcn.140096b50
cmp byte [rsi + 8], 0x13
jne case.0x14008c3a9.10
mov rdx, qword [rsi]
mov rcx, rdi
call fcn.14009e170
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call fcn.14009d500
jmp case.0x14008c3a9.10
cmp word [r12], 0
mov edi, 0x80000000
mov ebx, edi
mov r13d, ebx
mov r14d, ebx
je 0x14008cba7
mov r15, qword [rsp + 0x30]
add r12, 2
nop dword [rax]
movzx ecx, word [r12 - 2]
call fcn.14000c590
movzx edx, ax
sub edx, 0x48
je 0x14008cb65
sub edx, 0xf
je 0x14008cb37
dec edx
je 0x14008cb0b
dec edx
jne 0x14008cb91
mov rcx, r12
call fcn.1400caddc
cmp byte [r15 + 0x108], 0
mov ebx, eax
je 0x14008cb91
mov edx, dword [0x14011912c]
mov r8d, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov ebx, eax
jmp 0x14008cb91
mov rcx, r12
call fcn.1400caddc
cmp byte [r15 + 0x108], 0
mov edi, eax
je 0x14008cb91
mov edx, dword [0x14011912c]
mov r8d, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov edi, eax
jmp 0x14008cb91
mov rcx, r12
call fcn.1400caddc
cmp byte [r15 + 0x108], 0
mov r13d, eax
je 0x14008cb91
mov edx, dword [0x14011912c]
mov r8d, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r13d, eax
jmp 0x14008cb91
mov rcx, r12
call fcn.1400caddc
cmp byte [r15 + 0x108], 0
mov r14d, eax
je 0x14008cb91
mov edx, dword [0x14011912c]
mov r8d, 0x60
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_MulDiv]
mov r14d, eax
add r12, 2
cmp word [r12 - 2], 0
jne 0x14008cab0
mov r15d, dword [rsp + 0x50]
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rsp + 0x40]
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsi]
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], eax
call qword [sym.imp.USER32.dll_GetParent]
lea rdx, [rsp + 0x38]
mov rcx, rax
call qword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
cmp edi, 0x80000000
cmovne edx, edi
cmp ebx, 0x80000000
cmovne r8d, ebx
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
cmp r14d, 0x80000000
jne 0x14008cc14
mov eax, dword [rsp + 0x4c]
sub eax, dword [rsp + 0x44]
jmp 0x14008cc17
mov eax, r14d
cmp r13d, 0x80000000
jne 0x14008cc2c
mov r9d, dword [rsp + 0x48]
sub r9d, dword [rsp + 0x40]
jmp 0x14008cc2f
mov r9d, r13d
mov rcx, qword [rsi]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_MoveWindow]
test eax, eax
je 0x14008cd96
movzx eax, byte [rsi + 8]
mov edi, 2
cmp al, 0x11
jne 0x14008cce1
mov rcx, qword [rsi]
mov r13d, 1
xor r9d, r9d
mov r8d, r13d
mov edx, 0x421
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x421
mov r12, rax
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test r12, r12
je 0x14008ccb8
mov rcx, qword [rsi]
mov r9, r12
mov r8d, r13d
mov edx, 0x420
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, r13d
xor edx, edx
mov rcx, r12
call qword [sym.imp.USER32.dll_InvalidateRect]
test rbx, rbx
je 0x14008cd37
mov rcx, qword [rsi]
mov r9, rbx
xor r8d, r8d
mov edx, 0x420
call qword [sym.imp.USER32.dll_SendMessageW]
mov r8d, r13d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14008cd37
cmp al, 0x13
jne 0x14008cd37
mov rcx, qword [rsi]
mov eax, 0
cmp r14d, 0x80000000
mov ebx, edi
lea rdx, [0x1400ff260]
cmove ebx, eax
cmp r13d, 0x80000000
setne al
or ebx, eax
call qword [sym.imp.USER32.dll_GetPropW]
test ebx, eax
je 0x14008cd37
mov rcx, qword [rsi]
not ebx
lea rdx, [0x1400ff260]
and eax, ebx
je 0x14008cd31
movsxd r8, eax
call qword [sym.imp.USER32.dll_SetPropW]
jmp 0x14008cd37
call qword [sym.imp.USER32.dll_RemovePropW]
cmp r15d, 5
jne case.0x14008c3a9.10
mov rcx, qword [rsi]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r9d, edi
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
xor ecx, ecx
mov rdx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rcx, qword [rdi + 8]
mov esi, 1
lea rdx, [rsp + 0x40]
mov r8d, esi
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x14008c665
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SetFocus]
test rax, rax
jne case.0x14008c3a9.10
mov rcx, qword [rbp + 0x180]
mov dl, 1
call fcn.14003ef50
mov esi, eax
jmp 0x14008c665
cmp r15d, 7
jne 0x14008cdb7
and byte [rsi + 9], 0xef
jmp 0x14008cdbb
or byte [rsi + 9], 0x10
mov rbx, qword [rsp + 0x30]
movzx edx, byte [rsi + 0xa]
mov rcx, rbx
call fcn.14009d890
mov rdi, rax
test rax, rax
je 0x14008ce11
mov rcx, qword [rax]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1b
jb case.0x14008c3a9.10
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rsi + 0xb]
cmp eax, ecx
je 0x14008ce11
cmp eax, 0xffffffff
jne case.0x14008c3a9.10
call qword [sym.imp.USER32.dll_GetForegroundWindow]
cmp rax, qword [rbx + 8]
jne 0x14008ce2d
call qword [sym.imp.USER32.dll_GetFocus]
cmp rax, qword [rsi]
jne 0x14008ce2d
mov dil, 1
jmp 0x14008ce30
xor dil, dil
mov rcx, qword [rsi]
mov eax, 0
cmp r15d, 7
sete al
mov edx, eax
call qword [sym.imp.USER32.dll_EnableWindow]
test dil, dil
je 0x14008ce61
call qword [sym.imp.USER32.dll_GetFocus]
test rax, rax
jne 0x14008ce61
mov rcx, qword [rbx + 8]
call qword [sym.imp.USER32.dll_SetFocus]
cmp byte [rsi + 8], 0x13
jne case.0x14008c3a9.10
xor r8d, r8d
mov rcx, rbx
mov rdx, rsi
call fcn.14009d500
jmp case.0x14008c3a9.10
cmp r15d, 9
jne 0x14008ce8a
and byte [rsi + 9], 0xf7
jmp 0x14008ce8e
or byte [rsi + 9], 8
mov rbx, qword [rsp + 0x30]
movzx edx, byte [rsi + 0xa]
mov rcx, rbx
call fcn.14009d890
mov rdi, rax
test rax, rax
je 0x14008cee4
mov rcx, qword [rax]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 0x1c
jae case.0x14008c3a9.10
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
movzx ecx, byte [rsi + 0xb]
cmp eax, ecx
je 0x14008cee4
cmp eax, 0xffffffff
jne case.0x14008c3a9.10
cmp r15d, 9
mov edx, 0
mov ecx, 4
cmove edx, ecx
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_ShowWindow]
jmp 0x14008ce61
mov r13, qword [rsp + 0x30]
mov r14d, edi
movzx eax, word [r13 + 0x6e]
cmp word [r12], ax
jne 0x14008cf21
add r12, 2
mov r14d, 1
cmp byte [rsi + 8], 0x13
jne 0x14008d111
cmp r15d, 0xb
jne 0x14008d0c6
mov rdi, r12
nop dword [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008cf4f
cmp ax, 9
jne 0x14008cf55
add rdi, 2
jmp 0x14008cf40
movzx eax, word [rdi]
test ax, ax
je 0x14008cfea
cmp ax, 0x2d
je 0x14008cf6d
cmp ax, 0x2b
jne 0x14008cf71
add rdi, 2
cmp word [rdi], 0x30
jne 0x14008cfa2
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x14008cf87
cmp ax, 0x58
jne 0x14008cfa2
movzx ecx, word [rdi + 4]
call fcn.1400cb0d4
test eax, eax
je 0x14008cfa2
add rdi, 4
mov eax, 1
xor r15d, r15d
jmp 0x14008cfa8
xor r15d, r15d
mov eax, r15d
movzx ebx, word [rdi]
mov ecx, r15d
movsxd r13, eax
cmp ebx, 0x20
je 0x14008d016
cmp ebx, 9
je 0x14008d016
test ebx, ebx
je 0x14008d031
cmp ebx, 0x2e
je 0x14008cfe5
test r13, r13
je 0x14008cffc
movzx ecx, bx
call fcn.1400cb644
mov ecx, r15d
test eax, eax
sete cl
test ecx, ecx
je 0x14008d004
movzx ecx, bx
call fcn.14000c590
mov r13, qword [rsp + 0x30]
xor r8d, r8d
mov rdx, r12
mov rcx, rsi
call fcn.14009d8e0
mov edi, eax
jmp 0x14008d045
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x14008cfdd
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x14008cfb6
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008d025
cmp ax, 9
jne 0x14008d02b
add rdi, 2
jmp 0x14008d016
cmp word [rdi], 0
jne 0x14008cfe5
mov r13, qword [rsp + 0x30]
test ecx, ecx
je 0x14008cfea
mov rcx, r12
call fcn.1400149c0
lea edi, [rax - 1]
cmp edi, 0xff
ja 0x14008cd96
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbx, rax
test r14d, r14d
je 0x14008d0d5
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
bt eax, 8
jb 0x14008d0d5
mov rcx, qword [rsi]
movsxd r8, edi
xor r9d, r9d
mov edx, 0x1330
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x130b
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, edi
je case.0x14008c3a9.10
mov rcx, qword [rbp + 0x180]
mov dl, 1
call fcn.14003ef50
mov esi, eax
jmp 0x14008c665
cmp r15d, 0xc
jne 0x14008d03a
jmp 0x14008cfea
mov rcx, qword [rsi]
movsxd r8, edi
xor r9d, r9d
mov edx, 0x130c
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x14008cd96
cmp ebx, edi
je case.0x14008c3a9.10
test r14d, r14d
mov rcx, r13
mov rdx, rsi
setg r8b
call fcn.14009d500
jmp case.0x14008c3a9.10
cmp word [r12], ax
jne 0x14008d11f
add r12, 2
inc r14d
cmp r15d, 0xb
jne 0x14008d217
mov rdi, r12
nop dword [rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008d13f
cmp ax, 9
jne 0x14008d145
add rdi, 2
jmp 0x14008d130
movzx eax, word [rdi]
test ax, ax
je 0x14008d20f
cmp ax, 0x2d
je 0x14008d15d
cmp ax, 0x2b
jne 0x14008d161
add rdi, 2
cmp word [rdi], 0x30
jne 0x14008d18f
movzx eax, word [rdi + 2]
cmp ax, 0x78
je 0x14008d177
cmp ax, 0x58
jne 0x14008d18f
movzx ecx, word [rdi + 4]
call fcn.1400cb0d4
test eax, eax
je 0x14008d18f
mov eax, 1
add rdi, 4
jmp 0x14008d191
xor eax, eax
movzx ebx, word [rdi]
xor ecx, ecx
movsxd r13, eax
cmp ebx, 0x20
je 0x14008d1f0
nop
cmp ebx, 9
je 0x14008d1f0
test ebx, ebx
je 0x14008d20b
cmp ebx, 0x2e
je 0x14008d20f
test r13, r13
je 0x14008d1d0
movzx ecx, bx
call fcn.1400cb644
xor ecx, ecx
test eax, eax
sete cl
test ecx, ecx
je 0x14008d1d8
movzx ecx, bx
call fcn.14000c590
jmp 0x14008d20f
lea eax, [rbx - 0x30]
cmp eax, 9
ja 0x14008d1c6
movzx ebx, word [rdi + 2]
add rdi, 2
mov ecx, 1
cmp ebx, 0x20
jne 0x14008d1a0
nop word [rax + rax]
movzx eax, word [rdi]
cmp ax, 0x20
je 0x14008d1ff
cmp ax, 9
jne 0x14008d205
add rdi, 2
jmp 0x14008d1f0
cmp word [rdi], 0
jne 0x14008d20f
test ecx, ecx
jne 0x14008d215
mov r15d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
xor edi, edi
movzx eax, byte [rsi + 8]
cmp al, 7
jb 0x14008cd96
mov r13d, 0x185
cmp al, 8
jbe 0x14008d276
cmp al, 9
jne 0x14008cd96
mov rcx, qword [rsi]
mov edx, 0xfffffff0
call qword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x808
je 0x14008d25e
mov ebx, 0x18f
cmp r15d, 0xb
mov edi, 2
cmove ebx, r13d
jmp 0x14008d28a
mov ebx, 0x18c
mov eax, 0x186
cmp r15d, 0xb
cmove ebx, eax
mov edi, 2
jmp 0x14008d28a
mov ebx, edi
cmp r15d, 0xb
mov edi, 9
sete bl
add ebx, 0x14d
cmp r15d, 0xc
jne 0x14008d2c4
mov rcx, qword [rsi]
or r8, 0xffffffffffffffff
mov r9, r12
cmp ebx, 0x18f
jne 0x14008d2c0
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14008cd96
mov rcx, qword [rsi]
mov r9, rax
lea r8d, [r15 - 0xb]
jmp 0x14008d2f3
mov edx, ebx
jmp 0x14008d2f6
mov rcx, r12
call fcn.1400149c0
lea r12d, [rax - 1]
cmp r12d, 0xffffffff
jl 0x14008cd96
mov rcx, qword [rsi]
cmp ebx, r13d
jne 0x14008d308
mov eax, 0
test r12d, r12d
movsxd r9, r12d
setns al
mov r8, rax
mov edx, r13d
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
je 0x14008cd96
jmp 0x14008d325
movsxd r8, r12d
xor r9d, r9d
mov edx, ebx
call qword [sym.imp.USER32.dll_SendMessageW]
cmp rax, 0xffffffffffffffff
jne 0x14008d325
cmp r12d, eax
jne 0x14008cd96
mov ebx, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
add ebx, 3
test r14d, r14d
jle 0x14008d352
mov r9, qword [rsi]
mov rcx, qword [r12 + 8]
movzx r8d, bx
bts r8, 0x10
mov edx, 0x111
call qword [sym.imp.USER32.dll_SendMessageW]
cmp r14d, 1
jle case.0x14008c3a9.10
mov r9, qword [rsi]
movzx ecx, di
movzx eax, bx
shl ecx, 0x10
mov edx, 0x111
or ecx, eax
movsxd r8, ecx
mov rcx, qword [r12 + 8]
jmp 0x14008c65a
mov r8, qword [0x140119088]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsi]
movsxd rax, dword [rdi + 0x80]
xor r9d, r9d
lea edx, [r9 + 0x30]
imul rax, rax, 0x98
mov r8, qword [rax + r8 + 0x90]
call qword [sym.imp.USER32.dll_SendMessageW]
movzx edx, byte [rsi + 8]
cmp dl, 2
je 0x14008d420
cmp dl, 0x10
je 0x14008d420
cmp dl, 0x11
je 0x14008d420
cmp dl, 0x12
je 0x14008d420
cmp dl, 0xa
je 0x14008d3d4
mov eax, dword [rdi + 0x84]
mov dword [rsi + 0x20], eax
movzx ecx, dl
sub ecx, 0xa
je 0x14008d408
dec ecx
je 0x14008d401
sub ecx, 2
je 0x14008d3f4
dec ecx
jne 0x14008d420
mov edx, 0x100a
lea r8d, [rcx + 1]
jmp 0x14008d410
mov edx, 0x1006
mov r8d, 1
jmp 0x14008d410
mov edx, 0x111e
jmp 0x14008d40d
mov edx, 0x1024
xor r8d, r8d
mov r9d, dword [rdi + 0x84]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rsi]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
jmp case.0x14008c3a9.10