Function at 0x10006da18
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.100129f70
sub rsp, rax
mov qword [rsp + 0x178], 0xfffffffffffffffe
mov rax, qword [0x100152198]
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, [0x100153eb8]
mov eax, 5
mov rcx, qword [0x100153eb8]
cmp rcx, r12
je 0x10006daaa
test byte [rcx + 0x1c], 1
je 0x10006daaa
cmp byte [rcx + 0x19], al
jb 0x10006daaa
lea edx, [rax + 0x1f]
mov qword [rsp + 0x20], r9
mov r9, r8
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003c2b8
movabs rdx, 0x8000000000000000
xor r14d, r14d
cmp dword [0x100159e34], r14d
je 0x10006db08
mov al, byte [0x100159e38]
cmp al, 4
jae 0x10006dacf
cmp al, r14b
jne 0x10006db08
test qword [0x100159e20], rdx
je 0x10006db08
mov rcx, qword [0x100159e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006db08
mov qword [rsp + 0x20], rdi
mov r9, r15
mov r8d, esi
lea rdx, [0x100002ec0]
mov rcx, qword [0x100159e08]
call fcn.10006addc
lea rcx, [rsp + 0x160]
call fcn.1000ea0e8
lea rdx, fcn.1000eb330
mov qword [rsp + 0x160], rdx
lea rcx, [rsp + 0xa0]
call fcn.1000ea0e8
lea rdx, [0x100020130]
mov qword [rsp + 0xa0], rdx
lea rcx, [rsp + 0x150]
call fcn.1000ea0e8
lea rdx, fcn.1000eb330
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, [0x100152100]
mov rcx, r13
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov rcx, r13
mov rax, qword [0x100152100]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
mov rcx, r13
mov rax, qword [0x100152100]
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 [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc0], rax
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x1001588c8]
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 1
jne 0x10006decb
mov rdi, qword [0x100153eb8]
cmp rdi, r12
je 0x10006dcc6
test byte [rdi + 0x1c], 4
je 0x10006dcc6
cmp byte [rdi + 0x19], 4
jb 0x10006dcc6
mov edx, 0x25
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100034784
mov rdi, qword [0x100153eb8]
cmp dword [0x100159e34], r14d
je 0x10006dd3a
mov al, byte [0x100159e38]
cmp al, 4
jae 0x10006dcde
cmp al, r14b
jne 0x10006dd3a
movabs rdx, 0x8000000000000000
test qword [0x100159e20], rdx
je 0x10006dd3a
mov rcx, qword [0x100159e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006dd3a
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 [0x100159e08]
call fcn.10006ae54
mov rdi, qword [0x100153eb8]
mov ebx, 0x8007045b
cmp rdi, r12
je 0x10006dd6e
test byte [rdi + 0x1c], 1
je 0x10006dd6e
mov r13d, 2
cmp byte [rdi + 0x19], r13b
jb 0x10006dd6e
lea edx, [r13 + 0x24]
mov r9d, ebx
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100036510
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 0x10006dd98
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 0x10006ddbe
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 0x10006dde1
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 0x10006de04
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 0x10006de3f
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xd8]
cmp rcx, r14
je 0x10006de53
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 0x10006de79
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 0x10006de9f
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 0x10006dec4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, ebx
jmp 0x10006fbfd
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 0x10006df4d
mov rdi, qword [0x100153eb8]
lea rsi, [0x100153eb8]
cmp rdi, rsi
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006f88b
cmp byte [rdi + 0x19], r13b
jb 0x10006f88b
lea edx, [r12 + 0x28]
mov dword [rsp + 0x20], eax
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100058720
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x18]
mov ebp, eax
cmp eax, r14d
jge 0x10006dfc2
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006f88b
cmp byte [rdi + 0x19], r13b
jb 0x10006f88b
mov edx, 0x28
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100058720
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov rcx, qword [0x100153eb8]
lea rsi, [0x100153eb8]
cmp rcx, rsi
je 0x10006e007
test byte [rcx + 0x1c], r13b
je 0x10006e007
cmp byte [rcx + 0x19], 4
jb 0x10006e007
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.10006c6d4
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 0x10006e0d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006e0bc
test byte [rdi + 0x1c], r13b
je 0x10006e0bc
cmp byte [rdi + 0x19], r13b
jb 0x10006e0bc
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.10006be34
mov rdi, qword [0x100153eb8]
movzx ebp, si
or ebp, 0x80070000
cmp esi, r14d
cmovle ebp, esi
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
cmp dword [rsp + 0x204], 1
je 0x10006e142
mov ebp, 0x80070057
mov rdi, qword [0x100153eb8]
cmp rdi, rsi
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006f88b
cmp byte [rdi + 0x19], r13b
jb 0x10006f88b
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.10003b8a0
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov rcx, qword [0x100153eb8]
cmp rcx, rsi
je 0x10006e177
test byte [rcx + 0x1c], 4
je 0x10006e177
cmp byte [rcx + 0x19], 4
jb 0x10006e177
mov edx, 0x2c
lea r9, [rsp + 0x2a0]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
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 0x10006e2b2
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 0x10006e24c
mov ebp, 0x80004005
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006e25a
cmp byte [rdi + 0x19], r13b
jb 0x10006e25a
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.10006bcec
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
jmp 0x10006e25a
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f88b
test byte [rdi + 0x1c], 4
je 0x10006f88b
movzx ecx, byte [rdi + 0x19]
mov eax, r13d
cmp ebp, r14d
mov edx, 5
cmovge eax, edx
cmp ecx, eax
jl 0x10006f88b
mov edx, 0x2e
mov dword [rsp + 0x20], esi
mov r9d, ebp
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.10003be4c
mov rdi, qword [0x100153eb8]
xor r11d, r11d
jmp 0x10006f926
lea rcx, [rsp + 0x290]
call fcn.100086d98
mov dword [rsp + 0xb0], 6
mov rsi, qword [rsp + 0x118]
cmp rsi, rdi
je 0x10006f898
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsi + 0x20]
call fcn.100072a4c
mov r14d, eax
cmp eax, edi
je 0x10006e30f
mov rsi, qword [rsi + 0x28]
mov dword [rsp + 0xb0], 6
cmp rsi, rdi
jne 0x10006e2db
cmp rsi, rdi
je 0x10006f898
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x290]
call fcn.100086f44
mov rcx, qword [0x100153eb8]
lea rsi, [0x100153eb8]
cmp rcx, rsi
je 0x10006e365
test byte [rcx + 0x1c], 4
je 0x10006e365
cmp byte [rcx + 0x19], 4
jb 0x10006e365
mov edx, ebp
mov qword [rsp + 0x20], r15
mov r9, qword [rsp + 0x70]
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100065da4
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 0x10006f837
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, r14d
je 0x10006f832
mov rdx, qword [rsp + 0x58]
cmp rdx, r14
jne 0x10006e3a4
mov ecx, r14d
jmp 0x10006e3b5
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.1000361b0
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 0x10006e459
mov ebp, 0x80070057
mov rdi, qword [0x100153eb8]
cmp rdi, rsi
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006f88b
cmp byte [rdi + 0x19], r13b
jb 0x10006f88b
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.10006bef8
mov rdi, qword [0x100153eb8]
xor r11d, r11d
jmp 0x10006f926
mov rcx, qword [0x100153eb8]
cmp rcx, rsi
je 0x10006e495
test byte [rcx + 0x1c], r13b
je 0x10006e495
cmp byte [rcx + 0x19], 4
jb 0x10006e495
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.10003b3bc
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 [0x100158688], rsi
je 0x10006e51c
mov rdx, r14
lea rcx, [rsp + 0x128]
call fcn.100035db8
nop
mov rcx, qword [0x100158688]
cmp qword [rcx + 0x158], rsi
je 0x10006e4ec
lea rdx, [rsp + 0x128]
call fcn.10004794c
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 0x10006e517
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006e51c
mov rbx, qword [rsp + 0x68]
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebp, esi
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ea248
mov esi, 0x80070000
xor ecx, ecx
cmp eax, ecx
jne 0x10006e5d9
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ea540
cmp eax, 0xb7
je 0x10006e6f0
mov dword [rsp + 0x78], 1
xor ecx, ecx
cmp eax, ecx
je 0x10006e6f2
movzx ebp, ax
or ebp, esi
cmp eax, ecx
cmovle ebp, eax
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006e6d7
test byte [rcx + 0x1c], r13b
je 0x10006e6d7
cmp byte [rcx + 0x19], r13b
jb 0x10006e6d7
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.10006c084
jmp 0x10006e6d7
mov dword [rsp + 0x78], ecx
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
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.1000ec17c
mov edi, eax
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006e655
test byte [rcx + 0x1c], 4
je 0x10006e655
cmp byte [rcx + 0x19], 4
jb 0x10006e655
mov edx, 0x35
mov r9d, edi
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
xor eax, eax
cmp edi, eax
jne 0x10006e6a8
lea r8, [0x1000214d0]
mov rdx, r14
mov rcx, rbx
call fcn.1000ed53c
mov rcx, qword [0x100153eb8]
lea rdx, [0x100153eb8]
cmp rcx, rdx
je 0x10006e6a4
test byte [rcx + 0x1c], 4
je 0x10006e6a4
cmp byte [rcx + 0x19], 4
jb 0x10006e6a4
mov edx, 0x36
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
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 0x10006e6e3
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 0x10006e7e8
jmp 0x10006e6f2
mov rbx, qword [rsp + 0x68]
mov edi, dword [rsp + 0x44]
xor ecx, ecx
jmp 0x10006e6f2
xor ecx, ecx
cmp edi, ecx
je 0x10006e7e8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000ea248
xor ecx, ecx
cmp eax, ecx
jne 0x10006e798
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000ea540
cmp eax, 0xb7
je 0x10006e79f
mov dword [rsp + 0x90], 1
xor ecx, ecx
cmp eax, ecx
je 0x10006e7a6
movzx ebp, ax
or ebp, esi
cmp eax, ecx
cmovle ebp, eax
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006e7ad
test byte [rcx + 0x1c], r13b
je 0x10006e7bb
cmp byte [rcx + 0x19], r13b
jb 0x10006e7b4
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.10006c084
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
jmp 0x10006e7c0
mov rsi, qword [rsp + 0x50]
xor eax, eax
cmp ebp, eax
jl 0x10006e7e8
mov dword [rsp + 0x20], 1
mov r9, r14
lea r8, [0x1000214f0]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000ecef4
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r11d, r11d
cmp ebp, r11d
jl 0x10006f826
xor ebp, ebp
cmp edi, ebp
je 0x10006e862
mov rdx, r15
mov rsi, qword [rsp + 0xb8]
mov rcx, rsi
call fcn.10006d53c
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.1000ec3f0
mov r9d, edi
lea r8, [0x100021420]
mov rbp, qword [rsp + 0x50]
mov rdx, rbp
lea rcx, [rsp + 0xa0]
call fcn.1000ec3f0
jmp 0x10006e86f
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.10006fcec
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.100070268
xor eax, eax
cmp dword [rsp + 0x44], eax
je 0x10006e951
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
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.10006fcec
mov qword [rsp + 0x20], rdi
mov r9, rbp
lea r8, [rsp + 0xa0]
mov rdx, r15
mov rcx, rsi
call fcn.100070268
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 0x10006e94a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006e953
mov rbx, qword [rsp + 0x68]
jmp 0x10006e953
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 0x10006e982
mov qword [rsp + 0x130], rdi
xor esi, esi
jmp 0x10006e99e
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0x130], rax
xor esi, esi
cmp rax, rsi
je 0x10006f81b
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, esi
jne 0x10006e9bb
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
jmp 0x10006eb84
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 0x10006eb6c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
cmp eax, edi
je 0x10006eb6c
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 0x10006eae6
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx r9d, ax
or r9d, 0x80070000
cmp eax, edi
cmovle r9d, eax
jmp 0x10006eb28
cmp dword [rsp + 0x194], 1
je 0x10006eaf5
mov r9d, ebp
jmp 0x10006eb2d
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 0x10006eba2
mov r9d, ebp
cmp r9d, edi
jge 0x10006eb62
mov rcx, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006eb62
test byte [rcx + 0x1c], r13b
je 0x10006eb62
cmp byte [rcx + 0x19], r13b
jb 0x10006eb62
mov edx, 0x38
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
nop
xor ecx, ecx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x10006eb84
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 0x10006ef46
jmp 0x10006e961
mov ecx, 0x30
call fcn.10011bd18
mov rsi, rax
mov qword [rsp + 0x98], rax
cmp rax, rdi
je 0x10006ec3a
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 8], rax
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x10], rax
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x18], rax
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi + 0x20], rax
jmp 0x10006ec45
mov rsi, rdi
mov qword [rsp + 0x98], rdi
cmp rsi, rdi
je 0x10006ef3e
mov rdx, qword [rsp + 0x58]
cmp rdx, rdi
jne 0x10006ec5c
mov ecx, edi
jmp 0x10006ec6f
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.1000361b0
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 0x10006eca2
mov edx, 0x104
mov rcx, rsi
call fcn.100036160
mov edx, 0x104
mov rcx, qword [rsi]
call fcn.10006aa20
cmp eax, edi
jne 0x10006ef23
cmp r14, rdi
je 0x10006ef23
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsi]
cmp rdx, rdi
jne 0x10006ece9
mov ecx, edi
jmp 0x10006ed04
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 0x10006ef1b
cmp ecx, dword [rdx - 0xc]
jg 0x10006ef1b
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 0x10006ed28
mov ecx, edi
jmp 0x10006ed39
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.1000361b0
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.10003579c
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.10003579c
mov ebx, dword [rsp + 0x44]
xor edi, edi
cmp ebx, edi
je 0x10006ee3e
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x108], rax
lea rdx, [rsp + 0x108]
mov rcx, qword [rsp + 0x50]
call fcn.1000efe9c
cmp eax, edi
jne 0x10006ee1a
mov rbx, qword [rsp + 0x98]
add rbx, 0x10
mov rdx, rsi
mov rcx, rbx
call fcn.100035ef8
mov rdx, qword [rsp + 0x108]
mov rcx, rbx
call fcn.100076d24
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.10003579c
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 0x10006ee3e
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.10003579c
mov rsi, qword [rsp + 0x98]
cmp rbp, rdi
jne 0x10006ee63
mov ecx, edi
jmp 0x10006ee76
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.1000361b0
mov rdx, qword [rsp + 0x50]
cmp rdx, rdi
jne 0x10006ee93
mov ecx, edi
jmp 0x10006eea6
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.1000361b0
mov dword [rsi + 0x28], ebx
lock add dword [0x10015869c], 1
mov r8d, 0x10
mov rdx, rsi
lea rcx, [0x1000751c0]
call qword [sym.imp.KERNEL32.dll_QueueUserWorkItem]
cmp eax, edi
je 0x10006eee1
mov qword [rsp + 0x98], rdi
jmp 0x10006eee9
lock add dword [0x10015869c], 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 0x10006ef14
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x68]
jmp 0x10006ef3e
mov rbx, qword [rsp + 0x68]
jmp 0x10006ef3e
mov ecx, ebp
call fcn.100036284
nop
mov rax, qword [rsi]
cmp dword [rax - 0xc], edi
jl 0x10006ef36
mov dword [rax - 0x10], edi
mov rax, qword [rsi]
mov word [rax], di
jmp 0x10006ef3e
mov ecx, ebp
call fcn.100036284
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 0x10006efbe
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f029
test byte [rdi + 0x1c], r13b
je 0x10006f029
cmp byte [rdi + 0x19], r13b
jb 0x10006f029
mov edx, 0x39
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100058720
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov rcx, qword [rsp + 0xe0]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd0]
call qword [rax + 0x18]
mov ebp, eax
cmp eax, edi
jge 0x10006f036
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f029
test byte [rdi + 0x1c], r13b
je 0x10006f029
cmp byte [rdi + 0x19], r13b
jb 0x10006f029
mov edx, 0x3a
mov dword [rsp + 0x20], ebp
mov r9, r15
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100058720
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov edi, dword [rsp + 0x44]
mov r8d, edi
mov r14, qword [rsp + 0x48]
mov rdx, r14
mov rcx, qword [rsp + 0xd0]
call fcn.10007571c
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp edi, esi
je 0x10006f1ed
mov r8, r14
mov rdx, rbx
lea rcx, [0x100154320]
call fcn.10004d6f4
mov rcx, qword [0x100153eb8]
lea rbp, [0x100153eb8]
cmp rcx, rbp
je 0x10006f0c3
test byte [rcx + 0x1c], 4
je 0x10006f0ca
lea edx, [rsi + 5]
cmp byte [rcx + 0x19], dl
jb 0x10006f0cf
lea edx, [rsi + 0x3b]
mov qword [rsp + 0x20], r14
mov r9, rbx
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003b3bc
mov rcx, qword [0x100153eb8]
lea edx, [rsi + 5]
jmp 0x10006f0cf
mov edx, 5
jmp 0x10006f0cf
mov edx, 5
mov rax, qword [0x100154328]
mov dword [0x1001588f4], eax
mov dword [0x1001588f0], eax
cmp rcx, rbp
je 0x10006f111
test byte [rcx + 0x1c], 4
je 0x10006f111
cmp byte [rcx + 0x19], dl
jb 0x10006f111
mov edx, 0x3c
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
mov rcx, qword [0x100153eb8]
cmp byte [rsp + 0x40], sil
je 0x10006f18e
xor r8d, r8d
mov rdx, rbx
lea rcx, [0x100154368]
call fcn.10004d80c
cmp rax, rsi
jne 0x10006f180
mov rdx, rbx
lea rcx, [0x100154368]
call fcn.10004e39c
mov rcx, qword [0x100153eb8]
cmp rcx, rbp
je 0x10006f195
test byte [rcx + 0x1c], 4
je 0x10006f19c
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x10006f1a1
mov edx, 0x3d
mov r9, rbx
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
mov rcx, qword [0x100153eb8]
mov edx, 5
jmp 0x10006f1a1
mov rcx, qword [0x100153eb8]
mov edx, 5
jmp 0x10006f1a1
mov edx, 5
jmp 0x10006f1a1
mov edx, 5
jmp 0x10006f1a1
mov edx, 5
mov rax, qword [0x100154378]
mov dword [0x1001588fc], eax
mov dword [0x100158900], eax
cmp rcx, rbp
je 0x10006f2b2
test byte [rcx + 0x1c], 4
je 0x10006f2b2
cmp byte [rcx + 0x19], dl
jb 0x10006f2b2
mov edx, 0x3e
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
jmp 0x10006f2b2
xor r8d, r8d
mov rdx, r14
lea rcx, [0x1001542e8]
call fcn.10004d80c
cmp rax, rsi
jne 0x10006f25c
mov rdx, r14
lea rcx, [0x1001542e8]
call fcn.10004e39c
mov rcx, qword [0x100153eb8]
lea rbp, [0x100153eb8]
cmp rcx, rbp
je 0x10006f271
test byte [rcx + 0x1c], 4
je 0x10006f278
mov edx, 5
cmp byte [rcx + 0x19], dl
jb 0x10006f27d
mov edx, 0x3f
mov r9, r14
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
mov rcx, qword [0x100153eb8]
mov edx, 5
jmp 0x10006f27d
mov rcx, qword [0x100153eb8]
lea rbp, [0x100153eb8]
mov edx, 5
jmp 0x10006f27d
mov edx, 5
jmp 0x10006f27d
mov edx, 5
mov rax, qword [0x1001542f8]
mov dword [0x1001588f8], eax
cmp rcx, rbp
je 0x10006f2b2
test byte [rcx + 0x1c], 4
je 0x10006f2b2
cmp byte [rcx + 0x19], dl
jb 0x10006f2b2
mov edx, 0x40
mov r9d, eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
mov rdx, qword [rsp + 0x208]
cmp rdx, rsi
jne 0x10006f2c3
mov ecx, esi
jmp 0x10006f2d8
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.1000361b0
mov edx, 0x5b
lea rcx, [rsp + 0x88]
call fcn.100076e2c
mov edx, 0x5d
lea rcx, [rsp + 0x88]
call fcn.100076e2c
mov r9, qword [rsp + 0x88]
lea r8, [0x100021528]
mov rdx, r14
mov rbp, qword [rsp + 0x80]
mov rcx, rbp
call fcn.1000ec76c
cmp edi, esi
je 0x10006f358
mov r9, qword [rsp + 0x88]
lea r8, [0x100021528]
mov rsi, qword [rsp + 0x50]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000ec76c
jmp 0x10006f35d
mov rsi, qword [rsp + 0x50]
mov r9d, 1
lea r8, [0x10001f020]
mov rdx, r14
mov rcx, rbp
call fcn.1000ec3f0
xor ecx, ecx
cmp edi, ecx
je 0x10006f398
lea r9d, [rcx + 1]
lea r8, [0x10001f020]
mov rdx, rsi
lea rcx, [rsp + 0xa0]
call fcn.1000ec3f0
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 0x10006f3ef
mov edi, eax
mov rsi, qword [rsp + 0x138]
mov rcx, qword [0x100153eb8]
lea rdx, [0x100153eb8]
cmp rcx, rdx
je 0x10006f43a
test byte [rcx + 0x1c], r13b
je 0x10006f43a
mov edx, r13d
cmp edi, eax
mov eax, 5
cmove edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jl 0x10006f43a
mov edx, 0x41
mov qword [rsp + 0x20], rbp
mov r9d, edi
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003ba64
xor ebp, ebp
cmp edi, ebp
jne 0x10006f60a
mov edi, dword [rsp + 0x44]
cmp edi, ebp
je 0x10006f57d
mov eax, dword [0x1001588f4]
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 [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006f4d6
test byte [rcx + 0x1c], r13b
je 0x10006f4d6
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
lea r8d, [rbp + 5]
cmove edx, r8d
cmp eax, edx
jl 0x10006f4d6
lea edx, [rbp + 0x42]
mov eax, dword [0x1001588f4]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003be4c
cmp byte [rsp + 0x40], bpl
je 0x10006f60e
mov eax, dword [0x1001588fc]
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 [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006f60e
test byte [rcx + 0x1c], r13b
je 0x10006f60e
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f60e
lea edx, [r8 + 0x3e]
mov eax, dword [0x1001588fc]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003be4c
jmp 0x10006f60e
mov eax, dword [0x1001588f8]
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 [0x100153eb8]
lea rax, [0x100153eb8]
cmp rcx, rax
je 0x10006f60e
test byte [rcx + 0x1c], r13b
je 0x10006f60e
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f60e
lea edx, [r8 + 0x3f]
mov eax, dword [0x1001588f8]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003be4c
jmp 0x10006f60e
mov edi, dword [rsp + 0x44]
cmp rsi, rbp
je 0x10006f61c
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebp
je 0x10006f783
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 0x10006f783
mov rdi, qword [rsp + 0x148]
mov eax, dword [0x1001588f0]
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 [0x100153eb8]
lea rsi, [0x100153eb8]
cmp rcx, rsi
je 0x10006f6f1
test byte [rcx + 0x1c], r13b
je 0x10006f6f1
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f6f1
lea edx, [r8 + 0x40]
mov eax, dword [0x1001588f0]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003be4c
mov eax, dword [0x100158900]
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 [0x100153eb8]
cmp rcx, rsi
je 0x10006f775
test byte [rcx + 0x1c], r13b
je 0x10006f775
movzx eax, byte [rcx + 0x19]
mov edx, r13d
cmp r9d, ebp
mov r8d, 5
cmove edx, r8d
cmp eax, edx
jl 0x10006f775
lea edx, [r8 + 0x41]
mov eax, dword [0x100158900]
mov dword [rsp + 0x20], eax
lea r8, [0x10001e430]
mov rcx, qword [rcx + 0x10]
call fcn.10003be4c
cmp rdi, rbp
je 0x10006f783
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x100159e34], ebp
je 0x10006f7f4
mov al, byte [0x100159e38]
cmp al, 4
jae 0x10006f79a
cmp al, bpl
jne 0x10006f7f4
movabs rcx, 0x8000000000000000
test qword [0x100159e20], rcx
je 0x10006f7f4
mov rdx, qword [0x100159e28]
mov rax, rdx
and rax, rcx
cmp rax, rdx
jne 0x10006f7f4
mov eax, dword [0x100158900]
mov dword [rsp + 0x28], eax
mov eax, dword [0x1001588f0]
mov dword [rsp + 0x20], eax
mov r9d, dword [0x1001588fc]
mov r8d, dword [0x1001588f4]
lea rdx, [0x100002ee0]
mov rcx, qword [0x100159e08]
call fcn.10007e7f0
lea rcx, [0x100155b18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x78], ebp
mov dword [rsp + 0x90], ebp
mov rdi, qword [0x100153eb8]
xor r11d, r11d
jmp 0x10006f926
mov ecx, 0x8007000e
call fcn.100036284
int3
mov rdi, qword [0x100153eb8]
jmp 0x10006f926
mov ebp, 0x80070057
mov rdi, qword [0x100153eb8]
cmp rdi, rsi
je 0x10006f88b
test byte [rdi + 0x1c], r13b
je 0x10006f88b
cmp byte [rdi + 0x19], r13b
jb 0x10006f88b
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.10006c084
mov rdi, qword [0x100153eb8]
xor r11d, r11d
jmp 0x10006f926
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
movzx ebp, r14w
or ebp, 0x80070000
cmp r14d, edi
cmovle ebp, r14d
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006f90a
test byte [rdi + 0x1c], r13b
je 0x10006f91e
cmp byte [rdi + 0x19], r13b
jb 0x10006f914
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.10006bcec
mov rdi, qword [0x100153eb8]
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov r14, qword [rsp + 0x48]
xor r11d, r11d
jmp 0x10006f926
mov r14, qword [rsp + 0x48]
xor r11d, r11d
cmp dword [rsp + 0x44], r11d
je 0x10006f965
mov rax, qword [rsp + 0x70]
cmp dword [rax - 0x10], r11d
je 0x10006f965
cmp dword [rbx - 0x10], r11d
je 0x10006f965
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x70]
lea rcx, [0x100158cf8]
call fcn.10006c948
xor edi, edi
cmp ebp, edi
cmovge ebp, eax
mov rdi, qword [0x100153eb8]
xor r11d, r11d
mov rsi, qword [rsp + 0x118]
cmp rsi, r11
je 0x10006f982
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov rdi, qword [0x100153eb8]
cmp dword [rsp + 0x78], 1
jne 0x10006f9a6
xor r9d, r9d
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x80]
call fcn.1000ea79c
mov rdi, qword [0x100153eb8]
xor esi, esi
cmp dword [rsp + 0x90], esi
je 0x10006f9d0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1000ea79c
mov rdi, qword [0x100153eb8]
mov rax, qword [rsp + 0x98]
cmp rax, rsi
je 0x10006f9f1
mov edx, 1
mov rcx, rax
call fcn.10006fc28
mov rdi, qword [0x100153eb8]
cmp dword [0x100159e34], esi
je 0x10006fa73
mov al, byte [0x100159e38]
cmp al, 4
jae 0x10006fa08
cmp al, sil
jne 0x10006fa73
movabs rdx, 0x8000000000000000
test qword [0x100159e20], rdx
je 0x10006fa73
mov rcx, qword [0x100159e28]
mov rax, rcx
and rax, rdx
cmp rax, rcx
jne 0x10006fa73
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 [0x100159e08]
call fcn.10006ae54
mov rdi, qword [0x100153eb8]
lea rax, [0x100153eb8]
cmp rdi, rax
je 0x10006fab0
test byte [rdi + 0x1c], 1
je 0x10006fab0
movzx eax, byte [rdi + 0x19]
cmp ebp, esi
mov ecx, 5
cmovge r13d, ecx
cmp eax, r13d
jl 0x10006fab0
lea edx, [rcx + 0x42]
mov r9d, ebp
lea r8, [0x10001e430]
mov rcx, qword [rdi + 0x10]
call fcn.100036510
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 0x10006fad5
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 0x10006fafa
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 0x10006fb1c
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 0x10006fb3e
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 0x10006fb79
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0xd8]
cmp rcx, rsi
je 0x10006fb8d
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 0x10006fbb2
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 0x10006fbd7
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 0x10006fbfb
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.10011be80
add rsp, 0x16c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret