Function at 0x1400171a0
Capabilities:
Print debug messages

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x18]
sub rsp, 0x118
mov rax, qword [0x1401f3030]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov qword [rbp - 0x50], r8
mov qword [rsp + 0x48], rdx
mov r14, r8
mov dword [rsp + 0x40], ebx
mov r15, rdx
mov rsi, rcx
mov edi, ebx
test rcx, rcx
je 0x140018088
test rdx, rdx
je 0x140018088
mov qword [rsp + 0x110], r13
lea r13, [rdx + 0x21c]
mov qword [rsp + 0x60], r13
test r13, r13
je 0x140017213
movups xmm0, xmmword [r13]
movaps xmmword [rbp - 0x40], xmm0
jmp 0x140017230
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
nop word [rax + rax]
movaps xmmword [rsp + 0x100], xmm6
cmp dword [r15 + 0x278], ebx
jne 0x140017f7f
cmp qword [0x14034b9f8], rbx
jne 0x14001734a
cmp dword [0x14034ba00], ebx
je 0x1400173c8
mov rax, qword [0x14034bdf8]
mov rcx, rbx
mov dword [rsp + 0x68], ebx
mov qword [rbp - 0x58], rbx
test rax, rax
jne 0x14001727a
lea edi, [rax + 3]
jmp 0x14001729a
xor edx, edx
lea r9, [rbp - 0x58]
lea r8, [rsp + 0x68]
lea ecx, [rdx + 2]
call rax
mov rcx, qword [rbp - 0x58]
test eax, eax
mov edi, eax
cmovne rcx, rbx
mov qword [rbp - 0x58], rcx
mov qword [0x14034b9f8], rcx
test rcx, rcx
je 0x14001806c
xorps xmm6, xmm6
mov qword [rsp + 0x78], rbx
lea r8, [rsp + 0x78]
movaps xmmword [rbp - 0x20], xmm6
xor edx, edx
call qword [0x14034be08]
mov rdx, qword [rsp + 0x78]
mov edi, eax
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x140017322
mov eax, dword [rdx]
test eax, eax
je 0x1400173a8
mov edi, ebx
jle 0x14001731e
movsxd rax, edi
imul rcx, rax, 0x214
lea rax, [rdx + 8]
add rax, rcx
je 0x1400172fc
movups xmm6, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm6
jmp 0x140017318
xorps xmm6, xmm6
movaps xmmword [rbp - 0x20], xmm6
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov rdx, qword [rsp + 0x78]
inc edi
cmp edi, dword [rdx]
jl 0x1400172e0
mov edi, dword [rsp + 0x40]
test rdx, rdx
je 0x140017335
mov rcx, rdx
call qword [0x14034be18]
mov qword [rsp + 0x78], rbx
cmp edi, 0x10df
je 0x140017342
movdqa xmmword [rbp - 0x40], xmm6
test edi, edi
jne 0x14001806c
mov qword [rsp + 0x168], r12
cmp dword [r15 + 0x284], ebx
jne 0x140017992
cmp dword [r15 + 0x238], 0x16
jne 0x14001745e
xor eax, eax
lock cmpxchg dword [0x140201984], ebx
and eax, 3
cmp al, 3
jne 0x140017992
lea r12, [0x1402019e8]
mov edx, 0x100
mov rcx, r12
call fcn.14015039c
lea rdi, [r15 + 0x1c]
lea r14, [rax + rax]
test rdi, rdi
jne 0x1400173d2
mov rax, rbx
jmp 0x1400173df
lea rcx, str.wlan_GetWifiInterface__There_are_no_Primary_Wifi_Interfaces_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x78]
mov edi, 0x10df
mov dword [rsp + 0x40], edi
jmp 0x140017322
mov edi, 0x70d
jmp 0x14001806c
mov edx, 0x100
mov rcx, rdi
call fcn.14015039c
add ax, ax
movzx eax, ax
cmp r14, rax
jne 0x140017992
mov r8, r14
mov rdx, r12
mov rcx, rdi
call fcn.14014bf50
test eax, eax
jne 0x140017992
movsx eax, byte [r15 + 0x24d]
mov dword [r15 + 0x290], 1
cmp al, 0xf
ja 0x140017992
cmp dword [0x140201bec], eax
je 0x140017992
cmp dword [0x140201554], ebx
mov dword [0x140201bec], eax
jne 0x140017992
xor eax, eax
lock cmpxchg dword [0x1401f3cf4], ebx
test al, 2
je 0x140017992
mov ecx, 1
call fcn.140016bf0
jmp 0x140017992
mov eax, dword [r15 + 0x22c]
mov dword [rsp + 0x58], eax
test eax, eax
je 0x140017992
mov rcx, qword [0x14034b9f8]
lea rdi, [r15 + 0x1c]
lea r8, [rbp - 0x80]
mov qword [rbp - 0x30], rdi
xor edx, edx
mov qword [rbp - 0x80], rbx
xorps xmm6, xmm6
mov dword [rsp + 0x44], ebx
call qword [0x14034be08]
mov dword [rsp + 0x40], eax
mov r12d, eax
test eax, eax
jne 0x14001794b
mov rax, qword [rbp - 0x80]
mov ecx, dword [rax]
test ecx, ecx
je 0x140017924
mov r12d, ebx
mov r13, rbx
jle 0x140017536
nop dword [rax]
imul r14, r13, 0x214
add r14, qword [rbp - 0x80]
lea r15, [r14 + 8]
test rdi, rdi
je 0x14001755e
lea rdi, [r14 + 0x18]
test rdi, rdi
jne 0x1400174e6
mov rax, rbx
jmp 0x1400174f3
mov edx, 0x100
mov rcx, rdi
call fcn.14015039c
add ax, ax
movzx ecx, ax
cmp dword [rsp + 0x58], ecx
jne 0x140017512
mov r8d, ecx
mov rdx, rdi
mov rcx, qword [rbp - 0x30]
call fcn.14014bf50
test eax, eax
je 0x140017590
mov ecx, dword [rsp + 0x44]
mov rdi, qword [rbp - 0x30]
mov rax, qword [rbp - 0x80]
inc r12d
inc r13
cmp r12d, dword [rax]
jl 0x1400174c0
mov r15, qword [rsp + 0x48]
test ecx, ecx
jne 0x140017941
cmp dword [r15 + 0x238], 0x16
lea r13, [r15 + 0x21c]
jne 0x140017917
test r13, r13
je 0x140017902
movups xmm6, xmmword [r13]
jmp 0x140017946
test r15, r15
je 0x140017572
movups xmm6, xmmword [r15]
mov ecx, 1
mov dword [rsp + 0x44], ecx
jmp 0x14001751a
xorps xmm6, xmm6
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov ecx, 1
mov dword [rsp + 0x44], ecx
jmp 0x14001751a
test r15, r15
je 0x14001759f
movups xmm6, xmmword [r15]
movaps xmmword [rbp - 0x30], xmm6
jmp 0x1400175b6
xorps xmm6, xmm6
movaps xmmword [rbp - 0x30], xmm6
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov rax, qword [rsp + 0x48]
cmp dword [rax + 0x238], 0x15
jne 0x14001793e
xor eax, eax
lock cmpxchg dword [0x140201984], ebx
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x70], rbx
test r15, r15
je 0x140017857
mov rcx, qword [0x14034b9f8]
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x11]
call qword [0x14034be00]
mov r12d, eax
test eax, eax
jne 0x14001762c
cmp qword [rsp + 0x70], rbx
je 0x14001762c
lea r13d, [rax + 1]
jmp 0x140017635
mov r12d, 0x3bd9
mov r13, rbx
lock or dword [0x140201984], 1
mov rax, qword [rsp + 0x48]
lea rcx, [0x140201568]
mov r9d, 0x100
mov r8, rdi
mov edx, r9d
movsx eax, byte [rax + 0x24d]
mov dword [0x14020176c], eax
movups xmm0, xmmword [r15]
movups xmmword [0x140201558], xmm0
call fcn.14015d518
mov r8, qword [rsp + 0x70]
mov eax, dword [r14 + 0x218]
mov dword [0x140201768], eax
test r8, r8
je 0x140017865
test r13, r13
je 0x140017865
mov eax, dword [r8]
test eax, eax
je 0x14001775f
mov edi, ebx
lea r12, [0x1402019e8]
nop word [rax + rax]
mov eax, edi
imul r14, rax, 0x214
lea rax, [r8 + 8]
add rax, r14
je 0x1400176ce
movups xmm0, xmmword [rax]
movups xmmword [0x1402019d8], xmm0
jmp 0x1400176ed
xorps xmm0, xmm0
movups xmmword [0x1402019d8], xmm0
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov r8, qword [rsp + 0x70]
mov eax, dword [r14 + r8 + 0x218]
mov edx, 0x100
mov dword [0x140201be8], eax
sub r8, r12
mov rcx, r12
nop word [rax + rax]
lea rax, [rdx + 0x7ffffefe]
test rax, rax
je 0x140017734
movzx eax, word [rcx + r8 + 0x18]
test ax, ax
je 0x140017734
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140017710
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], bx
lock or dword [0x140201984], 2
mov r8, qword [rsp + 0x70]
inc edi
cmp edi, dword [r8]
jb 0x1400176b0
jmp 0x140017877
xor eax, eax
mov r12d, 0x3bd9
lock cmpxchg dword [0x140201984], ebx
test al, 4
je 0x14001777b
lock and dword [0x140201984], 0xfffffffb
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140017790
call qword [0x14034be18]
mov qword [rsp + 0x70], rbx
test r12d, r12d
jne 0x140017857
xor eax, eax
lock cmpxchg dword [0x140201984], ebx
test al, 3
je 0x140017857
call fcn.140016b10
mov r8, rax
test rax, rax
je 0x140017857
xor eax, eax
lock cmpxchg dword [0x1401f3cf4], ebx
mov ecx, dword [r8 + 0x234]
mov r12d, 1
btr ecx, 8
mov dword [r8 + 0x238], reloc.OLEAUT32.dll_SafeArrayAccessData
or ecx, 0x4200
mov dword [r8 + 0x25c], r12d
cmp byte [r8 + 0x24d], 0xf
mov r9d, eax
mov dword [r8 + 0x234], ecx
mov dword [r8 + 0x230], ecx
ja 0x140017841
xor eax, eax
lock cmpxchg qword [0x14034b980], rbx
mov r10, rax
je 0x140017841
movsx rcx, byte [r8 + 0x24d]
mov eax, dword [r8 + 0x230]
imul rdx, rcx, 0x488
mov dword [rdx + r10 + 0x28], eax
mov eax, dword [r8 + 0x234]
mov dword [rdx + r10 + 0x54], eax
cmp dword [0x140201554], ebx
jne 0x140017857
test r9b, 2
je 0x140017857
mov ecx, r12d
call fcn.140016bf0
movaps xmm6, xmmword [rbp - 0x30]
mov r15, qword [rsp + 0x48]
jmp 0x140017941
xor eax, eax
lock cmpxchg dword [0x140201984], ebx
test al, 4
jne 0x140017773
mov rcx, qword [0x14034b9f8]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov rdx, r15
lea rax, [rsp + 0x54]
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x12]
call qword [0x14034be00]
mov rcx, qword [rbp - 0x70]
mov r12d, eax
test eax, eax
jne 0x1400178ee
mov eax, dword [rcx]
mov dword [0x140201554], eax
mov eax, dword [rcx]
mov dword [0x1402019d4], eax
cmp dword [rcx], 1
jne 0x1400178d4
lock or dword [0x140201984], 4
jmp 0x1400178ea
xor eax, eax
lock cmpxchg dword [0x140201984], ebx
test al, 4
je 0x1400178ea
lock and dword [0x140201984], 0xfffffffb
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14001777b
call qword [0x14034be18]
jmp 0x14001777b
xorps xmm6, xmm6
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
jmp 0x140017946
mov r12d, 0x490
mov dword [rsp + 0x40], r12d
jmp 0x14001794b
lea rcx, str.wlan_GetWifiInterface__There_are_no_Primary_Wifi_Interfaces_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov r12d, 0x10df
mov dword [rsp + 0x40], r12d
jmp 0x14001794b
mov r15, rax
mov r13, qword [rsp + 0x60]
mov r12d, dword [rsp + 0x40]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14001795e
call qword [0x14034be18]
mov qword [rbp - 0x80], rbx
cmp r12d, 0x10df
je 0x14001796d
movaps xmmword [rbp - 0x40], xmm6
jmp 0x140017971
movaps xmm6, xmmword [rbp - 0x40]
test r12d, r12d
jne 0x140017992
test r13, r13
jne 0x14001798d
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
jmp 0x140017992
movups xmmword [r13], xmm6
mov rcx, qword [0x14034b9f8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x60], rbx
lea rax, [rbp - 0x78]
mov qword [rbp - 0x68], rbx
mov qword [rsp + 0x28], rax
mov r14d, ebx
lea rax, [rsp + 0x58]
mov dword [rsp + 0x58], ebx
lea r8d, [r9 + 7]
mov qword [rsp + 0x20], rax
mov edi, ebx
mov dword [rsp + 0x44], ebx
mov qword [rbp - 0x78], rbx
mov dword [rsp + 0x50], 3
call qword [0x14034be00]
mov rcx, qword [rbp - 0x78]
test eax, eax
jne 0x140017b62
cmp dword [rcx], 1
je 0x140017a07
mov dword [rsp + 0x44], 2
jmp 0x140017b62
mov rcx, qword [0x14034b9f8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 8]
call qword [0x14034be00]
test eax, eax
jne 0x140017a4e
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x140017a4e
mov r14d, dword [rax]
mov rcx, qword [0x14034b9f8]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rdx, [rbp - 0x40]
xor r9d, r9d
lea rax, [rbp - 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0xc]
call qword [0x14034be00]
test eax, eax
jne 0x140017a94
cmp qword [rsp + 0x60], rbx
je 0x140017a94
mov rax, qword [rbp - 0x68]
mov edi, dword [rax]
mov rcx, qword [rbp - 0x78]
mov eax, 0x10624dd3
mul dword [rcx + 0x244]
movzx r9d, word [rcx + 0x240]
mov eax, 0x10624dd3
mov r8d, edx
mul dword [rcx + 0x248]
shr r8d, 6
shr edx, 6
cmp word [rsi + 0x282], r9w
je 0x140017ada
mov dword [rsp + 0x44], 8
mov word [rsi + 0x282], r9w
cmp r8d, dword [r15 + 0x23c]
jne 0x140017ae9
cmp r8d, dword [rsi + 0x6c]
je 0x140017af5
mov dword [rsp + 0x44], 8
mov dword [rsi + 0x6c], r8d
cmp edx, dword [r15 + 0x240]
jne 0x140017b03
cmp edx, dword [rsi + 0x68]
je 0x140017b0e
mov dword [rsp + 0x44], 8
mov dword [rsi + 0x68], edx
mov word [rsi + 0x280], r14w
cmp edi, 4
jne 0x140017b27
mov dword [rsi + 0x278], 1
jmp 0x140017b39
test edi, edi
mov eax, ebx
mov edx, 2
cmovne eax, edx
mov dword [rsi + 0x278], eax
lea rax, [rsi + 0x2b4]
test rax, rax
jne 0x140017b5b
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov rcx, qword [rbp - 0x78]
jmp 0x140017b62
movaps xmm0, xmmword [rbp - 0x40]
movups xmmword [rax], xmm0
test rcx, rcx
je 0x140017b71
call qword [0x14034be18]
mov qword [rbp - 0x78], rbx
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140017b86
call qword [0x14034be18]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140017b99
call qword [0x14034be18]
mov qword [rbp - 0x68], rbx
mov r12d, ebx
mov qword [rbp - 0x60], rbx
mov qword [rsp + 0x48], rbx
cmp dword [r15 + 0x278], ebx
jne 0x140017f66
mov rcx, qword [0x14034b9f8]
lea rax, [rbp - 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r13
call qword [0x14034bdf0]
test eax, eax
jne 0x140017f3f
mov rax, qword [rbp - 0x60]
mov edx, ebx
mov r8d, dword [rax]
test r8d, r8d
je 0x140017f3f
nop dword [rax + rax]
mov eax, edx
imul rdi, rax, 0x274
add rdi, qword [rbp - 0x60]
test byte [rdi + 0x274], 1
jne 0x140017c12
inc edx
cmp edx, r8d
jb 0x140017bf0
jmp 0x140017f3f
mov eax, dword [rdi + 0x208]
lea rdx, [rdi + 0x20c]
mov ecx, 0x20
mov dword [rsp + 0x68], ebx
cmp eax, ecx
cmova eax, ecx
movzx ecx, ax
lea rax, [rsi + 0x292]
mov word [rsi + 0x290], cx
test rcx, rcx
je 0x140017c9f
test rax, rax
jne 0x140017c55
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x140017c9a
test rdx, rdx
je 0x140017c6d
cmp rcx, 0x20
ja 0x140017c6d
mov r8, rcx
mov rcx, rax
call fcn.14014b350
jmp 0x140017c9f
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
test rdx, rdx
jne 0x140017c89
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
jmp 0x140017c9a
cmp rcx, 0x20
jbe 0x140017c9f
call fcn.140156d3c
mov dword [rax], 0x22
call fcn.1401501b4
movzx eax, word [rdi + 0x264]
mov word [rsi + 0x282], ax
mov eax, 6
cmp dword [r15 + 0x270], ebx
je 0x140017cc2
mov word [rsi + 0x284], ax
mov r10, qword [0x14034be10]
test r10, r10
je 0x140017f3f
mov r9d, dword [rdi + 0x22c]
mov r8, rbx
mov ecx, ebx
lea eax, [r9 - 1]
cmp eax, 1
ja 0x140017cf4
mov ecx, dword [rdi + 0x268]
lea r8, [rdi + 0x208]
lea rax, [rsp + 0x48]
mov rdx, r13
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], ecx
mov rcx, qword [0x14034b9f8]
call r10
test eax, eax
jne 0x140017f3f
mov eax, dword [rsi + 0x44]
mov r13, rbx
test al, 0x10
je 0x140017d34
and eax, 0x100
neg eax
sbb r13, r13
add r13, 2
movzx eax, word [rsi + 0x280]
mov word [rsp + 0x50], ax
movzx eax, word [rsi + 0x284]
mov word [rsp + 0x54], ax
mov rax, qword [rsp + 0x48]
cmp dword [rax + 4], ebx
jbe 0x140017f25
movzx ebx, word [rsp + 0x50]
lea rdi, [rsi + 0x288]
nop word [rax + rax]
mov eax, r12d
imul r11, rax, 0x168
mov eax, 0x10624dd3
add r11, qword [rsp + 0x48]
lea r14, [r11 + 0x30]
mul dword [r11 + 0x64]
movzx eax, byte [r14]
mov byte [rdi], al
mov r15d, edx
movzx eax, byte [r11 + 0x31]
movzx r10d, byte [r14]
mov byte [rsi + 0x289], al
movzx eax, byte [r11 + 0x32]
movzx r9d, byte [r11 + 0x31]
mov byte [rsi + 0x28a], al
movzx eax, byte [r11 + 0x33]
movzx r8d, byte [r11 + 0x32]
mov byte [rsi + 0x28b], al
movzx eax, byte [r11 + 0x34]
movzx edx, byte [r11 + 0x33]
mov byte [rsi + 0x28c], al
movzx ecx, byte [r11 + 0x34]
movzx eax, byte [r11 + 0x35]
mov byte [rsi + 0x28d], al
or r10b, byte [r11 + 0x35]
or r10b, r9b
shr r15d, 6
or r10b, r8b
or r10b, dl
or r10b, cl
je 0x140017f11
cmp r15d, 0x170c
jbe 0x140017e56
mov dword [rsi + 0x284], 0x60009
test rdi, rdi
je 0x140017e3a
test r14, r14
je 0x140017e35
mov eax, dword [r14]
mov dword [rdi], eax
movzx eax, word [r14 + 4]
mov word [rdi + 4], ax
mov dword [rsi + 0x27c], r15d
jmp 0x140017f11
xor eax, eax
mov qword [rdi], rax
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov dword [rsi + 0x27c], r15d
jmp 0x140017f11
cmp r15d, 0xbb8
jae 0x140017eb0
mov dword [rsi + 0x284], 0x60001
test rdi, rdi
je 0x140017e88
test r14, r14
je 0x140017e83
mov eax, dword [r14]
mov dword [rdi], eax
movzx eax, word [r14 + 4]
mov word [rdi + 4], ax
jmp 0x140017e98
xor eax, eax
mov qword [rdi], rax
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov rax, qword [rsp + 0x48]
mov dword [rsi + 0x27c], r15d
cmp dword [rax + 4], 1
jbe 0x140017f11
cmp r13, 2
jmp 0x140017f0f
cmp bx, 6
jbe 0x140017f11
mov eax, SetErrorInfo
cmp bx, ax
jae 0x140017f11
mov dword [rsi + 0x284], 0x60004
test rdi, rdi
je 0x140017ee9
test r14, r14
je 0x140017ee4
mov eax, dword [r14]
mov dword [rdi], eax
movzx eax, word [r14 + 4]
mov word [rdi + 4], ax
jmp 0x140017ef9
xor eax, eax
mov qword [rdi], rax
call fcn.140156d3c
mov dword [rax], reloc.OLEAUT32.dll_SafeArrayAccessData
call fcn.1401501b4
mov rax, qword [rsp + 0x48]
mov dword [rsi + 0x27c], r15d
cmp dword [rax + 4], 1
jbe 0x140017f11
cmp r13, 1
je 0x140017f23
mov rax, qword [rsp + 0x48]
inc r12d
cmp r12d, dword [rax + 4]
jb 0x140017d70
xor ebx, ebx
movzx eax, word [rsp + 0x54]
mov ecx, 5
cmp ax, word [rsi + 0x284]
mov r12d, dword [rsp + 0x68]
cmovne r12d, ecx
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140017f54
call qword [0x14034be18]
mov qword [rsp + 0x48], rbx
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x140017f63
call qword [0x14034be18]
mov ebx, r12d
or ebx, dword [rsp + 0x44]
mov edi, dword [rsp + 0x40]
mov r14, qword [rbp - 0x50]
mov r12, qword [rsp + 0x168]
jmp 0x14001806c
cmp qword [0x14034bc68], rbx
jne 0x140017fa2
test byte [r15 + 0x24c], 1
mov eax, ebx
mov ecx, 0x64
cmovne ax, cx
mov word [rsi + 0x282], ax
mov r10d, 1
mov r9d, 0x40
mov dword [r15 + 0x2b0], r10d
movzx ecx, byte [rsi + 0x15]
movzx r8d, word [rsi + 0x2e2]
movzx eax, cl
or r8w, word [rsi + 0x2e0]
or cl, r10b
or r8w, word [rsi + 0x2de]
and al, 0xfe
or r8w, word [rsi + 0x2dc]
or r8w, word [rsi + 0x2da]
or r8w, word [rsi + 0x2d8]
or r8w, word [rsi + 0x2d6]
or r8w, word [rsi + 0x2d4]
test r8w, r8w
movzx edx, cl
movzx eax, al
mov r8d, r9d
cmove edx, eax
mov ecx, 0x400
mov eax, 2
cmove ecx, eax
mov eax, r9d
cmove eax, r10d
mov byte [rsi + 0x17], al
mov byte [rsi + 0x15], dl
mov dword [r15 + 0x2a8], ecx
xchg dword [rsi], ecx
movzx ecx, byte [rsi + 0x15]
mov edx, dword [rsi + 0x2c4]
movzx eax, cl
test edx, edx
cmove r8d, r10d
cmove r9d, r10d
or cl, r10b
and al, 0xfe
test edx, edx
movzx ecx, cl
movzx eax, al
cmove ecx, eax
mov byte [rsi + 0x15], cl
mov byte [rsi + 0x16], r9b
mov dword [r15 + 0x2a8], r8d
xchg dword [rsi], r8d
movaps xmm6, xmmword [rsp + 0x100]
mov r13, qword [rsp + 0x110]
test r14, r14
je 0x140018084
mov dword [r14], edi
mov eax, ebx
jmp 0x14001808a
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140149500
add rsp, 0x118
pop r15
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret