Function at 0x14002e320
Capabilities:
Check if file exists
Get file attributes
Get thread local storage value
Read .ini file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x118]
sub rsp, 0x228
mov rax, qword [0x1400a3758]
xor rax, rsp
mov qword [rbp + 0x108], rax
mov dword [rbp - 0x80], r9d
mov rdi, r8
mov qword [rbp + 0x98], r8
mov rbx, rdx
mov qword [rbp - 0x68], rdx
mov r13, rcx
mov qword [rbp + 0x80], rcx
xor esi, esi
mov qword [rbp - 0x28], rsi
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp - 0x48], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov r15, rax
mov qword [rbp + 0xa8], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp - 0x40], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp - 0x38], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp + 0x40], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov r14, rax
mov qword [rbp + 0xa0], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp - 0x10], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp + 0x38], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp + 0x10], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp + 0x48], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp - 8], rax
mov qword [rbp + 8], rax
mov word [rax], si
lea ecx, [rsi + 2]
call fcn.140059d40
mov qword [rbp + 0x50], rax
mov word [rax], si
lea rax, str.HKCU
lea rcx, str.HKLM
cmp rbx, qword [0x1400a3700]
cmove rcx, rax
call fcn.140059d48
mov r12, rax
xor ecx, ecx
call fcn.140059d2c
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
lea rcx, [0x14007a7c4]
test r12, r12
cmovne rcx, r12
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
lea rax, [0x14007a7c4]
test rdi, rdi
cmovne rax, rdi
mov qword [rbp], rax
mov rcx, rax
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rsi, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rsi, rsi
cmovne rcx, rsi
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rdi, qword [rbp - 0x78]
mov rbx, qword [rbp - 0x40]
lea rcx, [0x14007a7c4]
test rdi, rdi
cmovne rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x40], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
mov rcx, rsi
call fcn.140059d2c
mov rcx, r12
call fcn.140059d2c
movzx edi, byte [rbp + 0x180]
mov ebx, dword [rbp - 0x80]
xor r12d, r12d
cmp ebx, 0xffffffff
jne 0x14002e6b0
mov qword [rbp - 0x30], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x18], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x58], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x70], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x50], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x20], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov dword [rsp + 0x80], ebx
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x18]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, ebx
mov rcx, r13
call fcn.140014980
mov dword [rbp - 0x80], eax
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
mov ebx, dword [rbp - 0x80]
mov rcx, qword [rbp]
call fcn.140059d48
mov rsi, rax
mov qword [rbp + 8], rax
mov rcx, qword [rbp - 8]
call fcn.140059d2c
test dil, dil
jne 0x14002e6e2
lea rdx, [0x140081cb8]
lea rcx, [rbp + 8]
call fcn.140014250
mov rsi, qword [rbp + 8]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x68]
call fcn.14001d250
test eax, eax
jne 0x14002eea5
mov dword [rbp - 0x18], r12d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
xor eax, eax
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, qword [rbp - 0x28]
call fcn.14002d390
test eax, eax
jne 0x14002ee9b
mov r15d, dword [rbp - 0x80]
xor r14d, r14d
nop dword [rax + rax]
lea rcx, str.Scripts.Ini
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov qword [rbp - 0x70], r14
mov rax, qword [rbp - 0x10]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x70], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002e7be
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
jmp 0x14002ee53
mov ebx, r14d
mov dword [rbp - 0x80], ebx
mov r8d, ebx
lea rdx, str._dCmdLine
lea rcx, [rbp + 0xc8]
call fcn.140005340
mov ecx, 2
call fcn.140059d40
mov word [rax], r14w
mov edx, 0x412
mov rcx, rax
call fcn.140059dcc
mov r12, rax
mov qword [rbp + 0xb8], rax
test rax, rax
je 0x14002e814
xor edx, edx
mov r8d, 0x412
mov rcx, rax
call fcn.14004e310
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x208
mov r9, r12
lea r8, [0x14007a7c4]
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [rbp - 0x58], eax
test eax, eax
je 0x14002ee39
mov r8d, ebx
lea rdx, str._dParameters
lea rcx, [rbp + 0xc8]
call fcn.140005340
mov ecx, 2
call fcn.140059d40
mov word [rax], r14w
mov edx, 0x412
mov rcx, rax
call fcn.140059dcc
mov rdi, rax
mov qword [rbp + 0xc0], rax
test rax, rax
je 0x14002e89b
xor edx, edx
mov r8d, 0x412
mov rcx, rax
call fcn.14004e310
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x208
mov r9, rdi
lea r8, [0x14007a7c4]
lea rdx, [rbp + 0xc8]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp dword [rbp - 0x58], 2
jle 0x14002e917
mov r8d, 2
lea rdx, [0x14007a840]
mov rcx, r12
call fcn.14005bd3c
test eax, eax
je 0x14002e8ef
cmp word [r12 + 2], 0x3a
jne 0x14002e917
mov rbx, qword [rbp - 0x48]
lea rcx, [0x14007a7c4]
test r12, r12
cmovne rcx, r12
call fcn.140059d48
mov qword [rbp - 0x48], rax
mov rcx, rbx
call fcn.140059d2c
jmp 0x14002ea5d
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rax, qword [rbp - 0x10]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rax, qword [rbp - 0x60]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x58], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140014250
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rax, qword [rbp - 0x58]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rax, qword [rbp - 0x30]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, r12
lea rcx, [rbp]
call fcn.140014250
mov r13, qword [rbp]
mov rbx, qword [rbp - 0x48]
lea rcx, [0x14007a7c4]
test r13, r13
cmovne rcx, r13
call fcn.140059d48
mov qword [rbp - 0x48], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, r13
call fcn.140059d2c
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
mov rcx, qword [rbp - 0x58]
call fcn.140059d2c
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
mov r13, qword [rbp + 0x80]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002ee1e
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x58], rax
mov word [rax], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], r14
lea rdx, [rbp + 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.14001e420
xor r9d, r9d
lea r8, [rbp + 0x58]
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.140018960
nop
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x10]
mov rdx, qword [rbp - 0x20]
mov rcx, r13
call fcn.1400185f0
mov dword [rbp - 0x58], eax
lea rcx, [0x14007a83c]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x48]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov qword [rbp - 0x50], r14
mov rbx, qword [rbp]
lea rcx, [0x14007a7c4]
test rbx, rbx
cmovne rcx, rbx
call fcn.140059d48
mov qword [rbp - 0x50], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rdi
lea rcx, [rbp - 0x50]
call fcn.140014250
nop
mov rcx, rbx
call fcn.140059d2c
mov qword [rbp - 0x60], r14
lea rcx, [rbp + 0xc8]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
lea rax, [rbp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x40]
mov rcx, r13
call fcn.140014330
movzx ebx, al
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
test bl, bl
je 0x14002edf7
cmp r15d, 0xffffffff
jne 0x14002ed22
mov qword [rbp - 0x60], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 8], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x18], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x30], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x28], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x20], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
movzx eax, byte [rbp + 0x180]
mov dword [rsp + 0x80], r15d
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x68], rcx
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], r14
lea rax, [rbp - 8]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, r15d
mov rcx, r13
call fcn.140014980
mov r15d, eax
mov rcx, qword [rbp + 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 8]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
mov qword [rbp - 0x60], r14
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x88]
mov qword [rbp - 0x78], r14
lea rcx, [rbp + 0xc8]
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
lea rax, [rbp - 0x60]
mov qword [rsp + 0x68], rax
movzx eax, byte [rbp + 0x180]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x58], rbx
lea rax, [rbp - 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0xa
mov r8d, r15d
mov edx, dword [rbp - 0x58]
mov rcx, r13
call fcn.140014980
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
nop
lea rcx, [rbp + 0x60]
call fcn.1400118f0
mov rcx, qword [rbp + 0x58]
call fcn.140059d2c
nop
mov rcx, rdi
call fcn.140059d2c
nop
mov rcx, r12
call fcn.140059d2c
mov ebx, dword [rbp - 0x80]
inc ebx
jmp 0x14002e7c1
mov dword [rbp - 0x80], r15d
mov rcx, r12
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
mov r12d, dword [rbp - 0x18]
inc r12d
mov dword [rbp - 0x18], r12d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, [rbp - 0x38]
mov edx, r12d
mov rcx, qword [rbp - 0x28]
call fcn.14002d390
test eax, eax
je 0x14002e750
mov r14, qword [rbp + 0xa0]
mov r15, qword [rbp + 0xa8]
mov ebx, dword [rbp - 0x80]
movzx edi, byte [rbp + 0x180]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rbp + 0x98]
mov rcx, qword [rbp - 0x68]
call fcn.14001d250
test eax, eax
jne 0x14002f839
xor eax, eax
mov r12d, eax
mov dword [rbp - 0x58], eax
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, qword [rbp - 0x28]
call fcn.14002d2c0
cmp eax, 0x103
je 0x14002f82e
nop
test eax, eax
jne 0x14002f82b
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x90]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x28]
call fcn.14001d250
test eax, eax
jne 0x14002f809
lea ecx, [rax + 2]
call fcn.140059d40
mov qword [rbp - 0x50], rax
xor ecx, ecx
mov word [rax], cx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DisplayName
mov rcx, qword [rbp + 0x90]
call fcn.14002d4d0
test eax, eax
jne 0x14002f7f2
mov rbx, qword [rbp + 0x38]
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x38], rax
mov rcx, rbx
call fcn.140059d2c
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.FileSysPath
mov rcx, qword [rbp + 0x90]
call fcn.14002d4d0
mov edx, 0x5c
mov rcx, qword [rbp + 0x98]
call fcn.14004fa80
mov rbx, r14
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov r14, rax
mov qword [rbp + 0xa0], rax
mov rcx, rbx
call fcn.140059d2c
mov rax, qword [rbp - 0x38]
mov rbx, rsi
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov rsi, rax
mov qword [rbp + 8], rax
mov rcx, rbx
call fcn.140059d2c
test dil, dil
jne 0x14002f034
lea rdx, [0x140081cb8]
lea rcx, [rbp + 8]
call fcn.140014250
mov rsi, qword [rbp + 8]
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0x78]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x28]
call fcn.14001d250
test eax, eax
jne 0x14002f800
xor eax, eax
mov ebx, eax
mov dword [rbp - 0x18], eax
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, qword [rbp + 0x78]
call fcn.14002d2c0
cmp eax, 0x103
je 0x14002f7e8
mov esi, dword [rbp - 0x80]
nop dword [rax]
test eax, eax
jne 0x14002f7d6
mov ecx, dword [0x1400a555c]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
or eax, 0x20019
lea rcx, [rbp + 0xb0]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov rdx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x78]
call fcn.14001d250
test eax, eax
jne 0x14002f7b7
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Script
mov rcx, qword [rbp + 0xb0]
call fcn.14002d4d0
test eax, eax
jne 0x14002f7aa
lea ecx, [rax + 2]
call fcn.140059d40
mov qword [rbp - 0x70], rax
xor ebx, ebx
mov word [rax], bx
mov rax, qword [rbp + 0x38]
cmp word [rax], bx
je 0x14002f33f
mov rax, qword [rbp - 0x48]
cmp word [rax], 0x5c
je 0x14002f33f
cmp word [rax + 2], 0x3a
je 0x14002f33f
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rax, qword [rbp + 0x38]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 8], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 8]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
lea rcx, str.Scripts
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rax, qword [rbp - 8]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rax, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140014250
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov r13, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test r13, r13
cmovne rcx, r13
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov r12, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test r12, r12
cmovne rcx, r12
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x68]
call fcn.140014250
mov rdi, qword [rbp - 0x68]
mov rbx, r15
lea rcx, [0x14007a7c4]
test rdi, rdi
cmovne rcx, rdi
call fcn.140059d48
mov r15, rax
mov qword [rbp + 0xa8], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
mov rcx, r12
call fcn.140059d2c
mov rcx, r13
call fcn.140059d2c
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
mov rcx, qword [rbp - 8]
call fcn.140059d2c
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x58], rax
xor ecx, ecx
mov word [rax], cx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rcx
lea rdx, [rbp + 0x58]
mov rcx, r15
call fcn.14001e420
xor r9d, r9d
lea r8, [rbp + 0x58]
mov r13, qword [rbp + 0x80]
mov rdx, r13
lea rcx, [rbp]
call fcn.140018960
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x70]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x70], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, qword [rbp]
call fcn.140059d2c
nop
jmp 0x14002f3ac
mov ecx, 2
call fcn.140059d40
mov qword [rbp + 0x58], rax
mov word [rax], bx
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x60], xmm0
mov qword [rbp + 0x70], rbx
lea rdx, [rbp + 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.14001e420
xor r9d, r9d
lea r8, [rbp + 0x58]
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.140018960
mov rdx, qword [rax]
mov rbx, qword [rbp - 0x70]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x70], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, qword [rbp - 0x20]
call fcn.140059d2c
nop
lea rcx, [rbp + 0x60]
call fcn.1400118f0
mov rcx, qword [rbp + 0x58]
call fcn.140059d2c
lea r9, [rbp + 0x48]
lea r8, [rbp + 0x10]
mov rdx, qword [rbp - 0x70]
mov rcx, r13
call fcn.1400185f0
mov dword [rbp - 0x80], eax
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x40]
lea rcx, [0x14007a7c4]
test rdx, rdx
cmovne rcx, rdx
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov rax, qword [rbp - 0x78]
lea rcx, [0x14007a7c4]
test rax, rax
cmovne rcx, rax
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.140014250
lea rcx, [0x140081d50]
call fcn.140059d48
mov rbx, rax
xor ecx, ecx
call fcn.140059d2c
mov r13, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test r13, r13
cmovne rcx, r13
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.140014250
mov rcx, rbx
call fcn.140059d2c
mov r12, qword [rbp - 0x68]
lea rcx, [0x14007a7c4]
test r12, r12
cmovne rcx, r12
call fcn.140059d48
mov qword [rbp - 0x68], rax
xor ecx, ecx
call fcn.140059d2c
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp - 0x68]
call fcn.140014250
mov rdi, qword [rbp - 0x68]
mov rbx, qword [rbp - 0x10]
lea rcx, [0x14007a7c4]
test rdi, rdi
cmovne rcx, rdi
call fcn.140059d48
mov qword [rbp - 0x10], rax
mov rcx, rbx
call fcn.140059d2c
mov rcx, rdi
call fcn.140059d2c
mov rcx, r12
call fcn.140059d2c
mov rcx, r13
call fcn.140059d2c
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
lea rax, [rbp + 0x88]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x50]
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x40]
mov r13, qword [rbp + 0x80]
mov rcx, r13
call fcn.140014330
test al, al
je 0x14002f79e
xor r12d, r12d
cmp esi, 0xffffffff
jne 0x14002f6c9
mov qword [rbp - 0x78], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp - 0x60], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x60], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x20], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x20], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x28], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x28], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x30], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov qword [rbp + 0x18], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp + 0x18], rax
xor ecx, ecx
call fcn.140059d2c
nop
movzx edi, byte [rbp + 0x180]
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], r12
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor edx, edx
mov r8d, esi
mov rcx, r13
call fcn.140014980
mov esi, eax
mov rcx, qword [rbp + 0x18]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x28]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x20]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x60]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
jmp 0x14002f6d0
movzx edi, byte [rbp + 0x180]
mov qword [rbp - 0x78], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x78], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov rbx, qword [rbp + 0x88]
mov qword [rbp - 0x30], r12
lea rcx, [0x14007a7c4]
call fcn.140059d48
mov qword [rbp - 0x30], rax
xor ecx, ecx
call fcn.140059d2c
nop
mov dword [rsp + 0x80], 0xffffffff
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x70], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], edi
mov qword [rsp + 0x58], rbx
lea rax, [rbp - 0x30]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 3
mov r8d, esi
mov edx, dword [rbp - 0x80]
mov rcx, r13
call fcn.140014980
nop
mov rcx, qword [rbp - 0x30]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x78]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x70]
call fcn.140059d2c
mov ebx, dword [rbp - 0x18]
mov rcx, qword [rbp + 0xb0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc ebx
mov dword [rbp - 0x18], ebx
lea r8, [rbp + 0x40]
mov edx, ebx
mov rcx, qword [rbp + 0x78]
call fcn.14002d2c0
cmp eax, 0x103
jne 0x14002f090
mov dword [rbp - 0x80], esi
mov rsi, qword [rbp + 8]
movzx edi, byte [rbp + 0x180]
mov r12d, dword [rbp - 0x58]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x50]
call fcn.140059d2c
inc r12d
mov dword [rbp - 0x58], r12d
lea r8, [rbp - 0x38]
mov edx, r12d
mov rcx, qword [rbp - 0x28]
call fcn.14002d2c0
cmp eax, 0x103
jne 0x14002ef00
mov ebx, dword [rbp - 0x80]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp + 0x50]
call fcn.140059d2c
nop
mov rcx, rsi
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x48]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x10]
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x10]
call fcn.140059d2c
nop
mov rcx, r14
call fcn.140059d2c
nop
mov rcx, qword [rbp + 0x40]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x38]
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x40]
call fcn.140059d2c
nop
mov rcx, r15
call fcn.140059d2c
nop
mov rcx, qword [rbp - 0x48]
call fcn.140059d2c
mov eax, ebx
mov rcx, qword [rbp + 0x108]
xor rcx, rsp
call fcn.14004bd30
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret