Function at 0x1400165e0
Capabilities:
Check os version
Create directory
Get common file path

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x14007d2f0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
mov qword [r11 - 0x168], rcx
lea rax, [0x140062a58]
mov qword [rcx], rax
add rcx, 8
call fcn.140021180
nop
lea rcx, [rbx + 0x38]
call fcn.140021180
nop
call fcn.140025894
mov rcx, rax
xor r15d, r15d
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016665
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x80], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016696
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x88], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400166c7
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x90], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400166f8
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x98], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016729
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xa0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14001675a
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xa8], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14001678b
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xb0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400167bc
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xb8], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400167ed
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0xc0], rax
lea rcx, [rbx + 0xc8]
call fcn.14001f590
nop
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14001682b
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x190], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14001685c
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x198], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x14001688d
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1a0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400168be
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1a8], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400168ef
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1b0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016920
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1c0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016951
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1d0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016982
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1e0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400169b3
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1e8], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x1400169e4
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1f0], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016a15
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1f8], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016a46
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x200], rax
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016a77
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x208], rax
lea rcx, [rbx + 0x210]
mov edx, 0xa
call fcn.140032e94
nop
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016aba
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x250], rax
lea rcx, [rbx + 0x258]
mov edx, 0xa
call fcn.1400332d0
nop
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016afd
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x30], rsi
call fcn.140025894
mov rcx, rax
mov eax, r15d
test rcx, rcx
setne al
test eax, eax
jne 0x140016b2c
mov ecx, 0x80004005
call fcn.140007cd0
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov dword [rbx + 0x7c], r15d
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
or r12, 0xffffffffffffffff
cmp dword [rdx + 8], 0
je 0x140016ba1
cmp dword [rdx + 0x10], 0
jge 0x140016b72
cmp dword [rax - 0xc], 0
jge 0x140016b67
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov dword [rax - 0x10], r15d
mov word [rax], 0
jmp 0x140016ba1
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140016b8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x30]
mov rcx, rbx
call fcn.140011a10
mov rcx, rbx
call fcn.1400143c0
xor eax, eax
mov rcx, r12
lea rdi, str.3.1.4000.1823
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.3.1.4000.1823
lea rcx, [rbx + 0x1d0]
call fcn.140009100
xor eax, eax
mov rcx, r12
lea rdi, str._Lv
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str._Lv
lea rcx, [rbx + 0x208]
call fcn.140009100
mov rax, qword [rbx + 0x98]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140016c71
cmp dword [rdx + 0x10], 0
jge 0x140016c40
cmp dword [rax - 0xc], 0
jge 0x140016c2e
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov dword [rax - 0x10], r15d
mov rax, qword [rbx + 0x98]
mov word [rax], 0
jmp 0x140016c71
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140016c58
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x98], rax
mov rsi, qword [rsp + 0x30]
mov dword [rbx + 0x68], r15d
mov rax, qword [rbx + 0x1a0]
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140016ce3
cmp dword [rdx + 0x10], 0
jge 0x140016cb2
cmp dword [rax - 0xc], 0
jge 0x140016ca0
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov dword [rax - 0x10], r15d
mov rax, qword [rbx + 0x1a0]
mov word [rax], 0
jmp 0x140016ce3
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140016cca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx + 0x1a0], rax
mov rsi, qword [rsp + 0x30]
mov r15d, 1
mov dword [rbx + 0x6c], r15d
mov dword [rbx + 0x70], r15d
mov dword [rbx + 0x74], 0
mov dword [rsp + 0x90], 0x11c
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x1400173f1
cmp dword [rsp + 0x94], 6
jb 0x1400173f1
mov ecx, r15d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, 0x105
or eax, ecx
jge 0x140016d4d
mov edx, 0x105
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test rsi, rsi
jne 0x140016d6d
xor ecx, ecx
jmp 0x140016d86
xor eax, eax
mov rcx, r12
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
test ecx, ecx
js 0x1400173e6
cmp ecx, dword [rsi - 0xc]
jg 0x1400173e6
lea r13, [rsi - 0x10]
mov dword [r13], ecx
movsxd rax, ecx
mov word [rsi + rax*2], 0
mov rbp, rsi
xor edi, edi
lea r14, [0x14005cc80]
cmp word [rsi], di
je 0x140016e2b
movzx edx, word [rbp]
mov rcx, r14
call fcn.14003aa60
test rax, rax
je 0x140016dcc
test rdi, rdi
jne 0x140016dce
mov rdi, rbp
jmp 0x140016dce
xor edi, edi
add rbp, 2
cmp word [rbp], 0
jne 0x140016db1
test rdi, rdi
je 0x140016e2b
sub rdi, rsi
sar rdi, 1
mov ecx, r15d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140016e04
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
test edi, edi
js 0x140016e20
cmp edi, dword [rsi - 0xc]
jg 0x140016e20
lea r13, [rsi - 0x10]
mov dword [r13], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
jmp 0x140016e2b
mov ecx, 0x80070057
call fcn.140007cd0
int3
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov r8d, r15d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.1400077a0
xor edx, edx
mov rdi, r14
mov rsi, qword [rax]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140016e5f
sbb edx, edx
sbb edx, 0xffffffff
test edx, edx
setne dil
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140016e86
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x140016f29
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x38], rcx
mov r8, r14
mov rbp, r14
mov rsi, qword [rsp + 0x30]
sub rbp, rsi
sar rbp, 1
mov r13d, dword [r13]
lea edi, [r13 + rcx]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x140016ee7
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov r8, r14
mov rcx, qword [rsp + 0x38]
cmp rbp, r13
ja 0x140016ef0
lea r8, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r13*2]
mov r9, rdx
call fcn.14003b8f0
test edi, edi
js 0x140016f1e
cmp edi, dword [rsi - 0xc]
jg 0x140016f1e
lea r13, [rsi - 0x10]
mov dword [r13], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
jmp 0x140016f2e
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov rsi, qword [rsp + 0x30]
xor eax, eax
mov rcx, r12
lea r8, str.Siemens
mov rdi, r8
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x38], rcx
mov rbp, r8
sub rbp, rsi
sar rbp, 1
mov r13d, dword [r13]
lea edi, [r13 + rcx]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x140016f89
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
lea r8, str.Siemens
mov rcx, qword [rsp + 0x38]
cmp rbp, r13
ja 0x140016f92
lea r8, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r13*2]
mov r9, rdx
call fcn.14003b8f0
test edi, edi
js 0x1400173db
cmp edi, dword [rsi - 0xc]
jg 0x1400173db
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov rcx, r12
lea r13, [0x140060508]
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x40], rcx
mov rbp, r13
sub rbp, rsi
sar rbp, 1
mov eax, dword [rsi - 0x10]
mov dword [rsp + 0x38], eax
lea edi, [rax + rcx]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x140017021
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
cmp rbp, rax
ja 0x14001702e
lea r13, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + rax*2]
mov r9, rdx
mov r8, r13
call fcn.14003b8f0
test edi, edi
js 0x1400173d0
cmp edi, dword [rsi - 0xc]
jg 0x1400173d0
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov rcx, r12
lea r13, str.Logfiles
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x40], rcx
mov rbp, r13
sub rbp, rsi
sar rbp, 1
mov eax, dword [rsi - 0x10]
mov dword [rsp + 0x38], eax
lea edi, [rax + rcx]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x1400170c0
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
cmp rbp, rax
ja 0x1400170cd
lea r13, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + rax*2]
mov r9, rdx
mov r8, r13
call fcn.14003b8f0
test edi, edi
js 0x1400173c5
cmp edi, dword [rsi - 0xc]
jg 0x1400173c5
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov rcx, r12
lea r13, [0x1400604e0]
mov rdi, r13
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x40], rcx
mov rbp, r13
sub rbp, rsi
sar rbp, 1
mov eax, dword [rsi - 0x10]
mov dword [rsp + 0x38], eax
lea edi, [rax + rcx]
mov edx, r15d
sub edx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, edx
jge 0x14001715f
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rsp + 0x38]
cmp rbp, rax
ja 0x14001716c
lea r13, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + rax*2]
mov r9, rdx
mov r8, r13
call fcn.14003b8f0
test edi, edi
js 0x1400173ba
cmp edi, dword [rsi - 0xc]
jg 0x1400173ba
mov dword [rsi - 0x10], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov qword [rsp + 0x40], rcx
mov rbp, r14
sub rbp, rsi
sar rbp, 1
mov r13d, dword [rsi - 0x10]
lea edi, [r13 + rcx]
sub r15d, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, r15d
jge 0x1400171f5
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140009290
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp rbp, r13
ja 0x1400171fe
lea r14, [rsi + rbp*2]
movsxd rdx, ecx
add rdx, rdx
lea rcx, [rsi + r13*2]
mov r9, rdx
mov r8, r14
call fcn.14003b8f0
test edi, edi
js 0x1400173af
cmp edi, dword [rsi - 0xc]
jg 0x1400173af
lea r13, [rsi - 0x10]
mov dword [r13], edi
movsxd rax, edi
mov word [rsi + rax*2], 0
lea rbp, [rsi - 0x18]
mov rdi, qword [rbx + 0x1e8]
sub rdi, 0x18
cmp rbp, rdi
je 0x1400172a3
cmp dword [rdi + 0x10], 0
jl 0x140017290
mov rax, qword [rdi]
cmp qword [rbp], rax
jne 0x140017290
mov rcx, rbp
call fcn.140009350
mov rsi, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001727e
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx + 0x1e8], rax
mov rsi, qword [rsp + 0x30]
jmp 0x1400172a3
mov r8d, dword [r13]
mov rdx, rsi
lea rcx, [rbx + 0x1e8]
call fcn.140009100
mov rdi, qword [rbx + 0x1f0]
sub rdi, 0x18
cmp rbp, rdi
je 0x140017308
cmp dword [rdi + 0x10], 0
jl 0x1400172f5
mov rax, qword [rdi]
cmp qword [rbp], rax
jne 0x1400172f5
mov rcx, rbp
call fcn.140009350
mov rsi, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400172e8
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx + 0x1f0], rax
jmp 0x140017308
mov r8d, dword [r13]
mov rdx, rsi
lea rcx, [rbx + 0x1f0]
call fcn.140009100
lea r8, [rbx + 0x1a8]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140007910
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx + 0x1c0]
sub rdi, 0x18
cmp rcx, rdi
je 0x140017385
cmp dword [rdi + 0x10], 0
jl 0x140017374
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x140017374
call fcn.140009350
mov rsi, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140017367
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx + 0x1c0], rax
jmp 0x140017385
mov r8d, dword [rdx - 0x10]
lea rcx, [rbx + 0x1c0]
call fcn.140009100
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140017526
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140017526
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov ecx, 0x80070057
call fcn.140007cd0
int3
mov ecx, 0x80070057
call fcn.140007cd0
int3
lea rcx, [rbx + 0x1e8]
call fcn.140002200
lea r8, str.SetupLogfiles_
lea rdx, [rbx + 0x1e8]
lea rcx, [rsp + 0x70]
call fcn.140007a00
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rbx + 0x1f0]
sub rdi, 0x18
cmp rcx, rdi
je 0x14001747c
cmp dword [rdi + 0x10], 0
jl 0x14001746b
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14001746b
call fcn.140009350
mov rsi, rax
mov eax, r12d
lock xadd dword [rdi + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001745e
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [rsi + 0x18]
mov qword [rbx + 0x1f0], rax
jmp 0x14001747c
mov r8d, dword [rdx - 0x10]
lea rcx, [rbx + 0x1f0]
call fcn.140009100
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14001749d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [0x14005d200]
lea rdx, [rbx + 0x1e8]
lea rcx, [rsp + 0x68]
call fcn.140007a00
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400174e1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, str.SetupLogfiles
lea rdx, [rbx + 0x1e8]
lea rcx, [rsp + 0x58]
call fcn.140007a00
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140017526
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140017548
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x14001756a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rax, rbx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14003a760
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret