Function at 0x140005910
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 [0x140100eb8]
mov r12d, 0x3fff
setbe r13b
xor r11d, r11d
test r8, r8
jne 0x14000598e
lea r15, [rbp - 0x80]
mov qword [rsp + 0x60], r15
jmp 0x140005a55
movsxd rcx, dword [0x140100f18]
imul r15, rcx, 0xd4
inc ecx
add r15, r8
cmp ecx, dword [0x1400fca60]
mov qword [rsp + 0x60], r15
cmovge ecx, r11d
mov dword [0x140100f18], ecx
mov byte [r15], sil
mov byte [r15 + 6], dil
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x140100ed4], eax
sub ecx, dword [0x140106108]
xorps xmm0, xmm0
mov dword [0x140106108], eax
cvtsi2ss xmm0, rcx
divss xmm0, dword [0x1400ea4d8]
movss dword [r15 + 8], xmm0
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x140005a29
cmp rax, qword [0x140100f10]
je 0x140005a1f
mov rcx, qword [0x140100ea0]
lea r8, [r15 + 0xc]
mov r9, rax
mov edx, 0x418
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140005a37
xor r11d, r11d
mov word [r15 + 0xc], r11w
jmp 0x140005a3a
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 [0x140100f10], rbx
cmp sil, 0xe7
jne 0x140005a9d
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.140007ac0
jmp 0x14000787c
movzx ecx, word [rbp + 0xd8]
lea eax, [rsi + 0x64]
mov dword [rsp + 0x54], ecx
mov word [r15 + 2], cx
cmp al, 3
ja 0x140005abb
mov ecx, r11d
mov dword [rsp + 0x54], ecx
cmp r14, qword [0x140100ec0]
lea rdx, [0x140000000]
jne 0x140005afe
movzx ebx, byte [rbp + 0xf0]
mov r8, qword [0x140101da0]
and bl, 1
jne 0x140005c4a
test dil, dil
movzx eax, sil
mov ecx, 0x80
cmovne ecx, r11d
mov byte [rax + rdx + 0x101c70], cl
jmp 0x140005c4a
mov r15d, dword [rbp + 0xf0]
mov eax, 0x100
mov ebx, r15d
shr ebx, 4
and bl, 1
test ax, cx
jne case.0x140005b58.13
lea ecx, [rax - 0x70]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je case.0x140005b58.13
movzx eax, sil
add eax, 0xfffffff4
cmp eax, 0x62
ja case.0x140005b58.13
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x78c0]
mov ecx, dword [rdx + rax*4 + 0x7890]
add rcx, rdx
jmp rcx
test dil, dil
sete byte [0x140106188]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x140106189]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618a]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618b]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618c]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618d]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618e]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x14010618f]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x140106190]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x140106191]
jmp case.0x140005b58.13
test dil, dil
sete byte [0x140106192]
mov r8, qword [0x140101da0]
movzx r14d, sil
imul rax, r14, 0x128
cmp byte [rax + r8 + 8], 0
jne 0x140005c3e
movzx r8d, dil
movzx edx, sil
mov ecx, r15d
call fcn.140009180
mov r8, qword [0x140101da0]
mov r15, qword [rsp + 0x60]
test al, al
je 0x140005c43
test dil, dil
lea rax, [0x140000000]
mov ecx, 0x80
mov edx, 0
cmovne ecx, edx
mov byte [r14 + rax + 0x101c70], cl
mov r14, qword [rbp + 0xb0]
jmp 0x140005c4c
mov r15, qword [rsp + 0x60]
mov r14, qword [rbp + 0xb0]
xor edx, edx
mov eax, 0x69
test r13b, r13b
jne 0x140005c66
test bl, bl
mov eax, SafeArrayAllocDescriptor
mov ecx, 0x61
cmovne ax, cx
cmp byte [0x140101c4b], 0
lea rcx, [r15 + 4]
mov qword [rsp + 0x70], rcx
mov word [rcx], ax
je 0x140005cb2
lea eax, [rsi - 0x5b]
cmp al, 1
ja 0x140005cb2
test dil, dil
jne 0x140005cb2
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 0x14000786c
cmp byte [0x140106170], 0
je 0x140005d82
cmp sil, 0x1b
jne 0x140005d82
test dil, dil
jne 0x140005d82
xor edx, edx
lea rcx, str.32771
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140005d7b
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 0x140005d7b
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, sil
xor ecx, ecx
call fcn.140010f50
movzx edx, byte [0x140101c6a]
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.140010f50
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 0x140007870
mov r8, qword [0x140101da0]
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 [0x140101d98]
add rbx, rax
cmp r10, qword [0x140100ec8]
movzx eax, byte [rbx + 0x16]
mov byte [rsp + 0x59], al
jne 0x140005dbd
test al, al
jne 0x140005dcb
movzx eax, sil
imul rbx, rax, 0x128
add rbx, r8
test r13b, r13b
je 0x140005e3d
mov eax, 0xffc3d44e
cmp qword [rbp + 0xe8], rax
jne 0x140005dfd
test dil, dil
je 0x140005dfd
cmp qword [0x140106178], rbx
jne 0x140005dfd
xor eax, eax
mov byte [rbx + 0x10], 0
mov qword [0x140106178], 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.140007ac0
jmp 0x14000787c
test dil, dil
jne 0x140005e4b
mov byte [rbx + 0x14], dil
mov word [rbx + 0xa], r12w
cmp r10, qword [0x140100ec8]
jne 0x140005f4d
test dil, dil
je 0x140005f11
cmp byte [0x14010612c], 0
je 0x140005e70
cmp sil, 0x5b
je 0x140005e9d
cmp byte [0x14010612d], 0
je 0x140005e7f
cmp sil, 0x5c
je 0x140005e9d
cmp byte [0x14010612e], 0
je 0x140005e8e
cmp sil, 0xa4
je 0x140005e9d
cmp byte [0x14010612f], 0
je 0x140005f11
cmp sil, 0xa5
jne 0x140005f11
movzx ecx, sil
sub ecx, 0x5b
je 0x140005ed0
sub ecx, 1
je 0x140005ec7
sub ecx, 0x48
je 0x140005ebe
cmp ecx, 1
jne 0x140005ed7
mov byte [0x14010612f], 0
jmp 0x140005ed7
mov byte [0x14010612e], 0
jmp 0x140005ed7
mov byte [0x14010612d], 0
jmp 0x140005ed7
mov byte [0x14010612c], 0
test byte [0x140101c6a], 3
jne 0x140005f11
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.140010f50
mov r8, qword [0x140101da0]
mov r10, qword [rbp + 0xb0]
mov rax, qword [0x140106178]
test rax, rax
je 0x140005fec
cmp rax, rbx
je 0x140005fec
test dil, dil
jne 0x140005fec
cmp r10, qword [0x140100ec8]
jne 0x140005fd2
xor eax, eax
cmp byte [rbx + 8], al
sete al
jmp 0x140005fdd
test sil, sil
jne 0x140005f76
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 0x140005e1c
lea eax, [rsi - 1]
cmp al, 1
ja 0x140005f11
cmp dword [0x140100af4], 0
jne 0x140005fc4
xor edx, edx
lea rcx, str.32768
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140005f03
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp eax, dword [0x1401052c0]
mov r10, qword [rbp + 0xb0]
je 0x140005fc4
mov r8, qword [0x140101da0]
jmp 0x140005f11
test dil, dil
sete al
mov byte [rbx + 0x10], al
jmp 0x140005df9
mov rax, qword [0x140106178]
movzx eax, byte [rax + 8]
test eax, eax
je 0x140005fec
mov rax, qword [0x140106178]
mov byte [rax + 0x15], 1
cmp byte [rbx + 0xc], 0
jne 0x140005ffc
cmp byte [rbx + 0xd], 0
je 0x140005dfd
xor edx, edx
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x68], rdx
movzx r14d, r12w
test dil, dil
je 0x14000603c
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 0x14000604f
movzx r14d, ax
mov word [rsp + 0x50], ax
mov word [rbx + 0xa], r12w
jmp 0x14000604f
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 [0x140100ec8]
mov byte [rbx + 0x10], al
jne 0x1400060ce
cmp byte [rbx + 8], dl
je 0x1400060f6
cmp byte [r8 + 0xbb60], dl
jne 0x140006089
mov eax, edx
cmp byte [r8 + 0xbc88], dl
je 0x14000608b
mov eax, ecx
mov byte [r8 + 0x13b8], al
cmp byte [r8 + 0xbdb0], dl
jne 0x1400060a6
mov eax, edx
cmp byte [r8 + 0xbed8], dl
je 0x1400060a8
mov eax, ecx
mov byte [r8 + 0x14e0], al
cmp byte [r8 + 0xb910], dl
jne 0x1400060c3
mov eax, edx
cmp byte [r8 + 0xba38], dl
je 0x1400060c5
mov eax, ecx
mov byte [r8 + 0x1290], al
jmp 0x1400060f6
cmp qword [0x140100ec8], rdx
jne 0x1400060f6
call fcn.140013a60
mov r8, qword [0x140101da0]
mov byte [0x140101c69], al
mov byte [0x140101c6a], al
mov byte [rbp + 0xd0], 1
mov rax, qword [rbx]
test rax, rax
je 0x140006108
cmp dword [rax], 7
mov byte [rsp + 0x5a], 1
je 0x14000610d
mov byte [rsp + 0x5a], 0
movzx ecx, byte [rbx + 0xc]
test cl, cl
je 0x1400062f5
test dil, dil
jne 0x1400062f5
mov rax, qword [0x140106178]
test rax, rax
je 0x14000613d
cmp byte [rbx + 0xd], dil
je 0x14000613d
cmp rbx, rax
jne 0x1400062f5
cmp cl, 1
jne 0x14000616c
movzx eax, byte [rsp + 0x59]
movzx ecx, word [rsp + 0x54]
test al, al
jne 0x140006154
movzx ecx, sil
movzx edx, al
call fcn.14000bc30
mov r8, qword [0x140101da0]
test al, al
je 0x14000616c
mov r15b, 1
jmp 0x140006183
xor r15b, r15b
cmp rbx, qword [0x140106178]
je 0x140006183
mov qword [0x140106178], rbx
mov byte [rbx + 0x15], r15b
cmp byte [rbx + 0xd], 0
je 0x140006254
cmp byte [rbp + 0xd0], 0
jne 0x1400061ab
mov cl, 1
mov byte [rbp + 0xd0], 1
call fcn.140013a60
mov r8, qword [0x140101da0]
movzx eax, byte [rbx + 8]
movzx ecx, byte [0x140101c69]
test al, al
je 0x1400061be
not al
and cl, al
test cl, cl
jne 0x1400061d1
test r15b, r15b
jne 0x1400061d1
test byte [rbx + 0xf], 1
je 0x140006254
mov r10, qword [rbp + 0xb0]
cmp r10, qword [0x140100ec8]
jne 0x1400061fd
cmp byte [rsp + 0x59], 0
je 0x1400061fd
mov rax, qword [0x140101db0]
movzx ecx, cl
shl rcx, 9
add rcx, qword [rsp + 0x78]
jmp 0x140006212
movzx ecx, cl
movzx eax, sil
shl rcx, 8
add rcx, rax
mov rax, qword [0x140101db8]
movzx r14d, word [rax + rcx*2]
mov eax, 0x4000
mov word [rsp + 0x50], r14w
test ax, r14w
je 0x14000622f
mov word [rbx + 0xa], r14w
jmp 0x140006265
movzx eax, r14w
and ax, r12w
cmp ax, word [0x140103d38]
jae 0x14000625b
movzx ecx, ax
mov rax, qword [0x140101da8]
movzx ecx, word [rax + rcx*2]
mov word [rbx + 0xa], cx
jmp 0x14000625b
mov r10, qword [rbp + 0xb0]
cmp r14w, r12w
jne 0x1400062f0
test r15b, r15b
je 0x14000627b
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 0x1400062c9
test byte [rbx + 0xf], 1
jne 0x1400062c9
cmp byte [rsp + 0x5a], 0
jne 0x1400062c9
test r15b, r15b
jne 0x1400062c9
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 0x14000786c
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 0x140005e17
mov r15, qword [rsp + 0x60]
cmp byte [rbx + 0xd], 0
mov byte [rsp + 0x5b], 0
je 0x140006372
test dil, dil
je 0x140006372
cmp qword [0x140106178], rbx
jne 0x14000631e
test r13b, r13b
je 0x140006372
xor edx, edx
mov qword [0x140106178], rdx
jmp 0x140006320
xor edx, edx
cmp byte [rbx + 0xe], 0
jne 0x14000636d
movzx eax, byte [rbx + 0xf]
test al, 8
je 0x140006337
xor cl, cl
and al, 0xf7
mov byte [rbx + 0xf], al
jmp 0x140006339
mov cl, 1
test r13b, r13b
je 0x14000640f
test cl, cl
je 0x14000640f
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 0x140007860
mov byte [rsp + 0x5b], 1
cmp byte [rbx + 0xc], 0
je 0x1400065d9
test dil, dil
je 0x1400065d9
mov rax, qword [0x140106178]
mov ecx, 0
cmp rax, rbx
cmove rax, rcx
lea r13d, [rcx + 1]
mov qword [0x140106178], rax
cmp byte [rbx + 0x11], cl
je 0x1400063ce
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.140010f50
mov r8, qword [0x140101da0]
cmp byte [rbx + 0x12], 0
je 0x1400063fc
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.140010f50
mov r8, qword [0x140101da0]
cmp r14w, r12w
jne 0x14000643d
movzx eax, byte [rbx + 0xf]
test al, 8
je 0x14000643d
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 0x140005e1f
movzx ecx, byte [rsp + 0x5a]
movzx eax, byte [rbx + 0x15]
test cl, cl
je 0x1400064f1
cmp al, 2
jne 0x1400064bb
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.140010f50
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.140010f50
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 0x140007860
cmp al, 1
jne 0x14000659a
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 0x140005e1f
test al, al
je 0x14000659a
cmp r14w, r12w
jne 0x14000659a
cmp byte [rbx + 8], 0
mov rcx, qword [rbp + 0xb0]
je 0x14000655b
mov r9, qword [rbp + 0xc8]
cmp al, 2
mov eax, dword [rsp + 0x54]
mov r8, qword [rbp + 0xc0]
mov edx, dword [rbp + 0xb8]
jne 0x140006533
mov byte [rsp + 0x48], 1
jmp 0x140006538
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.140007ac0
jmp 0x14000787c
test byte [rbx + 0xf], 1
je 0x140006575
mov byte [rsp + 0x48], 0
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r15
jmp 0x1400071c9
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 0x140007867
cmp byte [rbx + 0xd], 0
jne 0x1400065c8
cmp byte [rbx + 8], 0
jne 0x14000640f
test byte [rbx + 0xf], 1
jne 0x14000640f
test cl, cl
jne 0x14000640f
xor eax, eax
mov qword [rsp + 0x40], rax
jmp 0x14000634f
cmp byte [rsp + 0x58], 0
jne 0x1400065d9
cmp byte [rbx + 0xe], 0
je 0x14000640f
cmp byte [rbp + 0xd0], 0
jne 0x1400065f6
cmp r14w, r12w
jne 0x1400065f6
mov cl, 1
call fcn.140013a60
mov r8, qword [0x140101da0]
cmp qword [0x140106178], 0
mov r11d, 0x3ffa
mov byte [rbp + 0xd0], 0
je 0x140006d02
test dil, dil
je 0x140006620
cmp byte [rbx + 0xe], 0
je 0x140006d02
cmp r14w, r12w
jne 0x140007044
movzx r9d, byte [rbx + 0x17]
xor r10d, r10d
mov r15, qword [0x140101da0]
mov r8d, r10d
test r9d, r9d
je 0x140006771
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 0x1400066a8
movzx eax, word [rdx + 2]
mov r13d, 0x4000
test r13w, ax
je 0x140006692
test dil, dil
jne 0x1400066b6
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x1400066d4
jmp 0x1400066a8
test dil, dil
jne 0x1400066a8
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 0x140006660
jmp 0x1400066ca
movzx r14d, word [rdx + 2]
movzx r11d, byte [rdx]
mov word [rsp + 0x50], r14w
mov byte [rsp + 0x58], r11b
cmp r14w, r12w
je 0x14000677c
movzx ecx, r11b
sub ecx, 0x10
je 0x140006740
sub ecx, 1
je 0x14000672b
movzx r13d, word [rbp + 0xd0]
cmp ecx, 1
je 0x140006702
movzx eax, r11b
imul rcx, rax, 0x128
add rcx, r15
jmp 0x140006820
mov rax, r10
cmp byte [r15 + 0xbed8], al
setne al
add rax, 0xa4
imul rax, rax, 0x128
add rax, r15
mov qword [0x140106178], rax
jmp 0x140006827
mov rax, r10
cmp byte [r15 + 0xbc88], al
setne al
add rax, 0xa2
jmp 0x140006753
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 [0x140106178], rax
jmp 0x140006827
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 0x140006831
lea r8, [rbx + 0xe2]
nop dword [rax]
movzx edx, word [r8]
mov rax, qword [0x140101d98]
imul rcx, rdx, 0x128
cmp byte [rcx + rax + 0x10], 0
je 0x1400067eb
movzx eax, word [r8 + 2]
mov ecx, 0x4000
test cx, ax
je 0x1400067d9
test dil, dil
jne 0x1400067f9
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x14000680e
jmp 0x1400067eb
test dil, dil
jne 0x1400067eb
movzx r14d, ax
mov word [rsp + 0x50], ax
movzx r13d, dx
inc r9d
add r8, 4
cmp r9d, r10d
jl 0x1400067a0
jmp 0x140006808
movzx r14d, word [r8 + 2]
movzx r13d, word [r8]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
je 0x140006831
movzx eax, r13w
imul rcx, rax, 0x128
add rcx, qword [0x140101d98]
mov qword [0x140106178], rcx
cmp r14w, r12w
jne case.default.0x140006856
movzx eax, sil
add eax, 0xffffff60
cmp eax, 5
ja case.default.0x140006856
lea rdx, [0x140000000]
cdqe
mov ecx, dword [rdx + rax*4 + 0x7924]
add rcx, rdx
jmp rcx
mov al, reloc.OLEAUT32.dll_SafeArrayGetElemsize
jmp 0x140006862
mov al, reloc.OLEAUT32.dll_SafeArrayGetUBound
jmp 0x140006862
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 0x1400068fb
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 0x1400068db
movzx eax, word [rdx + 2]
mov r10d, 0x4000
test r10w, ax
mov r10d, 0
je 0x1400068c9
test dil, dil
jne 0x1400068e9
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x140006901
jmp 0x1400068db
test dil, dil
jne 0x1400068db
movzx r14d, ax
mov word [rsp + 0x50], ax
mov byte [rsp + 0x58], cl
inc r8
add rdx, 4
cmp r8, r9
jl 0x140006890
jmp 0x1400068fb
movzx r14d, word [rdx + 2]
movzx eax, byte [rdx]
mov word [rsp + 0x50], r14w
mov byte [rsp + 0x58], al
cmp r14w, r12w
je 0x14000697f
movzx edx, byte [rsp + 0x58]
mov ecx, edx
sub ecx, 0x10
je 0x140006955
sub ecx, 1
je 0x14000693f
cmp ecx, 1
je 0x140006929
movzx eax, dl
imul rcx, rax, 0x128
add rcx, r15
jmp 0x140006a1f
cmp byte [r15 + 0xbed8], 0
mov rax, r10
setne al
add rax, 0xa4
jmp 0x140006969
cmp byte [r15 + 0xbc88], 0
mov rax, r10
setne al
add rax, 0xa2
jmp 0x140006969
cmp byte [r15 + 0xba38], 0
mov rax, r10
setne al
add rax, 0xa0
imul rax, rax, 0x128
add rax, r15
mov qword [0x140106178], rax
jmp case.default.0x140006856
movzx r10d, byte [r11 + r15 + 0x18]
xor eax, eax
mov r9d, eax
test r10, r10
je case.default.0x140006856
lea rdx, [r15 + 0xe2]
add rdx, r11
nop dword [rax]
movzx r8d, word [rdx]
mov rax, qword [0x140101d98]
imul rcx, r8, 0x128
cmp byte [rcx + rax + 0x10], 0
je 0x1400069ea
movzx eax, word [rdx + 2]
mov ecx, 0x4000
test cx, ax
je 0x1400069d8
test dil, dil
jne 0x1400069f8
mov word [rbx + 0xa], ax
cmp r14w, r12w
jne 0x140006a0d
jmp 0x1400069ea
test dil, dil
jne 0x1400069ea
movzx r14d, ax
mov word [rsp + 0x50], ax
movzx r13d, r8w
inc r9
add rdx, 4
cmp r9, r10
jl 0x1400069a0
jmp 0x140006a07
movzx r14d, word [rdx + 2]
movzx r13d, word [rdx]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
je case.default.0x140006856
movzx eax, r13w
imul rcx, rax, 0x128
add rcx, qword [0x140101d98]
mov qword [0x140106178], rcx
movzx r15d, r14w
and r15w, r12w
cmp r14w, r12w
je 0x140006ae2
cmp r15w, word [0x140103d38]
jae 0x140006ad7
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.14000be60
mov r8, rax
test rax, rax
je 0x1400077b5
mov rax, qword [rbp + 0xe8]
movabs rcx, 0xffffffff003c2c17
add rcx, rax
cmp rcx, 0x66
ja 0x140006ab1
movzx edx, byte [r8 + 0x24]
mov ecx, 0xffc3d44d
sub ecx, eax
cmp ecx, edx
jg 0x140006ab1
test r14, r14
je 0x140006aad
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x140006ab3
mov al, 1
xor ecx, ecx
test al, al
cmovne rcx, r8
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x1400077b5
movzx r14d, word [rsp + 0x50]
movzx r15d, r14w
and r15w, r12w
mov rax, qword [0x140106178]
mov byte [rax + 0x15], 2
movzx eax, r15w
mov ecx, 0x3ffd
sub ax, cx
cmp ax, 1
ja 0x140006cf5
test dil, dil
jne 0x140006b01
mov byte [rbx + 0x13], 1
test byte [0x140101c6a], 0xc
jne 0x140006b26
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.140010f50
mov r14d, dword [rsp + 0x54]
lea eax, [rsi + 0x5e]
mov r13d, 1
cmp al, r13b
ja 0x140006b5e
test dil, dil
jne 0x140006b5e
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
movzx r8d, r14w
mov byte [rsp + 0x20], dil
movzx edx, sil
mov ecx, r13d
call fcn.140010f50
mov rax, qword [0x140106178]
mov byte [rax + 0x11], 1
mov eax, 0x3ffd
cmp r15w, ax
jne 0x140006ba9
test byte [0x140101c6a], 0x30
jne 0x140006b99
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.140010f50
mov rax, qword [0x140106178]
mov byte [rax + 0x12], 1
jmp 0x140006c2c
mov ecx, 0x3ffe
cmp r15w, cx
jne 0x140006c2c
lea eax, [rsi + 0x60]
cmp al, 1
ja 0x140006be0
test dil, dil
jne 0x140006be0
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
movzx r8d, r14w
mov byte [rsp + 0x20], dil
movzx edx, sil
mov ecx, r13d
call fcn.140010f50
test byte [0x140101c6a], 0x10
je 0x140006c06
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa0
mov ecx, r13d
call fcn.140010f50
test byte [0x140101c6a], 0x20
je 0x140006c2c
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa1
mov ecx, r13d
call fcn.140010f50
test byte [0x140101c6a], 1
je 0x140006c52
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa2
mov ecx, r13d
call fcn.140010f50
test byte [0x140101c6a], 2
je 0x140006c78
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
mov dl, 0xa3
mov ecx, r13d
call fcn.140010f50
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.140010f50
mov eax, 0x3ffd
cmp r15w, ax
jne 0x140006ce3
mov rax, qword [0x140106178]
cmp byte [rax + 0x12], 0
je 0x140006ce3
lea eax, [rsi - 0x60]
cmp al, 9
jbe 0x140006cbb
cmp sil, 0x6e
jne 0x140006ce3
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.140010f50
mov rax, qword [0x140106178]
mov byte [rax + 0x12], 0
mov rcx, qword [rsp + 0x70]
mov eax, 0x68
mov word [rcx], ax
jmp 0x140007834
mov r8, qword [0x140101da0]
mov r11d, 0x3ffa
cmp r14w, r12w
jne 0x140007044
movzx eax, byte [rbx + 8]
movzx edx, byte [0x140101c69]
test al, al
je 0x140006d1f
not al
and dl, al
mov r13, qword [rbp + 0xb0]
cmp r13, qword [0x140100ec8]
movzx r9d, byte [rsp + 0x59]
jne 0x140006d52
test r9b, r9b
je 0x140006d52
mov r10, qword [rsp + 0x78]
mov rax, qword [0x140101db0]
movzx ecx, dl
shl rcx, 9
add rcx, r10
jmp 0x140006d6c
mov r10, qword [rsp + 0x78]
movzx eax, sil
movzx ecx, dl
shl rcx, 8
add rcx, rax
mov rax, qword [0x140101db8]
movzx r14d, word [rax + rcx*2]
mov word [rsp + 0x50], r14w
cmp r14w, r12w
jne 0x140006deb
cmp byte [0x140106170], 0
je 0x140006deb
cmp sil, 9
je 0x140006deb
and dl, 0xf3
cmp r13, qword [0x140100ec8]
jne 0x140006db0
test r9b, r9b
je 0x140006db0
mov rax, qword [0x140101db0]
movzx ecx, dl
shl rcx, 9
add rcx, r10
jmp 0x140006dc5
movzx eax, sil
movzx ecx, dl
shl rcx, 8
add rcx, rax
mov rax, qword [0x140101db8]
movzx r14d, word [rax + rcx*2]
movzx eax, r14w
mov word [rsp + 0x50], r14w
and ax, r12w
sub ax, r11w
cmp ax, 4
jbe 0x140006deb
mov r14d, r12d
mov word [rsp + 0x50], r12w
mov eax, 0x4000
test ax, r14w
je 0x140006e31
test dil, dil
jne 0x140006f47
mov word [rbx + 0xa], r14w
cmp word [rbx + 0xa], r12w
lea rcx, [rbx + 0xa]
jne 0x140006fcf
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 0x140006fb9
cmp r14w, r12w
je 0x140006f51
movzx eax, r14w
and ax, r12w
test dil, dil
je 0x140006f2c
cmp ax, word [0x140103d38]
jae 0x140006f23
movzx r15d, ax
mov rax, qword [0x140101da8]
cmp word [rax + r15*2], r12w
je 0x140006f23
cmp byte [rsp + 0x5b], 0
jne 0x140006ead
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.14000be60
mov rdx, rax
test rax, rax
jne 0x140006ec4
mov r8, qword [0x140101da0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140101da8]
movzx r14d, word [rax + r15*2]
mov word [rsp + 0x50], r14w
jmp 0x140006f47
mov r8, qword [rbp + 0xe8]
movabs rax, 0xffffffff003c2c17
add rax, r8
cmp rax, 0x66
ja 0x140006f00
movzx ecx, byte [rdx + 0x24]
mov eax, 0xffc3d44d
sub eax, r8d
cmp eax, ecx
jg 0x140006f00
test r14, r14
je 0x140006efc
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x140006f02
mov al, 1
mov r8, qword [0x140101da0]
xor ecx, ecx
test al, al
cmovne rcx, rdx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140006ead
movzx r14d, word [rsp + 0x50]
jmp 0x140006f47
cmp byte [rsp + 0x5b], 0
jne 0x140006f51
jmp 0x140006f47
cmp ax, word [0x140103d38]
jae 0x140006f47
movzx ecx, ax
mov rax, qword [0x140101da8]
movzx ecx, word [rax + rcx*2]
mov word [rbx + 0xa], cx
cmp r14w, r12w
jne 0x14000704b
test dil, dil
je 0x140006e04
cmp byte [rbx + 8], 0
jne 0x140006fa0
test byte [rbx + 0xf], 1
jne 0x140006fa0
cmp byte [rbx + 0xc], 0
je 0x140006fa0
cmp byte [rsp + 0x5a], 0
jne 0x140006fa0
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 0x140007867
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 0x140005e1f
lea r8, [rbx + 0xf]
mov dl, 1
xor ebx, ebx
lea r9, [rbp + 0xd0]
mov qword [rsp + 0x20], rbx
call fcn.14000be60
mov rcx, r13
mov rax, qword [rsp + 0x60]
cmp byte [rbp + 0xd0], bl
je 0x14000701d
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 0x140005e1f
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 0x14000786c
mov r13, qword [rbp + 0xb0]
movzx eax, byte [rbx + 0xf]
lea r15, [rbx + 0xf]
test al, 8
je 0x140007068
test dil, dil
je 0x140007068
and al, 0xf7
mov byte [rbp + 0xd0], 1
mov byte [r15], al
movzx eax, r14w
and ax, r12w
cmp ax, word [0x140103d38]
jae 0x140007119
cmp qword [rsp + 0x68], 0
jne 0x140007119
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.14000be60
mov rdx, rax
test rax, rax
je 0x140007181
mov r8, qword [rbp + 0xe8]
movabs rax, 0xffffffff003c2c17
lea rcx, [r8 + rax]
cmp rcx, 0x66
ja 0x1400070f4
movzx ecx, byte [rdx + 0x24]
mov eax, 0xffc3d44d
sub eax, r8d
cmp eax, ecx
jg 0x1400070f4
test r14, r14
je 0x1400070f0
mov eax, 0x69
mov word [r14], ax
xor al, al
jmp 0x1400070f6
mov al, 1
xor r14d, r14d
test al, al
mov ecx, r14d
cmovne rcx, rdx
mov qword [rsp + 0x68], rcx
test rcx, rcx
je 0x140007184
movzx r14d, word [rsp + 0x50]
mov r8, qword [0x140101da0]
movzx eax, byte [0x140101c6a]
and r14w, r12w
cmp r13, qword [0x140100ec8]
jne 0x140007275
test al, 0x3f
jne 0x1400072b6
test al, 0x40
je 0x14000715a
movzx eax, byte [0x14010612c]
mov ecx, 1
cmp byte [r8 + 0x6944], 0
cmove eax, ecx
mov byte [0x14010612c], al
test byte [0x140101c6a], 0x80
je 0x1400072b6
cmp byte [r8 + 0x6a6c], 0
jne 0x1400072b6
mov byte [0x14010612d], 1
jmp 0x1400072b6
xor r14d, r14d
test dil, dil
je 0x1400071e1
cmp byte [rbx + 0x14], 0
mov rcx, r13
mov rax, qword [rsp + 0x60]
je 0x1400071ba
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 0x140007867
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 0x140005e1f
cmp word [rbx + 0xa], r12w
lea rcx, [rbx + 0xa]
je 0x140006e13
lea r9, [rbp + 0xd0]
mov byte [rbp + 0xd0], 0
mov r8, r15
mov qword [rsp + 0x20], r14
mov dl, 1
call fcn.14000be60
cmp byte [rbp + 0xd0], 0
mov rcx, r13
mov rax, qword [rsp + 0x60]
je 0x140007245
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 0x140005e1f
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 0x14000786c
test al, 0xc
jne 0x1400072b6
test al, 0x40
je 0x140007290
cmp byte [r8 + 0x6944], 0
jne 0x140007290
mov byte [0x14010612c], 1
jmp 0x1400072b6
test byte [0x140101c6a], 0x80
je 0x1400072b6
movzx eax, byte [0x14010612d]
mov ecx, 1
cmp byte [r8 + 0x6a6c], 0
cmove eax, ecx
mov byte [0x14010612d], al
test byte [0x140101c6a], 4
je 0x1400072dc
cmp byte [r8 + 0xbdac], 0
jne 0x1400072dc
cmp qword [0x140100ec8], 0
je 0x14000730b
mov byte [0x14010612e], 1
jmp 0x14000732e
test byte [0x140101c6a], 8
je 0x14000732e
cmp byte [r8 + 0xbed4], 0
jne 0x14000732e
call fcn.140013fd0
test al, al
jne 0x14000732e
cmp qword [0x140100ec8], 0
je 0x14000730b
mov byte [0x14010612f], 1
jmp 0x14000732e
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.140010f50
movzx eax, r14w
cmp eax, 0x3ffa
je 0x14000737f
jbe 0x14000734f
cmp eax, 0x3ffc
jbe 0x14000738c
mov ecx, 0x3ffe
cmp eax, ecx
jbe 0x14000743a
mov rcx, qword [rsp + 0x68]
movzx r12d, r14w
mov rax, qword [rcx + 8]
test rax, rax
je 0x140007686
cmp byte [rax], 5
jb 0x140007686
movzx eax, word [rcx + 0x20]
shl eax, 0x10
cdqe
or r12, rax
jmp 0x140007686
cmp byte [0x140106170], 0
je 0x140006fa0
xor al, al
test byte [0x140101c6a], 4
je 0x14000739c
mov r13b, 0xa4
jmp 0x1400073b0
test byte [0x140101c6a], 8
movzx r13d, al
mov eax, 0xa5
cmovne r13d, eax
cmp byte [0x140106170], 0
je 0x140007524
mov eax, 0x3ffb
cmp r14w, ax
je 0x140007433
movzx eax, r13b
test r13b, r13b
jne 0x1400073d6
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.140010f50
cmp byte [rbx + 8], 0
je 0x140007427
lea eax, [rsi - 0x5b]
cmp al, 1
jbe 0x140007427
test dil, dil
jne 0x140007427
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.140010f50
mov byte [0x140106170], 0
jmp 0x140007686
mov r13, qword [rbp + 0xb0]
cmp byte [0x140106170], 0
je 0x140006fa0
test dil, dil
jne 0x140007473
lea eax, [rsi + 0x60]
cmp al, 3
ja 0x140007473
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.140010f50
test byte [0x140101c6a], 0xc
je 0x140007488
test dil, dil
je 0x1400074a4
lea eax, [rsi + 0x5c]
cmp al, 1
ja 0x1400074a4
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.140010f50
xor r15b, r15b
mov eax, 0x3ffd
cmp r14w, ax
jne 0x1400074da
test byte [0x140101c6a], 0x30
jne 0x1400074da
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.140010f50
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.140010f50
test r15b, r15b
je 0x140007682
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.140010f50
jmp 0x140007682
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 [0x140101c6a], 0x10
je 0x140007553
mov r15b, 0xa0
jmp 0x140007574
test byte [0x140101c6a], 0x20
je 0x140007561
mov r15b, 0xa1
jmp 0x140007574
test dil, dil
jne 0x140007574
test dl, dl
movzx r15d, r15b
movzx eax, sil
cmovne r15d, eax
xor r14b, r14b
test byte [0x140101c6a], 1
je 0x140007585
mov r14b, 0xa2
jmp 0x1400075a6
test byte [0x140101c6a], 2
je 0x140007593
mov r14b, 0xa3
jmp 0x1400075a6
test dil, dil
jne 0x1400075a6
test cl, cl
movzx r14d, r14b
movzx eax, sil
cmovne r14d, eax
mov byte [rbp + 0xe8], 0
test r15b, r15b
je 0x1400075d9
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.140010f50
mov byte [rbp + 0xe8], 1
test r14b, r14b
je 0x1400075fe
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.140010f50
cmp byte [rsp + 0x5b], 0
je 0x14000760e
test dil, dil
jne 0x140007613
movzx r13d, sil
test r13b, r13b
jne 0x14000762f
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.140010f50
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.140010f50
cmp byte [rbp + 0xe8], 0
je 0x14000767b
cmp byte [rsp + 0x59], 0
jne 0x14000767b
xor r8d, r8d
mov dword [rsp + 0x28], 0xffc3d44d
xor r9d, r9d
mov byte [rsp + 0x20], r8b
movzx edx, r15b
xor ecx, ecx
call fcn.140010f50
mov byte [0x140106170], 1
lea r15, [rbx + 0xf]
cmp byte [rsp + 0x5a], 0
mov eax, 0x68
mov rcx, qword [rsp + 0x70]
mov word [rcx], ax
je 0x1400076f9
test dil, dil
je 0x14000778e
cmp byte [rbx + 0xc], 0
je 0x1400076f9
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.140010f50
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.140010f50
movzx r9d, bx
jmp 0x140007841
test dil, dil
je 0x14000778e
cmp byte [rbx + 8], 0
je 0x140007735
cmp byte [rbx + 0x14], 0
mov rcx, qword [rbp + 0xb0]
je 0x140007726
xor eax, eax
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x60]
jmp 0x14000719c
mov rax, qword [rsp + 0x60]
mov byte [rsp + 0x48], 1
jmp 0x1400071bf
cmp byte [rbp + 0xd0], 0
je 0x14000782f
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.140007ac0
jmp 0x14000787c
mov rax, qword [0x140106178]
mov byte [rbx + 0x13], 1
test rax, rax
je 0x1400077a8
cmp byte [rax + 8], 0
je 0x1400077a8
mov byte [rax + 0x15], 2
cmp byte [rbp + 0xd0], 0
je 0x1400077ce
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 0x14000641e
lea eax, [rsi + 0x5c]
cmp al, 1
ja 0x14000782f
movzx eax, byte [0x140101c6a]
test al, 0xc0
je 0x140007807
test al, 0x33
jne 0x140007807
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.140010f50
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.140010f50
jmp 0x140007834
mov r14d, dword [rsp + 0x54]
test dil, dil
jne 0x14000783d
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.140007940
add rsp, 0x168
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret