Function at 0x1400058f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x68]
sub rsp, 0x168
mov rax, qword [rbp + 0xe8]
mov r14, rcx
movzx edi, byte [rbp + 0xe0]
movabs rcx, 0xffffffff003c2bb3
movzx esi, byte [rbp + 0xd0]
add rax, rcx
cmp rax, 2
mov r10, r8
mov r8, qword [0x1400feec8]
mov r12d, 0x3fff
setbe r13b
xor r11d, r11d
test r8, r8
jne 0x14000596e
lea r15, [rbp - 0x80]
mov qword [rsp + 0x60], r15
jmp 0x140005a35
movsxd rcx, dword [0x1400fef28]
imul r15, rcx, 0xd4
inc ecx
add r15, r8
cmp ecx, dword [0x1400faa60]
mov qword [rsp + 0x60], r15
cmovge ecx, r11d
mov dword [0x1400fef28], ecx
mov byte [r15], sil
mov byte [r15 + 6], dil
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x1400feee4], eax
sub ecx, dword [0x140104118]
xorps xmm0, xmm0
mov dword [0x140104118], eax
cvtsi2ss xmm0, rcx
divss xmm0, dword [0x1400e9328]
movss dword [r15 + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140005a09
cmp rax, qword [0x1400fef20]
je 0x1400059ff
mov rcx, qword [0x1400feeb0]
lea r8, [r15 + 0xc]
mov r9, rax
mov edx, 0x418
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140005a17
xor r11d, r11d
mov word [r15 + 0xc], r11w
jmp 0x140005a1a
movabs rax, 0x41002f004e
mov qword [r15 + 0xc], rax
xor r11d, r11d
mov r9, qword [rbp + 0xc8]
mov r10, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
mov qword [0x1400fef20], rbx
cmp sil, 0xe7
jne 0x140005a7d
movzx eax, word [r9 + 4]
mov ecx, 0x55
mov byte [rsp + 0x48], 0
mov r8, r10
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], dil
mov word [r15 + 4], cx
mov rcx, r14
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
mov word [r15 + 2], ax
call fcn.140007a90
jmp 0x140007850
movzx ecx, word [rbp + 0xd8]
lea eax, [rsi + 0x64]
mov dword [rsp + 0x54], ecx
mov word [r15 + 2], cx
cmp al, 3
ja 0x140005a9b
mov ecx, r11d
mov dword [rsp + 0x54], ecx
cmp r14, qword [0x1400feed0]
lea rdx, [0x140000000]
jne 0x140005ade
movzx ebx, byte [rbp + 0xf0]
mov r8, qword [0x1400ffdb0]
and bl, 1
jne 0x140005c2a
test dil, dil
movzx eax, sil
mov ecx, 0x80
cmovne ecx, r11d
mov byte [rax + rdx + 0xffc80], cl
jmp 0x140005c2a
mov r15d, dword [rbp + 0xf0]
mov eax, 0x100
mov ebx, r15d
shr ebx, 4
and bl, 1
test ax, cx
jne case.0x140005b38.13
lea ecx, [rax - 0x70]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x140005b38.13
movzx eax, sil
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x140005b38.13
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x7894]
mov ecx, dword [rdx + rax*4 + 0x7864]
add rcx, rdx
jmp rcx
test dil, dil
sete byte [0x140104198]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x140104199]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419a]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419b]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419c]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419d]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419e]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x14010419f]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x1401041a0]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x1401041a1]
jmp case.0x140005b38.13
test dil, dil
sete byte [0x1401041a2]
mov r8, qword [0x1400ffdb0]
movzx r14d, sil
imul rax, r14, 0x128
cmp byte [rax + r8 + 8], 0
jne 0x140005c1e
movzx r8d, dil
movzx edx, sil
mov ecx, r15d
call fcn.140009160
mov r8, qword [0x1400ffdb0]
mov r15, qword [rsp + 0x60]
test al, al
je 0x140005c23
test dil, dil
lea rax, [0x140000000]
mov ecx, 0x80
mov edx, 0
cmovne ecx, edx
mov byte [r14 + rax + 0xffc80], cl
mov r14, qword [rbp + 0xb0]
jmp 0x140005c2c
mov r15, qword [rsp + 0x60]
mov r14, qword [rbp + 0xb0]
xor edx, edx
mov eax, 0x69
test r13b, r13b
jne 0x140005c46
test bl, bl
mov eax, SafeArrayAllocDescriptor
mov ecx, 0x61
cmovne ax, cx
cmp byte [0x1400ffc70], 0
lea rcx, [r15 + 4]
mov qword [rsp + 0x70], rcx
mov word [rcx], ax
je 0x140005c92
lea eax, [rsi - 0x5b]
cmp al, 1
ja 0x140005c92
test dil, dil
jne 0x140005c92
movzx r9d, word [rsp + 0x54]
mov rcx, r14
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov byte [rsp + 0x20], dil
jmp 0x140007840
cmp byte [0x140104180], 0
je 0x140005d62
cmp sil, 0x1b
jne 0x140005d62
test dil, dil
jne 0x140005d62
xor edx, edx
lea rcx, [0x1400ddb38]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140005d5b
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp ebx, eax
jne 0x140005d5b
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, sil
xor ecx, ecx
call fcn.140010ec0
movzx edx, byte [0x1400ffc73]
xor r8d, r8d
shr dl, 3
xor r9d, r9d
and dl, 1
mov dword [rsp + 0x28], 0xffc3d44d
or dl, 0xa4
mov byte [rsp + 0x20], r8b
lea ecx, [r8 + 1]
call fcn.140010ec0
movzx r9d, word [rsp + 0x54]
xor eax, eax
mov qword [rsp + 0x40], rax
movzx r8d, sil
mov qword [rsp + 0x38], 0x7fffffff
mov rcx, r14
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
mov byte [rsp + 0x20], al
jmp 0x140007844
mov r8, qword [0x1400ffdb0]
mov r14d, dword [rsp + 0x54]
mov r10, qword [rbp + 0xb0]
movzx eax, r14w
imul rbx, rax, 0x128
mov qword [rsp + 0x78], rax
mov rax, qword [0x1400ffda8]
add rbx, rax
cmp r10, qword [0x1400feed8]
movzx eax, byte [rbx + 0x16]
mov byte [rsp + 0x59], al
jne 0x140005d9d
test al, al
jne 0x140005dab
movzx eax, sil
imul rbx, rax, 0x128
add rbx, r8
test r13b, r13b
je 0x140005e1d
mov eax, 0xffc3d44e
cmp qword [rbp + 0xe8], rax
jne 0x140005ddd
test dil, dil
je 0x140005ddd
cmp qword [0x140104188], rbx
jne 0x140005ddd
xor eax, eax
mov byte [rbx + 0x10], 0
mov qword [0x140104188], rax
mov byte [rbx + 0x13], 0
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], r14w
mov byte [rsp + 0x20], sil
mov rcx, r10
mov r9, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
call fcn.140007a90
jmp 0x140007850
test dil, dil
jne 0x140005e2b
mov byte [rbx + 0x14], dil
mov word [rbx + 0xa], r12w
cmp r10, qword [0x1400feed8]
jne 0x140005f2d
test dil, dil
je 0x140005ef1
cmp byte [0x14010413c], 0
je 0x140005e50
cmp sil, 0x5b
je 0x140005e7d
cmp byte [0x14010413d], 0
je 0x140005e5f
cmp sil, 0x5c
je 0x140005e7d
cmp byte [0x14010413e], 0
je 0x140005e6e
cmp sil, 0xa4
je 0x140005e7d
cmp byte [0x14010413f], 0
je 0x140005ef1
cmp sil, 0xa5
jne 0x140005ef1
movzx ecx, sil
sub ecx, 0x5b
je 0x140005eb0
sub ecx, 1
je 0x140005ea7
sub ecx, 0x48
je 0x140005e9e
cmp ecx, 1
jne 0x140005eb7
mov byte [0x14010413f], 0
jmp 0x140005eb7
mov byte [0x14010413e], 0
jmp 0x140005eb7
mov byte [0x14010413d], 0
jmp 0x140005eb7
mov byte [0x14010413c], 0
test byte [0x1400ffc73], 3
jne 0x140005ef1
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
lea ecx, [r8 + 2]
call fcn.140010ec0
mov r8, qword [0x1400ffdb0]
mov r10, qword [rbp + 0xb0]
mov rax, qword [0x140104188]
test rax, rax
je 0x140005fcc
cmp rax, rbx
je 0x140005fcc
test dil, dil
jne 0x140005fcc
cmp r10, qword [0x1400feed8]
jne 0x140005fb2
xor eax, eax
cmp byte [rbx + 8], al
sete al
jmp 0x140005fbd
test sil, sil
jne 0x140005f56
mov byte [rsp + 0x48], sil
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], r14w
mov byte [rsp + 0x20], sil
jmp 0x140005dfc
lea eax, [rsi - 1]
cmp al, 1
ja 0x140005ef1
cmp dword [0x1400feb04], 0
jne 0x140005fa4
xor edx, edx
lea rcx, [0x1400ddb48]
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140005ee3
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401032d0]
mov r10, qword [rbp + 0xb0]
je 0x140005fa4
mov r8, qword [0x1400ffdb0]
jmp 0x140005ef1
test dil, dil
sete al
mov byte [rbx + 0x10], al
jmp 0x140005dd9
mov rax, qword [0x140104188]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140005fcc
mov rax, qword [0x140104188]
mov byte [rax + 0x15], 1
cmp byte [rbx + 0xc], 0
jne 0x140005fdc
cmp byte [rbx + 0xd], 0
je 0x140005ddd
xor edx, edx
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x68], rdx
movzx r14d, r12w
test dil, dil
je 0x14000601c
movzx eax, word [rbx + 0xa]
movzx ecx, byte [rbx + 0x10]
movzx r13d, byte [rbx + 0x13]
mov byte [rsp + 0x58], cl
mov byte [rbx + 0x13], dl
cmp ax, r12w
je 0x14000602f
movzx r14d, ax
mov word [rsp + 0x50], ax
mov word [rbx + 0xa], r12w
jmp 0x14000602f
movzx eax, byte [rbp + 0xd0]
movzx r13d, byte [rbp + 0xd0]
mov byte [rsp + 0x58], al
test dil, dil
mov byte [rbp + 0xd0], dl
mov ecx, 1
sete al
cmp r10, qword [0x1400feed8]
mov byte [rbx + 0x10], al
jne 0x1400060ae
cmp byte [rbx + 8], dl
je 0x1400060d6
cmp byte [r8 + 0xbb60], dl
jne 0x140006069
mov eax, edx
cmp byte [r8 + 0xbc88], dl
je 0x14000606b
mov eax, ecx
mov byte [r8 + 0x13b8], al
cmp byte [r8 + 0xbdb0], dl
jne 0x140006086
mov eax, edx
cmp byte [r8 + 0xbed8], dl
je 0x140006088
mov eax, ecx
mov byte [r8 + 0x14e0], al
cmp byte [r8 + 0xb910], dl
jne 0x1400060a3
mov eax, edx
cmp byte [r8 + 0xba38], dl
je 0x1400060a5
mov eax, ecx
mov byte [r8 + 0x1290], al
jmp 0x1400060d6
cmp qword [0x1400feed8], rdx
jne 0x1400060d6
call fcn.1400139d0
mov r8, qword [0x1400ffdb0]
mov byte [0x1400ffc72], al
mov byte [0x1400ffc73], al
mov byte [rbp + 0xd0], 1
mov rax, qword [rbx]
test rax, rax
je 0x1400060e8
cmp dword [rax], 7
mov byte [rsp + 0x5a], 1
je 0x1400060ed
mov byte [rsp + 0x5a], 0
movzx ecx, byte [rbx + 0xc]
test cl, cl
je 0x1400062d5
test dil, dil
jne 0x1400062d5
mov rax, qword [0x140104188]
test rax, rax
je 0x14000611d
cmp byte [rbx + 0xd], dil
je 0x14000611d
cmp rbx, rax
jne 0x1400062d5
cmp cl, 1
jne 0x14000614c
movzx eax, byte [rsp + 0x59]
movzx ecx, word [rsp + 0x54]
test al, al
jne 0x140006134
movzx ecx, sil
movzx edx, al
call fcn.14000bb00
mov r8, qword [0x1400ffdb0]
test al, al
je 0x14000614c
mov r15b, 1
jmp 0x140006163
xor r15b, r15b
cmp rbx, qword [0x140104188]
je 0x140006163
mov qword [0x140104188], rbx
mov byte [rbx + 0x15], r15b
cmp byte [rbx + 0xd], 0
je 0x140006234
cmp byte [rbp + 0xd0], 0
jne 0x14000618b
mov cl, 1
mov byte [rbp + 0xd0], 1
call fcn.1400139d0
mov r8, qword [0x1400ffdb0]
movzx eax, byte [rbx + 8]
movzx ecx, byte [0x1400ffc72]
test al, al
je 0x14000619e
not al
and cl, al
test cl, cl
jne 0x1400061b1
test r15b, r15b
jne 0x1400061b1
test byte [rbx + 0xf], 1
je 0x140006234
mov r10, qword [rbp + 0xb0]
cmp r10, qword [0x1400feed8]
jne 0x1400061dd
cmp byte [rsp + 0x59], 0
je 0x1400061dd
mov rax, qword [0x1400ffdc0]
movzx ecx, cl
shl rcx, 9
add rcx, qword [rsp + 0x78]
jmp 0x1400061f2
movzx ecx, cl
movzx eax, sil
shl rcx, 8
add rcx, rax
mov rax, qword [0x1400ffdc8]
movzx r14d, word [rax + rcx*2]
mov eax, 0x4000
mov word [rsp + 0x50], r14w
test ax, r14w
je 0x14000620f
mov word [rbx + 0xa], r14w
jmp 0x140006245
movzx eax, r14w
and ax, r12w
cmp ax, word [0x140101d40]
jae 0x14000623b
movzx ecx, ax
mov rax, qword [0x1400ffdb8]
movzx ecx, word [rax + rcx*2]
mov word [rbx + 0xa], cx
jmp 0x14000623b
mov r10, qword [rbp + 0xb0]
cmp r14w, r12w
jne 0x1400062d0
test r15b, r15b
je 0x14000625b
mov rcx, qword [rsp + 0x70]
mov eax, reloc.OLEAUT32.dll_SafeArrayAllocDescriptor
or byte [rbx + 0xf], 8
mov word [rcx], ax
cmp byte [rbx + 8], 0
jne 0x1400062a9
test byte [rbx + 0xf], 1
jne 0x1400062a9
cmp byte [rsp + 0x5a], 0
jne 0x1400062a9
test r15b, r15b
jne 0x1400062a9
movzx r9d, word [rsp + 0x54]
xor eax, eax
mov qword [rsp + 0x40], rax
mov rcx, r10
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], r15b
mov byte [rbx + 0x14], 1
jmp 0x140007840
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x30], 0
mov word [rsp + 0x28], ax
jmp 0x140005df7
mov r15, qword [rsp + 0x60]
cmp byte [rbx + 0xd], 0
mov byte [rsp + 0x5b], 0
je 0x140006352
test dil, dil
je 0x140006352
cmp qword [0x140104188], rbx
jne 0x1400062fe
test r13b, r13b
je 0x140006352
xor edx, edx
mov qword [0x140104188], rdx
jmp 0x140006300
xor edx, edx
cmp byte [rbx + 0xe], 0
jne 0x14000634d
movzx eax, byte [rbx + 0xf]
test al, 8
je 0x140006317
xor cl, cl
and al, 0xf7
mov byte [rbx + 0xf], al
jmp 0x140006319
mov cl, 1
test r13b, r13b
je 0x1400063ef
test cl, cl
je 0x1400063ef
mov qword [rsp + 0x40], rdx
movzx r9d, word [rsp + 0x54]
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
jmp 0x140007834
mov byte [rsp + 0x5b], 1
cmp byte [rbx + 0xc], 0
je 0x1400065b9
test dil, dil
je 0x1400065b9
mov rax, qword [0x140104188]
mov ecx, 0
cmp rax, rbx
cmove rax, rcx
lea r13d, [rcx + 1]
mov qword [0x140104188], rax
cmp byte [rbx + 0x11], cl
je 0x1400063ae
mov byte [rbx + 0x11], cl
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], cl
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
mov ecx, r13d
call fcn.140010ec0
mov r8, qword [0x1400ffdb0]
cmp byte [rbx + 0x12], 0
je 0x1400063dc
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
mov byte [rbx + 0x12], 0
mov ecx, r13d
call fcn.140010ec0
mov r8, qword [0x1400ffdb0]
cmp r14w, r12w
jne 0x14000641d
movzx eax, byte [rbx + 0xf]
test al, 8
je 0x14000641d
and al, 0xf7
mov byte [rbx + 0xf], al
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov eax, dword [rsp + 0x54]
mov rcx, qword [rbp + 0xb0]
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
movzx ecx, byte [rsp + 0x5a]
movzx eax, byte [rbx + 0x15]
test cl, cl
je 0x1400064d1
cmp al, 2
jne 0x14000649b
mov ebx, dword [rsp + 0x54]
mov eax, 0xffc3d44e
mov dword [rsp + 0x28], eax
xor r9d, r9d
movzx r8d, bx
mov byte [rsp + 0x20], 0
movzx edx, sil
mov ecx, r13d
call fcn.140010ec0
xor r9d, r9d
mov dword [rsp + 0x28], 0xffc3d44d
movzx r8d, bx
mov byte [rsp + 0x20], 0
movzx edx, sil
lea ecx, [r9 + 2]
call fcn.140010ec0
xor eax, eax
movzx r9d, bx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
jmp 0x140007834
cmp al, 1
jne 0x14000657a
mov eax, dword [rsp + 0x54]
mov rcx, qword [rbp + 0xb0]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
test al, al
je 0x14000657a
cmp r14w, r12w
jne 0x14000657a
cmp byte [rbx + 8], 0
mov rcx, qword [rbp + 0xb0]
je 0x14000653b
mov r9, qword [rbp + 0xc8]
cmp al, 2
mov eax, dword [rsp + 0x54]
mov r8, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
jne 0x140006513
mov byte [rsp + 0x48], 1
jmp 0x140006518
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
call fcn.140007a90
jmp 0x140007850
test byte [rbx + 0xf], 1
je 0x140006555
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
jmp 0x1400071a9
movzx r9d, word [rsp + 0x54]
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r15
jmp 0x14000783b
cmp byte [rbx + 0xd], 0
jne 0x1400065a8
cmp byte [rbx + 8], 0
jne 0x1400063ef
test byte [rbx + 0xf], 1
jne 0x1400063ef
test cl, cl
jne 0x1400063ef
xor eax, eax
mov qword [rsp + 0x40], rax
jmp 0x14000632f
cmp byte [rsp + 0x58], 0
jne 0x1400065b9
cmp byte [rbx + 0xe], 0
je 0x1400063ef
cmp byte [rbp + 0xd0], 0
jne 0x1400065d6
cmp r14w, r12w
jne 0x1400065d6
mov cl, 1
call fcn.1400139d0
mov r8, qword [0x1400ffdb0]
cmp qword [0x140104188], 0
mov r11d, 0x3ffa
mov byte [rbp + 0xd0], 0
je 0x140006ce2
test dil, dil
je 0x140006600
cmp byte [rbx + 0xe], 0
je 0x140006ce2
cmp r14w, r12w
jne 0x140007024
movzx r9d, byte [rbx + 0x17]
xor r10d, r10d
mov r15, qword [0x1400ffdb0]
mov r8d, r10d
test r9d, r9d
je 0x140006751
movzx r11d, byte [rbp + 0xd0]
lea rdx, [rbx + 0x1a]
mov byte [rsp + 0x58], r11b
nop word [rax + rax]
movzx ecx, byte [rdx]
imul rax, rcx, 0x128
cmp byte [rax + r15 + 0x10], r10b
je 0x140006688
movzx eax, word [rdx + 2]
mov r13d, 0x4000
test r13w, ax
je 0x140006672
test dil, dil
jne 0x140006696
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x1400066b4
jmp 0x140006688
test dil, dil
jne 0x140006688
movzx r14d, ax
mov word [rsp + 0x50], ax
movzx r11d, cl
mov byte [rsp + 0x58], cl
inc r8d
add rdx, 4
cmp r8d, r9d
jl 0x140006640
jmp 0x1400066aa
movzx r14d, word [rdx + 2]
movzx r11d, byte [rdx]
mov word [rsp + 0x50], r14w
mov byte [rsp + 0x58], r11b
cmp r14w, r12w
je 0x14000675c
movzx ecx, r11b
sub ecx, 0x10
je 0x140006720
sub ecx, 1
je 0x14000670b
movzx r13d, word [rbp + 0xd0]
cmp ecx, 1
je 0x1400066e2
movzx eax, r11b
imul rcx, rax, 0x128
add rcx, r15
jmp 0x140006800
mov rax, r10
cmp byte [r15 + 0xbed8], al
setne al
add rax, 0xa4
imul rax, rax, 0x128
add rax, r15
mov qword [0x140104188], rax
jmp 0x140006807
mov rax, r10
cmp byte [r15 + 0xbc88], al
setne al
add rax, 0xa2
jmp 0x140006733
mov rax, r10
cmp byte [r15 + 0xba38], al
setne al
add rax, 0xa0
movzx r13d, word [rbp + 0xd0]
imul rax, rax, 0x128
add rax, r15
mov qword [0x140104188], rax
jmp 0x140006807
movzx eax, byte [rbp + 0xd0]
mov byte [rsp + 0x58], al
movzx r13d, word [rbp + 0xd0]
mov r9d, r10d
movzx r10d, byte [rbx + 0x18]
test r10d, r10d
je 0x140006811
lea r8, [rbx + 0xe2]
nop dword [rax]
movzx edx, word [r8]
mov rax, qword [0x1400ffda8]
imul rcx, rdx, 0x128
cmp byte [rcx + rax + 0x10], 0
je 0x1400067cb
movzx eax, word [r8 + 2]
mov ecx, 0x4000
test cx, ax
je 0x1400067b9
test dil, dil
jne 0x1400067d9
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x1400067ee
jmp 0x1400067cb
test dil, dil
jne 0x1400067cb
movzx r14d, ax
mov word [rsp + 0x50], ax
movzx r13d, dx
inc r9d
add r8, 4
cmp r9d, r10d
jl 0x140006780
jmp 0x1400067e8
movzx r14d, word [r8 + 2]
movzx r13d, word [r8]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
je 0x140006811
movzx eax, r13w
imul rcx, rax, 0x128
add rcx, qword [0x1400ffda8]
mov qword [0x140104188], rcx
cmp r14w, r12w
jne case.default.0x140006836
movzx eax, sil
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x140006836
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x78f8]
add rcx, rdx
jmp rcx
mov al, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x140006842
mov al, reloc.OLEAUT32.dll_SafeArrayGetUBound
jmp 0x140006842
mov al, reloc.OLEAUT32.dll_SafeArrayGetDim
xor r10d, r10d
movzx eax, al
imul r11, rax, 0x128
mov r8d, r10d
movzx r9d, byte [r11 + r15 + 0x17]
test r9, r9
je 0x1400068db
lea rdx, [r15 + 0x1a]
add rdx, r11
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx]
imul rax, rcx, 0x128
cmp byte [rax + r15 + 0x10], 0
je 0x1400068bb
movzx eax, word [rdx + 2]
mov r10d, 0x4000
test r10w, ax
mov r10d, 0
je 0x1400068a9
test dil, dil
jne 0x1400068c9
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x1400068e1
jmp 0x1400068bb
test dil, dil
jne 0x1400068bb
movzx r14d, ax
mov word [rsp + 0x50], ax
mov byte [rsp + 0x58], cl
inc r8
add rdx, 4
cmp r8, r9
jl 0x140006870
jmp 0x1400068db
movzx r14d, word [rdx + 2]
movzx eax, byte [rdx]
mov word [rsp + 0x50], r14w
mov byte [rsp + 0x58], al
cmp r14w, r12w
je 0x14000695f
movzx edx, byte [rsp + 0x58]
mov ecx, edx
sub ecx, 0x10
je 0x140006935
sub ecx, 1
je 0x14000691f
cmp ecx, 1
je 0x140006909
movzx eax, dl
imul rcx, rax, 0x128
add rcx, r15
jmp 0x1400069ff
cmp byte [r15 + 0xbed8], 0
mov rax, r10
setne al
add rax, 0xa4
jmp 0x140006949
cmp byte [r15 + 0xbc88], 0
mov rax, r10
setne al
add rax, 0xa2
jmp 0x140006949
cmp byte [r15 + 0xba38], 0
mov rax, r10
setne al
add rax, 0xa0
imul rax, rax, 0x128
add rax, r15
mov qword [0x140104188], rax
jmp case.default.0x140006836
movzx r10d, byte [r11 + r15 + 0x18]
xor eax, eax
mov r9d, eax
test r10, r10
je case.default.0x140006836
lea rdx, [r15 + 0xe2]
add rdx, r11
nop dword [rax]
movzx r8d, word [rdx]
mov rax, qword [0x1400ffda8]
imul rcx, r8, 0x128
cmp byte [rcx + rax + 0x10], 0
je 0x1400069ca
movzx eax, word [rdx + 2]
mov ecx, 0x4000
test cx, ax
je 0x1400069b8
test dil, dil
jne 0x1400069d8
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x1400069ed
jmp 0x1400069ca
test dil, dil
jne 0x1400069ca
movzx r14d, ax
mov word [rsp + 0x50], ax
movzx r13d, r8w
inc r9
add rdx, 4
cmp r9, r10
jl 0x140006980
jmp 0x1400069e7
movzx r14d, word [rdx + 2]
movzx r13d, word [rdx]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
je case.default.0x140006836
movzx eax, r13w
imul rcx, rax, 0x128
add rcx, qword [0x1400ffda8]
mov qword [0x140104188], rcx
movzx r15d, r14w
and r15w, r12w
cmp r14w, r12w
je 0x140006ac2
cmp r15w, word [0x140101d40]
jae 0x140006ab7
mov r14, qword [rsp + 0x70]
lea r8, [rbx + 0xf]
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], r14
movzx edx, dil
lea rcx, [rsp + 0x50]
call fcn.14000bd70
mov r8, rax
test rax, rax
je 0x140007789
mov rax, qword [rbp + 0xe8]
movabs rcx, 0xffffffff003c2c17
add rcx, rax
cmp rcx, 0x66
ja 0x140006a91
movzx edx, byte [r8 + 0x39]
mov ecx, 0xffc3d44d
sub ecx, eax
cmp ecx, edx
jg 0x140006a91
test r14, r14
je 0x140006a8d
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x140006a93
mov al, 1
xor ecx, ecx
test al, al
cmovne rcx, r8
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140007789
movzx r14d, word [rsp + 0x50]
movzx r15d, r14w
and r15w, r12w
mov rax, qword [0x140104188]
mov byte [rax + 0x15], 2
movzx eax, r15w
mov ecx, 0x3ffd
sub ax, cx
cmp ax, 1
ja 0x140006cd5
test dil, dil
jne 0x140006ae1
mov byte [rbx + 0x13], 1
test byte [0x1400ffc73], 0xc
jne 0x140006b06
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
xor ecx, ecx
call fcn.140010ec0
mov r14d, dword [rsp + 0x54]
lea eax, [rsi + 0x5e]
mov r13d, 1
cmp al, r13b
ja 0x140006b3e
test dil, dil
jne 0x140006b3e
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
movzx r8d, r14w
mov byte [rsp + 0x20], dil
movzx edx, sil
mov ecx, r13d
call fcn.140010ec0
mov rax, qword [0x140104188]
mov byte [rax + 0x11], 1
mov eax, 0x3ffd
cmp r15w, ax
jne 0x140006b89
test byte [0x1400ffc73], 0x30
jne 0x140006b79
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
xor ecx, ecx
call fcn.140010ec0
mov rax, qword [0x140104188]
mov byte [rax + 0x12], 1
jmp 0x140006c0c
mov ecx, 0x3ffe
cmp r15w, cx
jne 0x140006c0c
lea eax, [rsi + 0x60]
cmp al, 1
ja 0x140006bc0
test dil, dil
jne 0x140006bc0
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
movzx r8d, r14w
mov byte [rsp + 0x20], dil
movzx edx, sil
mov ecx, r13d
call fcn.140010ec0
test byte [0x1400ffc73], 0x10
je 0x140006be6
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa0
mov ecx, r13d
call fcn.140010ec0
test byte [0x1400ffc73], 0x20
je 0x140006c0c
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa1
mov ecx, r13d
call fcn.140010ec0
test byte [0x1400ffc73], 1
je 0x140006c32
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa2
mov ecx, r13d
call fcn.140010ec0
test byte [0x1400ffc73], 2
je 0x140006c58
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa3
mov ecx, r13d
call fcn.140010ec0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 9
lea ecx, [r8 + 2]
call fcn.140010ec0
mov eax, 0x3ffd
cmp r15w, ax
jne 0x140006cc3
mov rax, qword [0x140104188]
cmp byte [rax + 0x12], 0
je 0x140006cc3
lea eax, [rsi - 0x60]
cmp al, 9
jbe 0x140006c9b
cmp sil, 0x6e
jne 0x140006cc3
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
mov ecx, r13d
call fcn.140010ec0
mov rax, qword [0x140104188]
mov byte [rax + 0x12], 0
mov rcx, qword [rsp + 0x70]
mov eax, 0x68
mov word [rcx], ax
jmp 0x140007808
mov r8, qword [0x1400ffdb0]
mov r11d, 0x3ffa
cmp r14w, r12w
jne 0x140007024
movzx eax, byte [rbx + 8]
movzx edx, byte [0x1400ffc72]
test al, al
je 0x140006cff
not al
and dl, al
mov r13, qword [rbp + 0xb0]
cmp r13, qword [0x1400feed8]
movzx r9d, byte [rsp + 0x59]
jne 0x140006d32
test r9b, r9b
je 0x140006d32
mov r10, qword [rsp + 0x78]
mov rax, qword [0x1400ffdc0]
movzx ecx, dl
shl rcx, 9
add rcx, r10
jmp 0x140006d4c
mov r10, qword [rsp + 0x78]
movzx eax, sil
movzx ecx, dl
shl rcx, 8
add rcx, rax
mov rax, qword [0x1400ffdc8]
movzx r14d, word [rax + rcx*2]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
jne 0x140006dcb
cmp byte [0x140104180], 0
je 0x140006dcb
cmp sil, 9
je 0x140006dcb
and dl, 0xf3
cmp r13, qword [0x1400feed8]
jne 0x140006d90
test r9b, r9b
je 0x140006d90
mov rax, qword [0x1400ffdc0]
movzx ecx, dl
shl rcx, 9
add rcx, r10
jmp 0x140006da5
movzx eax, sil
movzx ecx, dl
shl rcx, 8
add rcx, rax
mov rax, qword [0x1400ffdc8]
movzx r14d, word [rax + rcx*2]
movzx eax, r14w
mov word [rsp + 0x50], r14w
and ax, r12w
sub ax, r11w
cmp ax, 4
jbe 0x140006dcb
mov r14d, r12d
mov word [rsp + 0x50], r12w
mov eax, 0x4000
test ax, r14w
je 0x140006e11
test dil, dil
jne 0x140006f27
mov word [rbx + 0xa], r14w
cmp word [rbx + 0xa], r12w
lea rcx, [rbx + 0xa]
jne 0x140006faf
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], 0
jmp 0x140006f99
cmp r14w, r12w
je 0x140006f31
movzx eax, r14w
and ax, r12w
test dil, dil
je 0x140006f0c
cmp ax, word [0x140101d40]
jae 0x140006f03
movzx r15d, ax
mov rax, qword [0x1400ffdb8]
cmp word [rax + r15*2], r12w
je 0x140006f03
cmp byte [rsp + 0x5b], 0
jne 0x140006e8d
mov r14, qword [rsp + 0x70]
lea r8, [rbx + 0xf]
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], r14
movzx edx, dil
lea rcx, [rsp + 0x50]
call fcn.14000bd70
mov rdx, rax
test rax, rax
jne 0x140006ea4
mov r8, qword [0x1400ffdb0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x1400ffdb8]
movzx r14d, word [rax + r15*2]
mov word [rsp + 0x50], r14w
jmp 0x140006f27
mov r8, qword [rbp + 0xe8]
movabs rax, 0xffffffff003c2c17
add rax, r8
cmp rax, 0x66
ja 0x140006ee0
movzx ecx, byte [rdx + 0x39]
mov eax, 0xffc3d44d
sub eax, r8d
cmp eax, ecx
jg 0x140006ee0
test r14, r14
je 0x140006edc
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x140006ee2
mov al, 1
mov r8, qword [0x1400ffdb0]
xor ecx, ecx
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140006e8d
movzx r14d, word [rsp + 0x50]
jmp 0x140006f27
cmp byte [rsp + 0x5b], 0
jne 0x140006f31
jmp 0x140006f27
cmp ax, word [0x140101d40]
jae 0x140006f27
movzx ecx, ax
mov rax, qword [0x1400ffdb8]
movzx ecx, word [rax + rcx*2]
mov word [rbx + 0xa], cx
cmp r14w, r12w
jne 0x14000702b
test dil, dil
je 0x140006de4
cmp byte [rbx + 8], 0
jne 0x140006f80
test byte [rbx + 0xf], 1
jne 0x140006f80
cmp byte [rbx + 0xc], 0
je 0x140006f80
cmp byte [rsp + 0x5a], 0
jne 0x140006f80
movzx r9d, word [rsp + 0x54]
xor eax, eax
mov qword [rsp + 0x40], rax
mov rcx, r13
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
jmp 0x14000783b
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov byte [rsp + 0x30], dil
mov eax, dword [rsp + 0x54]
mov rcx, r13
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
lea r8, [rbx + 0xf]
mov dl, 1
xor ebx, ebx
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rbx
call fcn.14000bd70
mov rcx, r13
mov rax, qword [rsp + 0x60]
cmp byte [rbp + 0xd0], bl
je 0x140006ffd
mov byte [rsp + 0x48], bl
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x30], bl
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
movzx r9d, word [rsp + 0x54]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], bl
jmp 0x140007840
mov r13, qword [rbp + 0xb0]
movzx eax, byte [rbx + 0xf]
lea r15, [rbx + 0xf]
test al, 8
je 0x140007048
test dil, dil
je 0x140007048
and al, 0xf7
mov byte [rbp + 0xd0], 1
mov byte [r15], al
movzx eax, r14w
and ax, r12w
cmp ax, word [0x140101d40]
jae 0x1400070f9
cmp qword [rsp + 0x68], 0
jne 0x1400070f9
mov r14, qword [rsp + 0x70]
lea r9, [rbp + 0xd0]
mov r8, r15
mov qword [rsp + 0x20], r14
movzx edx, dil
lea rcx, [rsp + 0x50]
call fcn.14000bd70
mov rdx, rax
test rax, rax
je 0x140007161
mov r8, qword [rbp + 0xe8]
movabs rax, 0xffffffff003c2c17
lea rcx, [r8 + rax]
cmp rcx, 0x66
ja 0x1400070d4
movzx ecx, byte [rdx + 0x39]
mov eax, 0xffc3d44d
sub eax, r8d
cmp eax, ecx
jg 0x1400070d4
test r14, r14
je 0x1400070d0
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x1400070d6
mov al, 1
xor r14d, r14d
test al, al
mov ecx, r14d
cmovne rcx, rdx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140007164
movzx r14d, word [rsp + 0x50]
mov r8, qword [0x1400ffdb0]
movzx eax, byte [0x1400ffc73]
and r14w, r12w
cmp r13, qword [0x1400feed8]
jne 0x140007255
test al, 0x3f
jne 0x140007296
test al, 0x40
je 0x14000713a
movzx eax, byte [0x14010413c]
mov ecx, 1
cmp byte [r8 + 0x6944], 0
cmove eax, ecx
mov byte [0x14010413c], al
test byte [0x1400ffc73], 0x80
je 0x140007296
cmp byte [r8 + 0x6a6c], 0
jne 0x140007296
mov byte [0x14010413d], 1
jmp 0x140007296
xor r14d, r14d
test dil, dil
je 0x1400071c1
cmp byte [rbx + 0x14], 0
mov rcx, r13
mov rax, qword [rsp + 0x60]
je 0x14000719a
mov qword [rsp + 0x40], r14
movzx r9d, word [rsp + 0x54]
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
jmp 0x14000783b
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
cmp word [rbx + 0xa], r12w
lea rcx, [rbx + 0xa]
je 0x140006df3
lea r9, [rbp + 0xd0]
mov byte [rbp + 0xd0], 0
mov r8, r15
mov qword [rsp + 0x20], r14
mov dl, 1
call fcn.14000bd70
cmp byte [rbp + 0xd0], 0
mov rcx, r13
mov rax, qword [rsp + 0x60]
je 0x140007225
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x30], 0
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
jmp 0x140005dff
and byte [r15], 0xf7
movzx r9d, word [rsp + 0x54]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov byte [rbx + 0x14], 1
jmp 0x140007840
test al, 0xc
jne 0x140007296
test al, 0x40
je 0x140007270
cmp byte [r8 + 0x6944], 0
jne 0x140007270
mov byte [0x14010413c], 1
jmp 0x140007296
test byte [0x1400ffc73], 0x80
je 0x140007296
movzx eax, byte [0x14010413d]
mov ecx, 1
cmp byte [r8 + 0x6a6c], 0
cmove eax, ecx
mov byte [0x14010413d], al
test byte [0x1400ffc73], 4
je 0x1400072bc
cmp byte [r8 + 0xbdac], 0
jne 0x1400072bc
cmp qword [0x1400feed8], 0
je 0x1400072eb
mov byte [0x14010413e], 1
jmp 0x14000730e
test byte [0x1400ffc73], 8
je 0x14000730e
cmp byte [r8 + 0xbed4], 0
jne 0x14000730e
call fcn.140013f40
test al, al
jne 0x14000730e
cmp qword [0x1400feed8], 0
je 0x1400072eb
mov byte [0x14010413f], 1
jmp 0x14000730e
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
lea ecx, [r8 + 2]
call fcn.140010ec0
movzx eax, r14w
cmp eax, 0x3ffa
je 0x140007353
jbe 0x14000732f
cmp eax, 0x3ffc
jbe 0x140007360
mov ecx, 0x3ffe
cmp eax, ecx
jbe 0x14000740e
mov rax, qword [rsp + 0x68]
movzx r12d, r14w
cmp byte [rax + 0x36], 5
jne 0x14000765a
movzx eax, word [rax + 0x34]
shl eax, 0x10
cdqe
or r12, rax
jmp 0x14000765a
cmp byte [0x140104180], 0
je 0x140006f80
xor al, al
test byte [0x1400ffc73], 4
je 0x140007370
mov r13b, 0xa4
jmp 0x140007384
test byte [0x1400ffc73], 8
movzx r13d, al
mov eax, 0xa5
cmovne r13d, eax
cmp byte [0x140104180], 0
je 0x1400074f8
mov eax, 0x3ffb
cmp r14w, ax
je 0x140007407
movzx eax, r13b
test r13b, r13b
jne 0x1400073aa
mov eax, reloc.OLEAUT32.dll_SafeArrayGetUBound
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, al
lea ecx, [r8 + 1]
call fcn.140010ec0
cmp byte [rbx + 8], 0
je 0x1400073fb
lea eax, [rsi - 0x5b]
cmp al, 1
jbe 0x1400073fb
test dil, dil
jne 0x1400073fb
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, sil
lea ecx, [r8 + 1]
call fcn.140010ec0
mov byte [0x140104180], 0
jmp 0x14000765a
mov r13, qword [rbp + 0xb0]
cmp byte [0x140104180], 0
je 0x140006f80
test dil, dil
jne 0x140007447
lea eax, [rsi + 0x60]
cmp al, 3
ja 0x140007447
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, sil
lea ecx, [r8 + 1]
call fcn.140010ec0
test byte [0x1400ffc73], 0xc
je 0x14000745c
test dil, dil
je 0x140007478
lea eax, [rsi + 0x5c]
cmp al, 1
ja 0x140007478
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
xor ecx, ecx
call fcn.140010ec0
xor r15b, r15b
mov eax, 0x3ffd
cmp r14w, ax
jne 0x1400074ae
test byte [0x1400ffc73], 0x30
jne 0x1400074ae
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
xor ecx, ecx
call fcn.140010ec0
mov r15b, 1
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 9
lea ecx, [r8 + 2]
call fcn.140010ec0
test r15b, r15b
je 0x140007656
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetDim
lea ecx, [r8 + 1]
call fcn.140010ec0
jmp 0x140007656
lea eax, [rsi + 0x5c]
cmp al, 1
lea eax, [rsi + 0x60]
setbe byte [rsp + 0x5b]
cmp al, 1
lea eax, [rsi + 0x5e]
setbe dl
cmp al, 1
mov byte [rsp + 0x59], dl
setbe cl
xor r15b, r15b
test byte [0x1400ffc73], 0x10
je 0x140007527
mov r15b, 0xa0
jmp 0x140007548
test byte [0x1400ffc73], 0x20
je 0x140007535
mov r15b, 0xa1
jmp 0x140007548
test dil, dil
jne 0x140007548
test dl, dl
movzx r15d, r15b
movzx eax, sil
cmovne r15d, eax
xor r14b, r14b
test byte [0x1400ffc73], 1
je 0x140007559
mov r14b, 0xa2
jmp 0x14000757a
test byte [0x1400ffc73], 2
je 0x140007567
mov r14b, 0xa3
jmp 0x14000757a
test dil, dil
jne 0x14000757a
test cl, cl
movzx r14d, r14b
movzx eax, sil
cmovne r14d, eax
mov byte [rbp + 0xe8], 0
test r15b, r15b
je 0x1400075ad
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, r15b
lea ecx, [r8 + 1]
call fcn.140010ec0
mov byte [rbp + 0xe8], 1
test r14b, r14b
je 0x1400075d2
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, r14b
lea ecx, [r8 + 1]
call fcn.140010ec0
cmp byte [rsp + 0x5b], 0
je 0x1400075e2
test dil, dil
jne 0x1400075e7
movzx r13d, sil
test r13b, r13b
jne 0x140007603
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, reloc.OLEAUT32.dll_SafeArrayGetUBound
xor ecx, ecx
call fcn.140010ec0
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 9
lea ecx, [r8 + 2]
call fcn.140010ec0
cmp byte [rbp + 0xe8], 0
je 0x14000764f
cmp byte [rsp + 0x59], 0
jne 0x14000764f
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, r15b
xor ecx, ecx
call fcn.140010ec0
mov byte [0x140104180], 1
lea r15, [rbx + 0xf]
cmp byte [rsp + 0x5a], 0
mov eax, 0x68
mov rcx, qword [rsp + 0x70]
mov word [rcx], ax
je 0x1400076cd
test dil, dil
je 0x140007762
cmp byte [rbx + 0xc], 0
je 0x1400076cd
mov ebx, dword [rsp + 0x54]
xor r9d, r9d
mov eax, 0xffc3d44e
movzx r8d, bx
mov dword [rsp + 0x28], eax
movzx edx, sil
mov byte [rsp + 0x20], 0
lea ecx, [r9 + 1]
call fcn.140010ec0
xor r9d, r9d
mov dword [rsp + 0x28], 0xffc3d44d
movzx r8d, bx
mov byte [rsp + 0x20], 0
movzx edx, sil
lea ecx, [r9 + 2]
call fcn.140010ec0
movzx r9d, bx
jmp 0x140007815
test dil, dil
je 0x140007762
cmp byte [rbx + 8], 0
je 0x140007709
cmp byte [rbx + 0x14], 0
mov rcx, qword [rbp + 0xb0]
je 0x1400076fa
xor eax, eax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
jmp 0x14000717c
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 1
jmp 0x14000719f
cmp byte [rbp + 0xd0], 0
je 0x140007803
mov rax, qword [rsp + 0x60]
mov rcx, qword [rbp + 0xb0]
mov r9, qword [rbp + 0xc8]
mov r8, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x54]
mov byte [rsp + 0x30], dil
mov word [rsp + 0x28], ax
mov byte [rsp + 0x20], sil
call fcn.140007a90
jmp 0x140007850
mov rax, qword [0x140104188]
mov byte [rbx + 0x13], 1
test rax, rax
je 0x14000777c
cmp byte [rax + 8], 0
je 0x14000777c
mov byte [rax + 0x15], 2
cmp byte [rbp + 0xd0], 0
je 0x1400077a2
or byte [r15], 8
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rax
jmp 0x1400063fe
lea eax, [rsi + 0x5c]
cmp al, 1
ja 0x140007803
movzx eax, byte [0x1400ffc73]
test al, 0xc0
je 0x1400077db
test al, 0x33
jne 0x1400077db
movzx edx, byte [reloc.OLEAUT32.dll_SafeArrayGetElemsize]
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
lea ecx, [r8 + 2]
call fcn.140010ec0
mov r14d, dword [rsp + 0x54]
xor r9d, r9d
mov dword [rsp + 0x28], 0xffc3d44d
movzx r8d, r14w
movzx edx, sil
mov byte [rsp + 0x20], 0
lea ecx, [r9 + 1]
call fcn.140010ec0
jmp 0x140007808
mov r14d, dword [rsp + 0x54]
test dil, dil
jne 0x140007811
mov byte [rbx + 0x14], 1
movzx r9d, r14w
xor eax, eax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x38], 0x7fffffff
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rax
mov rcx, qword [rbp + 0xb0]
mov byte [rsp + 0x20], dil
movzx r8d, sil
mov rdx, qword [rbp + 0xc8]
call fcn.140007910
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret