Function at 0x10006d7b8
Capabilities:
Resolve dns
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x16c8
call fcn.100129a70
sub rsp, rax
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov rax, qword [0x100151198]
xor rax, rsp
mov qword [rsp + 0x16b0], rax
mov rdi, r9
mov qword [rsp + 0x170], r9
mov r15, r8
mov esi, edx
mov dword [rsp + 0x44], edx
mov qword [rsp + 0xb8], rcx
lea r12, [0x100152eb8]
mov eax, 5
mov rcx, qword [0x100152eb8]
cmp rcx, r12
je 0x10006d84a
test byte [rcx + 0x1c], 1
je 0x10006d84a
cmp byte [rcx + 0x19], al
jb 0x10006d84a
lea edx, [rax + 0x1f]
mov qword [rsp + 0x20], r9
mov r9, r8
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003c23c
movabs rdx, 0x8000000000000000
xor r14d, r14d
cmp dword [0x100158e34], r14d
je 0x10006d8a8
mov al, byte [0x100158e38]
cmp al, 4
jae 0x10006d86f
cmp al, r14b
jne 0x10006d8a8
test qword [0x100158e20], rdx
je 0x10006d8a8
mov rcx, qword [0x100158e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006d8a8
mov qword [rsp + 0x20], rdi
mov r9, r15
mov r8d, esi
lea rdx, [0x100002ec0]
mov rcx, qword [0x100158e08]
call fcn.10006ab30
lea rcx, [rsp + 0x160]
call fcn.1000e9bf4
lea rdx, fcn.1000eae3c
mov qword [rsp + 0x160], rdx
lea rcx, [rsp + 0xa0]
call fcn.1000e9bf4
lea rdx, [0x100020130]
mov qword [rsp + 0xa0], rdx
lea rcx, [rsp + 0x150]
call fcn.1000e9bf4
lea rdx, fcn.1000eae3c
mov qword [rsp + 0x150], rdx
lea rax, [rsp + 0x160]
lea rcx, [rsp + 0x150]
cmp esi, r14d
cmove rax, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0xd8], r14
mov qword [rsp + 0xe0], r14
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0xd0], r14
lea r13, [0x100151100]
mov rcx, r13
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, r13
mov rax, qword [0x100151100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
mov rcx, r13
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
mov word [rsp + 0x2a0], r14w
mov edi, 0x1fe
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x2a2]
call sub.msvcrt.dll_memset
mov word [rsp + 0x4a0], r14w
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x4a2]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], r14d
mov dword [rsp + 0x90], r14d
mov byte [rsp + 0x40], r14b
mov qword [rsp + 0x98], r14
mov qword [rsp + 0x118], r14
mov rcx, r13
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc0], rax
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x1001578c8]
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 1
jne 0x10006dc6b
mov rdi, qword [0x100152eb8]
cmp rdi, r12
je 0x10006da66
test byte [rdi + 0x1c], 4
je 0x10006da66
cmp byte [rdi + 0x19], 4
jb 0x10006da66
mov edx, 0x25
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100034764
mov rdi, qword [0x100152eb8]
cmp dword [0x100158e34], r14d
je 0x10006dada
mov al, byte [0x100158e38]
cmp al, 4
jae 0x10006da7e
cmp al, r14b
jne 0x10006dada
movabs rdx, 0x8000000000000000
test qword [0x100158e20], rdx
je 0x10006dada
mov rcx, qword [0x100158e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006dada
mov dword [rsp + 0x38], 0x8007045b
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
mov r9, r15
mov r8d, esi
lea rdx, [0x100002ed0]
mov rcx, qword [0x100158e08]
call fcn.10006aba8
mov rdi, qword [0x100152eb8]
mov ebx, 0x8007045b
cmp rdi, r12
je 0x10006db0e
test byte [rdi + 0x1c], 1
je 0x10006db0e
mov r13d, 2
cmp byte [rdi + 0x19], r13b
jb 0x10006db0e
lea edx, [r13 + 0x24]
mov r9d, ebx
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100036328
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
or r12, 0xffffffffffffffff
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006db38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006db5e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006db81
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006dba4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0xe0]
cmp rcx, r14
je 0x10006dbdf
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xd8]
cmp rcx, r14
je 0x10006dbf3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x158]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006dc19
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, r14d
jg 0x10006dc3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x168]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
cmp ecx, r14d
jg 0x10006dc64
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
jmp 0x10006f99d
mov rax, qword [r15]
lea r8, [rsp + 0xd8]
lea rdx, [0x100001f20]
mov rcx, r15
call qword [rax]
mov ebp, eax
or r12, 0xffffffffffffffff
lea r13d, [r12 + 3]
cmp eax, r14d
jge 0x10006dced
mov rdi, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rdi, rsi
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006f62b
cmp byte [rdi + 0x19], r13b
jb 0x10006f62b
lea edx, [r12 + 0x28]
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006c5c8
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x18]
mov ebp, eax
cmp eax, r14d
jge 0x10006dd62
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006f62b
cmp byte [rdi + 0x19], r13b
jb 0x10006f62b
mov edx, 0x28
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006c5c8
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x10006dda7
test byte [rcx + 0x1c], r13b
je 0x10006dda7
cmp byte [rcx + 0x19], 4
jb 0x10006dda7
mov edx, 0x29
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10006c428
mov edi, 0x68
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x1f0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x1f0], edi
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x208], rax
mov dword [rsp + 0x210], 0xff
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r9, [rsp + 0x1f0]
mov r8d, 0x10000000
mov edx, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
cmp eax, r14d
jne 0x10006de78
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006de5c
test byte [rdi + 0x1c], r13b
je 0x10006de5c
cmp byte [rdi + 0x19], r13b
jb 0x10006de5c
mov edx, 0x2a
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006ba2c
mov rdi, qword [0x100152eb8]
movzx ebp, si
or ebp, 0x80070000
cmp esi, r14d
cmovle ebp, esi
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
cmp dword [rsp + 0x204], 1
je 0x10006dee2
mov ebp, 0x80070057
mov rdi, qword [0x100152eb8]
cmp rdi, rsi
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006f62b
cmp byte [rdi + 0x19], r13b
jb 0x10006f62b
mov edx, 0x2b
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10003b7c0
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x10006df17
test byte [rcx + 0x1c], 4
je 0x10006df17
cmp byte [rcx + 0x19], 4
jb 0x10006df17
mov edx, 0x2c
lea r9, [rsp + 0x2a0]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov ebp, 0x30
mov r8, rbp
xor edx, edx
lea rcx, [rsp + 0x260]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x260], 4
lea r9, [rsp + 0x118]
lea r8, [rsp + 0x260]
xor edx, edx
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov r14d, eax
xor edi, edi
cmp eax, edi
je 0x10006e052
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov esi, eax
movzx ebp, ax
or ebp, 0x80070000
xor r14d, r14d
cmp eax, r14d
cmovle ebp, eax
cmp ebp, r14d
jl 0x10006dfec
mov ebp, 0x80004005
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006dffa
cmp byte [rdi + 0x19], r13b
jb 0x10006dffa
lea edx, [r14 + 0x2d]
mov dword [rsp + 0x30], esi
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2a0]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006b8e4
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
jmp 0x10006dffa
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006f62b
test byte [rdi + 0x1c], 4
je 0x10006f62b
movzx ecx, byte [rdi + 0x19]
mov eax, r13d
cmp ebp, r14d
mov edx, 5
cmovge eax, edx
cmp ecx, eax
jl 0x10006f62b
mov edx, 0x2e
mov dword [rsp + 0x20], esi
mov r9d, ebp
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10003b338
mov rdi, qword [0x100152eb8]
xor r11d, r11d
jmp 0x10006f6c6
lea rcx, [rsp + 0x290]
call fcn.100086c88
mov dword [rsp + 0xb0], 6
mov rsi, qword [rsp + 0x118]
cmp rsi, rdi
je 0x10006f638
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsi + 0x20]
call fcn.1000727ec
mov r14d, eax
cmp eax, edi
je 0x10006e0af
mov rsi, qword [rsi + 0x28]
mov dword [rsp + 0xb0], 6
cmp rsi, rdi
jne 0x10006e07b
cmp rsi, rdi
je 0x10006f638
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x290]
call fcn.100086e34
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x10006e105
test byte [rcx + 0x1c], 4
je 0x10006e105
cmp byte [rcx + 0x19], 4
jb 0x10006e105
mov edx, ebp
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x70]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100065b78
mov rax, qword [r15]
lea rdx, [rsp + 0x58]
mov rcx, r15
call qword [rax + 0x60]
mov ebp, eax
xor r14d, r14d
cmp eax, r14d
jl 0x10006f5d7
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, r14d
je 0x10006f5d2
mov rdx, qword [rsp + 0x58]
cmp rdx, r14
jne 0x10006e144
mov ecx, r14d
jmp 0x10006e155
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x68]
call fcn.100036190
mov dword [rsp + 0x28], r12d
lea rax, [0x1000214c0]
mov qword [rsp + 0x20], rax
mov r9d, 5
mov rbx, qword [rsp + 0x68]
mov r8, rbx
lea edx, [r9 - 4]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r13d
je 0x10006e1f9
mov ebp, 0x80070057
mov rdi, qword [0x100152eb8]
cmp rdi, rsi
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006f62b
cmp byte [rdi + 0x19], r13b
jb 0x10006f62b
mov edx, 0x32
mov qword [rsp + 0x30], rbx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006baf0
mov rdi, qword [0x100152eb8]
xor r11d, r11d
jmp 0x10006f6c6
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x10006e235
test byte [rcx + 0x1c], r13b
je 0x10006e235
cmp byte [rcx + 0x19], 4
jb 0x10006e235
mov edx, 0x33
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b380
lea rax, [rbx + 0xa]
mov qword [rsp + 0x50], rax
mov r14, rax
mov edi, dword [rsp + 0x44]
xor esi, esi
cmp edi, esi
cmovne r14, qword [rsp + 0x70]
mov qword [rsp + 0x48], r14
cmp qword [0x100157688], rsi
je 0x10006e2bc
mov rdx, r14
lea rcx, [rsp + 0x128]
call fcn.100035d98
nop
mov rcx, qword [0x100157688]
cmp qword [rcx + 0x158], rsi
je 0x10006e28c
lea rdx, [rsp + 0x128]
call fcn.1000478c0
nop
mov rdx, qword [rsp + 0x128]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006e2b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006e2bc
mov rbx, qword [rsp + 0x68]
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, esi
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000e9d54
mov esi, 0x80070000
xor ecx, ecx
cmp eax, ecx
jne 0x10006e379
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ea04c
cmp eax, 0xb7
je 0x10006e490
mov dword [rsp + 0x78], 1
xor ecx, ecx
cmp eax, ecx
je 0x10006e492
movzx ebp, ax
or ebp, esi
cmp eax, ecx
cmovle ebp, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006e477
test byte [rcx + 0x1c], r13b
je 0x10006e477
cmp byte [rcx + 0x19], r13b
jb 0x10006e477
mov edx, 0x34
mov dword [rsp + 0x30], ebp
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10006bc7c
jmp 0x10006e477
mov dword [rsp + 0x78], ecx
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x140], rax
lea r9, [rsp + 0x140]
lea r8, [0x1000214d0]
mov rdx, r14
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call fcn.1000ebc88
mov edi, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006e3f5
test byte [rcx + 0x1c], 4
je 0x10006e3f5
cmp byte [rcx + 0x19], 4
jb 0x10006e3f5
mov edx, 0x35
mov r9d, edi
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
xor eax, eax
cmp edi, eax
jne 0x10006e448
lea r8, [0x1000214d0]
mov rdx, r14
mov rcx, rbx
call fcn.1000ed048
mov rcx, qword [0x100152eb8]
lea rdx, [0x100152eb8]
cmp rcx, rdx
je 0x10006e444
test byte [rcx + 0x1c], 4
je 0x10006e444
cmp byte [rcx + 0x19], 4
jb 0x10006e444
mov edx, 0x36
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
xor eax, eax
mov ebp, eax
mov rdx, qword [rsp + 0x140]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
xor edi, edi
cmp eax, edi
jg 0x10006e483
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x44]
xor ecx, ecx
cmp ebp, ecx
jl 0x10006e588
jmp 0x10006e492
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x44]
xor ecx, ecx
jmp 0x10006e492
xor ecx, ecx
cmp edi, ecx
je 0x10006e588
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000e9d54
xor ecx, ecx
cmp eax, ecx
jne 0x10006e538
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000ea04c
cmp eax, 0xb7
je 0x10006e53f
mov dword [rsp + 0x90], 1
xor ecx, ecx
cmp eax, ecx
je 0x10006e546
movzx ebp, ax
or ebp, esi
cmp eax, ecx
cmovle ebp, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006e54d
test byte [rcx + 0x1c], r13b
je 0x10006e55b
cmp byte [rcx + 0x19], r13b
jb 0x10006e554
mov edx, 0x37
mov dword [rsp + 0x30], ebp
mov rsi, qword [rsp + 0x50]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10006bc7c
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
jmp 0x10006e560
mov rsi, qword [rsp + 0x50]
xor eax, eax
cmp ebp, eax
jl 0x10006e588
mov dword [rsp + 0x20], 1
mov r9, r14
lea r8, [0x1000214f0]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000eca00
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r11d, r11d
cmp ebp, r11d
jl 0x10006f5c6
xor ebp, ebp
cmp edi, ebp
je 0x10006e602
mov rdx, r15
mov rsi, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.10006d2dc
mov byte [rsp + 0x40], al
mov edi, ebp
cmp al, bpl
setne dil
mov r9d, edi
lea r8, [0x100021420]
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ebefc
mov r9d, edi
lea r8, [0x100021420]
mov rbp, qword [rsp + 0x50]
mov rdx, rbp
lea rcx, [rsp + 0xa0]
call fcn.1000ebefc
jmp 0x10006e60f
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0x50]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, qword [rsp + 0x80]
mov rdx, r15
mov rcx, rsi
call fcn.10006fa8c
mov rdi, qword [rsp + 0x170]
mov qword [rsp + 0x20], rdi
mov r9, r14
mov r8, qword [rsp + 0x80]
mov rdx, r15
mov rcx, rsi
call fcn.100070008
xor eax, eax
cmp dword [rsp + 0x44], eax
je 0x10006e6f1
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x120], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9, rbp
lea r8, [rsp + 0xa0]
mov rdx, r15
mov rcx, rsi
call fcn.10006fa8c
mov qword [rsp + 0x20], rdi
mov r9, rbp
lea r8, [rsp + 0xa0]
mov rdx, r15
mov rcx, rsi
call fcn.100070008
nop
mov rdx, qword [rsp + 0x120]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
xor edi, edi
cmp eax, edi
jg 0x10006e6ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006e6f3
mov rbx, qword [rsp + 0x68]
jmp 0x10006e6f3
xor edi, edi
mov eax, edi
mov dword [rsp + 0xb8], eax
mov ebp, 0x80070057
mov r14d, eax
mov ecx, eax
shl rcx, 5
lea rax, [0x10001e440]
add rcx, rax
jne 0x10006e722
mov qword [rsp + 0x130], rdi
xor esi, esi
jmp 0x10006e73e
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x130], rax
xor esi, esi
cmp rax, rsi
je 0x10006f5bb
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, esi
jne 0x10006e75b
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
jmp 0x10006e924
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x58], rsi
mov rax, qword [r15]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0x18
mov r9d, 0x30
mov r8d, r9d
mov rdx, rdi
mov rcx, r15
call qword [rax + 0xc0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
mov qword [rsp + 0x130], rdi
cmp esi, edi
jl 0x10006e90c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
je 0x10006e90c
lea rax, [r14 + r14*4]
lea rcx, [0x10001e500]
lea r14, [rcx + rax*2]
mov word [rsp + 0x6a0], di
xor edx, edx
mov r8d, 0x1000
lea rcx, [rsp + 0x6a2]
call sub.msvcrt.dll_memset
lea esi, [rdi + 0x68]
mov r8, rsi
xor edx, edx
lea rcx, [rsp + 0x180]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x180], esi
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x198], rax
lea rax, [rsp + 0x6a0]
mov qword [rsp + 0x1c8], rax
mov dword [rsp + 0x1d0], 0x800
mov dword [rsp + 0x1a0], 0xff
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
lea r9, [rsp + 0x180]
mov r8d, 0x10000000
mov edx, eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
cmp eax, edi
jne 0x10006e886
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
cmp eax, edi
cmovle r9d, eax
jmp 0x10006e8c8
cmp dword [rsp + 0x194], 1
je 0x10006e895
mov r9d, ebp
jmp 0x10006e8cd
mov dword [rsp + 0x28], r12d
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rsp + 0x2a0]
mov edx, 1
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r13d
je 0x10006e942
mov r9d, ebp
cmp r9d, edi
jge 0x10006e902
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006e902
test byte [rcx + 0x1c], r13b
je 0x10006e902
cmp byte [rcx + 0x19], r13b
jb 0x10006e902
mov edx, 0x38
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
nop
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10006e924
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x58], rdi
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [rsp + 0xb8]
inc eax
mov dword [rsp + 0xb8], eax
cmp eax, 6
jae 0x10006ece6
jmp 0x10006e701
mov ecx, 0x30
call fcn.10011b824
mov rsi, rax
mov qword [rsp + 0x98], rax
cmp rax, rdi
je 0x10006e9da
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 8], rax
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x10], rax
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x18], rax
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x20], rax
jmp 0x10006e9e5
mov rsi, rdi
mov qword [rsp + 0x98], rdi
cmp rsi, rdi
je 0x10006ecde
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jne 0x10006e9fc
mov ecx, edi
jmp 0x10006ea0f
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
xor edi, edi
mov r8d, ecx
mov rcx, rsi
call fcn.100036190
add rsi, 8
mov rax, qword [rsi]
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x10006ea42
mov edx, 0x104
mov rcx, rsi
call fcn.100036140
mov edx, 0x104
mov rcx, qword [rsi]
call fcn.10006a774
cmp eax, edi
jne 0x10006ecc3
cmp r14, rdi
je 0x10006ecc3
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsi]
cmp rdx, rdi
jne 0x10006ea89
mov ecx, edi
jmp 0x10006eaa4
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
xor edi, edi
cmp ecx, edi
jl 0x10006ecbb
cmp ecx, dword [rdx - 0xc]
jg 0x10006ecbb
mov dword [rdx - 0x10], ecx
movsxd rcx, ecx
mov rax, qword [rsi]
mov word [rax + rcx*2], di
mov rbp, qword [rsp + 0x48]
cmp rbp, rdi
jne 0x10006eac8
mov ecx, edi
jmp 0x10006ead9
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rbp
lea rcx, [rsp + 0xc8]
call fcn.100036190
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
lea rcx, [rsp + 0xc8]
call fcn.10003577c
xor eax, eax
mov rcx, r12
lea rdx, [0x100021508]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rsi
call fcn.10003577c
mov ebx, dword [rsp + 0x44]
xor edi, edi
cmp ebx, edi
je 0x10006ebde
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call fcn.1000ef9a8
cmp eax, edi
jne 0x10006ebba
mov rbx, qword [rsp + 0x98]
add rbx, 0x10
mov rdx, rsi
mov rcx, rbx
call fcn.100035ed8
mov rdx, qword [rsp + 0x108]
mov rcx, rbx
call fcn.100076ac4
xor eax, eax
mov rcx, r12
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, r14
mov rcx, rbx
call fcn.10003577c
mov ebx, dword [rsp + 0x44]
xor edi, edi
mov rdx, qword [rsp + 0x108]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, edi
jg 0x10006ebde
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0xc8]
mov r8d, dword [rdx - 0x10]
mov rcx, rsi
call fcn.10003577c
mov rsi, qword [rsp + 0x98]
cmp rbp, rdi
jne 0x10006ec03
mov ecx, edi
jmp 0x10006ec16
xor eax, eax
mov rcx, r12
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
dec rcx
xor edi, edi
mov r8d, ecx
mov rdx, rbp
lea rcx, [rsi + 0x18]
call fcn.100036190
mov rdx, qword [rsp + 0x50]
cmp rdx, rdi
jne 0x10006ec33
mov ecx, edi
jmp 0x10006ec46
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
xor edi, edi
mov r8d, ecx
lea rcx, [rsi + 0x20]
call fcn.100036190
mov dword [rsi + 0x28], ebx
lock add dword [0x10015769c], 1
mov r8d, 0x10
mov rdx, rsi
lea rcx, [0x100074f60]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
cmp eax, edi
je 0x10006ec81
mov qword [rsp + 0x98], rdi
jmp 0x10006ec89
lock add dword [0x10015769c], r12d
mov rdx, qword [rsp + 0xc8]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, edi
jg 0x10006ecb4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006ecde
mov rbx, qword [rsp + 0x68]
jmp 0x10006ecde
mov ecx, ebp
call fcn.100036264
nop
mov rax, qword [rsi]
cmp dword [rax - 0xc], edi
jl 0x10006ecd6
mov dword [rax - 0x10], edi
mov rax, qword [rsi]
mov word [rax], di
jmp 0x10006ecde
mov ecx, ebp
call fcn.100036264
nop
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rax, qword [r15]
lea r8, [rsp + 0xe0]
lea rdx, [0x100001f30]
mov rcx, r15
call qword [rax]
mov ebp, eax
cmp eax, edi
jge 0x10006ed5e
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006edc9
test byte [rdi + 0x1c], r13b
je 0x10006edc9
cmp byte [rdi + 0x19], r13b
jb 0x10006edc9
mov edx, 0x39
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006c5c8
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd0]
call qword [rax + 0x18]
mov ebp, eax
cmp eax, edi
jge 0x10006edd6
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006edc9
test byte [rdi + 0x1c], r13b
je 0x10006edc9
cmp byte [rdi + 0x19], r13b
jb 0x10006edc9
mov edx, 0x3a
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006c5c8
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov edi, dword [rsp + 0x44]
mov r8d, edi
mov r14, qword [rsp + 0x48]
mov rdx, r14
mov rcx, qword [rsp + 0xd0]
call fcn.1000754bc
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp edi, esi
je 0x10006ef8d
mov r8, r14
mov rdx, rbx
lea rcx, [0x100153320]
call fcn.10004d5c4
mov rcx, qword [0x100152eb8]
lea rbp, [0x100152eb8]
cmp rcx, rbp
je 0x10006ee63
test byte [rcx + 0x1c], 4
je 0x10006ee6a
lea edx, [rsi + 5]
cmp byte [rcx + 0x19], dl
jb 0x10006ee6f
lea edx, [rsi + 0x3b]
mov qword [rsp + 0x20], r14
mov r9, rbx
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b380
mov rcx, qword [0x100152eb8]
lea edx, [rsi + 5]
jmp 0x10006ee6f
mov edx, 5
jmp 0x10006ee6f
mov edx, 5
mov rax, qword [0x100153328]
mov dword [0x1001578f4], eax
mov dword [0x1001578f0], eax
cmp rcx, rbp
je 0x10006eeb1
test byte [rcx + 0x1c], 4
je 0x10006eeb1
cmp byte [rcx + 0x19], dl
jb 0x10006eeb1
mov edx, 0x3c
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
cmp byte [rsp + 0x40], sil
je 0x10006ef2e
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x100153368]
call fcn.10004d6dc
cmp rax, rsi
jne 0x10006ef20
mov rdx, rbx
lea rcx, [0x100153368]
call fcn.10004e09c
mov rcx, qword [0x100152eb8]
cmp rcx, rbp
je 0x10006ef35
test byte [rcx + 0x1c], 4
je 0x10006ef3c
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x10006ef41
mov edx, 0x3d
mov r9, rbx
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov rcx, qword [0x100152eb8]
mov edx, 5
jmp 0x10006ef41
mov rcx, qword [0x100152eb8]
mov edx, 5
jmp 0x10006ef41
mov edx, 5
jmp 0x10006ef41
mov edx, 5
jmp 0x10006ef41
mov edx, 5
mov rax, qword [0x100153378]
mov dword [0x1001578fc], eax
mov dword [0x100157900], eax
cmp rcx, rbp
je 0x10006f052
test byte [rcx + 0x1c], 4
je 0x10006f052
cmp byte [rcx + 0x19], dl
jb 0x10006f052
mov edx, 0x3e
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
jmp 0x10006f052
xor r8d, r8d
mov rdx, r14
lea rcx, [0x1001532e8]
call fcn.10004d6dc
cmp rax, rsi
jne 0x10006effc
mov rdx, r14
lea rcx, [0x1001532e8]
call fcn.10004e09c
mov rcx, qword [0x100152eb8]
lea rbp, [0x100152eb8]
cmp rcx, rbp
je 0x10006f011
test byte [rcx + 0x1c], 4
je 0x10006f018
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x10006f01d
mov edx, 0x3f
mov r9, r14
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov rcx, qword [0x100152eb8]
mov edx, 5
jmp 0x10006f01d
mov rcx, qword [0x100152eb8]
lea rbp, [0x100152eb8]
mov edx, 5
jmp 0x10006f01d
mov edx, 5
jmp 0x10006f01d
mov edx, 5
mov rax, qword [0x1001532f8]
mov dword [0x1001578f8], eax
cmp rcx, rbp
je 0x10006f052
test byte [rcx + 0x1c], 4
je 0x10006f052
cmp byte [rcx + 0x19], dl
jb 0x10006f052
mov edx, 0x40
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rdx, qword [rsp + 0x208]
cmp rdx, rsi
jne 0x10006f063
mov ecx, esi
jmp 0x10006f078
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov edi, dword [rsp + 0x44]
mov r8d, ecx
lea rcx, [rsp + 0x88]
call fcn.100036190
mov edx, 0x5b
lea rcx, [rsp + 0x88]
call fcn.100076bcc
mov edx, 0x5d
lea rcx, [rsp + 0x88]
call fcn.100076bcc
mov r9, qword [rsp + 0x88]
lea r8, [0x100021528]
mov rdx, r14
mov rbp, qword [rsp + 0x80]
mov rcx, rbp
call fcn.1000ec278
cmp edi, esi
je 0x10006f0f8
mov r9, qword [rsp + 0x88]
lea r8, [0x100021528]
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000ec278
jmp 0x10006f0fd
mov rsi, qword [rsp + 0x50]
mov r9d, 1
lea r8, [0x10001f020]
mov rdx, r14
mov rcx, rbp
call fcn.1000ebefc
xor ecx, ecx
cmp edi, ecx
je 0x10006f138
lea r9d, [rcx + 1]
lea r8, [0x10001f020]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000ebefc
xor ecx, ecx
mov rsi, rcx
lea rbp, [0x10001eb70]
lea rax, [0x10001ecf0]
cmp edi, ecx
cmove rbp, rax
mov qword [rsp + 0x138], rcx
lea rax, [rsp + 0x138]
mov qword [rsp + 0x20], rax
mov r9d, 0x20106
xor r8d, r8d
mov rdx, rbp
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
xor eax, eax
cmp edi, eax
jne 0x10006f18f
mov edi, eax
mov rsi, qword [rsp + 0x138]
mov rcx, qword [0x100152eb8]
lea rdx, [0x100152eb8]
cmp rcx, rdx
je 0x10006f1da
test byte [rcx + 0x1c], r13b
je 0x10006f1da
mov edx, r13d
cmp edi, eax
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x10006f1da
mov edx, 0x41
mov qword [rsp + 0x20], rbp
mov r9d, edi
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b984
xor ebp, ebp
cmp edi, ebp
jne 0x10006f3aa
mov edi, dword [rsp + 0x44]
cmp edi, ebp
je 0x10006f31d
mov eax, dword [0x1001578f4]
mov dword [rsp + 0xf8], eax
lea ecx, [rbp + 4]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, [0x10001ef30]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006f276
test byte [rcx + 0x1c], r13b
je 0x10006f276
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
lea r8d, [rbp + 5]
cmove edx, r8d
cmp eax, edx
jl 0x10006f276
lea edx, [rbp + 0x42]
mov eax, dword [0x1001578f4]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
cmp byte [rsp + 0x40], bpl
je 0x10006f3ae
mov eax, dword [0x1001578fc]
mov dword [rsp + 0x100], eax
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x100]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, [0x10001ef58]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006f3ae
test byte [rcx + 0x1c], r13b
je 0x10006f3ae
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f3ae
lea edx, [r8 + 0x3e]
mov eax, dword [0x1001578fc]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
jmp 0x10006f3ae
mov eax, dword [0x1001578f8]
mov dword [rsp + 0xf0], eax
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, [0x10001ef80]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, eax
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10006f3ae
test byte [rcx + 0x1c], r13b
je 0x10006f3ae
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f3ae
lea edx, [r8 + 0x3f]
mov eax, dword [0x1001578f8]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
jmp 0x10006f3ae
mov edi, dword [rsp + 0x44]
cmp rsi, rbp
je 0x10006f3bc
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
je 0x10006f523
mov qword [rsp + 0x148], rbp
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov r9d, 0x20106
xor r8d, r8d
lea rdx, [0x10001ec70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebp
jne 0x10006f523
mov rdi, qword [rsp + 0x148]
mov eax, dword [0x1001578f0]
mov dword [rsp + 0xe8], eax
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, [0x10001ef30]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, eax
mov rcx, qword [0x100152eb8]
lea rsi, [0x100152eb8]
cmp rcx, rsi
je 0x10006f491
test byte [rcx + 0x1c], r13b
je 0x10006f491
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f491
lea edx, [r8 + 0x40]
mov eax, dword [0x1001578f0]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
mov eax, dword [0x100157900]
mov dword [rsp + 0x110], eax
mov ecx, 4
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x110]
mov qword [rsp + 0x20], rax
mov r9d, ecx
xor r8d, r8d
lea rdx, [0x10001ef58]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov r9d, eax
mov rcx, qword [0x100152eb8]
cmp rcx, rsi
je 0x10006f515
test byte [rcx + 0x1c], r13b
je 0x10006f515
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f515
lea edx, [r8 + 0x41]
mov eax, dword [0x100157900]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b338
cmp rdi, rbp
je 0x10006f523
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100158e34], ebp
je 0x10006f594
mov al, byte [0x100158e38]
cmp al, 4
jae 0x10006f53a
cmp al, bpl
jne 0x10006f594
movabs rcx, 0x8000000000000000
test qword [0x100158e20], rcx
je 0x10006f594
mov rdx, qword [0x100158e28]
mov rax, rdx
and rax, rcx
cmp rax, rdx
jne 0x10006f594
mov eax, dword [0x100157900]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1001578f0]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1001578fc]
mov r8d, dword [0x1001578f4]
lea rdx, [0x100002ee0]
mov rcx, qword [0x100158e08]
call fcn.1000bb6f0
lea rcx, [0x100154b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x90], ebp
mov rdi, qword [0x100152eb8]
xor r11d, r11d
jmp 0x10006f6c6
mov ecx, 0x8007000e
call fcn.100036264
int3
mov rdi, qword [0x100152eb8]
jmp 0x10006f6c6
mov ebp, 0x80070057
mov rdi, qword [0x100152eb8]
cmp rdi, rsi
je 0x10006f62b
test byte [rdi + 0x1c], r13b
je 0x10006f62b
cmp byte [rdi + 0x19], r13b
jb 0x10006f62b
mov edx, 0x31
mov dword [rsp + 0x30], ebp
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x60]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006bc7c
mov rdi, qword [0x100152eb8]
xor r11d, r11d
jmp 0x10006f6c6
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
movzx ebp, r14w
or ebp, 0x80070000
cmp r14d, edi
cmovle ebp, r14d
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006f6aa
test byte [rdi + 0x1c], r13b
je 0x10006f6be
cmp byte [rdi + 0x19], r13b
jb 0x10006f6b4
mov edx, 0x2f
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x2a0]
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10006b8e4
mov rdi, qword [0x100152eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f6c6
mov r14, qword [rsp + 0x48]
xor r11d, r11d
cmp dword [rsp + 0x44], r11d
je 0x10006f705
mov rax, qword [rsp + 0x70]
cmp dword [rax - 0x10], r11d
je 0x10006f705
cmp dword [rbx - 0x10], r11d
je 0x10006f705
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [0x100157cf8]
call fcn.10006c6e8
xor edi, edi
cmp ebp, edi
cmovge ebp, eax
mov rdi, qword [0x100152eb8]
xor r11d, r11d
mov rsi, qword [rsp + 0x118]
cmp rsi, r11
je 0x10006f722
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov rdi, qword [0x100152eb8]
cmp dword [rsp + 0x78], 1
jne 0x10006f746
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ea2a8
mov rdi, qword [0x100152eb8]
xor esi, esi
cmp dword [rsp + 0x90], esi
je 0x10006f770
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000ea2a8
mov rdi, qword [0x100152eb8]
mov rax, qword [rsp + 0x98]
cmp rax, rsi
je 0x10006f791
mov edx, 1
mov rcx, rax
call fcn.10006f9c8
mov rdi, qword [0x100152eb8]
cmp dword [0x100158e34], esi
je 0x10006f813
mov al, byte [0x100158e38]
cmp al, 4
jae 0x10006f7a8
cmp al, sil
jne 0x10006f813
movabs rdx, 0x8000000000000000
test qword [0x100158e20], rdx
je 0x10006f813
mov rcx, qword [0x100158e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006f813
mov eax, esi
cmp byte [rsp + 0x40], sil
setne al
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9, r15
mov r8d, dword [rsp + 0x44]
lea rdx, [0x100002ed0]
mov rcx, qword [0x100158e08]
call fcn.10006aba8
mov rdi, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rdi, rax
je 0x10006f850
test byte [rdi + 0x1c], 1
je 0x10006f850
movzx eax, byte [rdi + 0x19]
cmp ebp, esi
mov ecx, 5
cmovge r13d, ecx
cmp eax, r13d
jl 0x10006f850
lea edx, [rcx + 0x42]
mov r9d, ebp
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100036328
nop
mov rdx, qword [rsp + 0xc0]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f875
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f89a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f8bc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f8de
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rsp + 0xe0]
cmp rcx, rsi
je 0x10006f919
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xd8]
cmp rcx, rsi
je 0x10006f92d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rsp + 0x158]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f952
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0xa8]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f977
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x168]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
cmp eax, esi
jg 0x10006f99b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebp
mov rcx, qword [rsp + 0x16b0]
xor rcx, rsp
call fcn.10011b980
add rsp, 0x16c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret