Function at 0x18003d99c
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0xa80
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x160], 0xfffffffffffffffe
mov qword [rbp + 0xa78], rbx
mov qword [rbp + 0xa80], rsi
mov qword [rbp + 0xa88], rdi
mov rax, qword [0x1801563c0]
xor rax, rbp
mov qword [rbp + 0xa30], rax
mov r13, rcx
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerExtensions
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rdi, [0x18010d528]
or r15, 0xffffffffffffffff
xor r14d, r14d
cmp eax, r14d
jne 0x18003e0ae
mov r12d, r14d
lea r9d, [r15 + 0x65]
lea r8, [rbp + 0x230]
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, r14d
jne 0x18003e0ae
mov rdx, rdi
lea rcx, [rbp + 0x48]
call fcn.1800041c0
nop
lea r8, [rbp + 0x230]
lea rdx, str.SOFTWAREMicrosoftInternet_ExplorerExtensions_s
lea rcx, [rbp + 0x48]
call fcn.180008f64
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x28]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.1800041c0
nop
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x18003dbd7
lea rdx, str.ButtonText
lea rcx, [rbp + 0x180]
call fcn.180007f64
lea r9, [rbp + 0x28]
mov r8, rax
mov rdx, qword [rbp + 0x68]
lea rcx, [0x180163340]
call fcn.18001b3c0
lea rdx, str.ClsidExtension
lea rcx, [rbp + 0x170]
call fcn.180007f64
lea r9, [rbp + 8]
mov r8, rax
mov rdx, qword [rbp + 0x68]
lea rcx, [0x180163340]
call fcn.18001b3c0
mov rdx, rdi
lea rcx, [rbp + 0x88]
call fcn.1800041c0
nop
mov rbx, qword [rbp + 8]
mov r8, rbx
lea rdx, str.CLSID_sInprocServer32
lea rcx, [rbp + 0x88]
call fcn.180008f64
lea rdx, [rbp + 0xa8]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdi, qword [rbp + 0x88]
mov rdx, rdi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x18003db99
lea rdx, [0x18010d528]
lea rcx, [rbp + 0x178]
call fcn.1800041c0
lea r9, [rbp + 0x18]
mov r8, rax
mov rdx, qword [rbp + 0xa8]
lea rcx, [0x180163340]
call fcn.18001b3c0
mov rcx, qword [rbp + 0xa8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rdi - 0xc]
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003dbdb
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003dbd1
call fcn.1800d1434
mov rbx, qword [rbp + 8]
jmp 0x18003dbdb
mov rbx, qword [rbp + 8]
jmp 0x18003dbdb
mov rbx, qword [rbp + 8]
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x28], r14
jne 0x18003dbf3
mov rdx, r14
jmp 0x18003dc77
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003dc0d
mov rdx, r14
jmp 0x18003dc77
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003dc26
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r14
je 0x18003dc74
mov byte [rdi], r14b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r15d
mov r8, qword [rbp + 0x28]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003dc77
mov rdx, r14
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x120], r14
mov byte [rbp + 0x110], r14b
xor eax, eax
mov rcx, r15
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x108]
call fcn.180003768
nop
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x208]
call fcn.180059a54
nop
cmp qword [rbp + 0x128], 0x10
jb 0x18003dcd8
mov rcx, qword [rbp + 0x110]
call fcn.1800d1290
mov qword [rbp + 0x128], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x120], r14
mov byte [rbp + 0x110], r14b
lea rdx, [rbp + 0x210]
cmp qword [rbp + 0x228], 0x10
cmovae rdx, qword [rbp + 0x210]
lea rcx, [rbp + 0x98]
call fcn.180007f64
nop
cmp qword [rbp + 0x18], r14
jne 0x18003dd23
mov rdx, r14
jmp 0x18003dda7
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003dd3d
mov rdx, r14
jmp 0x18003dda7
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003dd56
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r14
je 0x18003dda4
mov byte [rdi], r14b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r15d
mov r8, qword [rbp + 0x18]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003dda7
mov rdx, r14
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], r14
mov byte [rbp + 0xe8], r14b
xor eax, eax
mov rcx, r15
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xe0]
call fcn.180003768
nop
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x190]
call fcn.180059a54
nop
cmp qword [rbp + 0x100], 0x10
jb 0x18003de08
mov rcx, qword [rbp + 0xe8]
call fcn.1800d1290
mov qword [rbp + 0x100], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xf8], r14
mov byte [rbp + 0xe8], r14b
lea rdx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0x10
cmovae rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0xa0]
call fcn.180007f64
nop
lea rdx, [0x18010d528]
lea rcx, [rbp + 0x38]
call fcn.1800041c0
nop
lea rdi, [rbx - 0xc]
cmp dword [rdi], r14d
jl 0x18003de6d
mov qword [rbp + 0x58], rbx
lock add dword [rdi], 1
mov rbx, qword [rbp + 8]
jmp 0x18003de8f
mov rax, qword [0x18015f768]
mov qword [rbp + 0x58], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x58]
call fcn.180003e28
lea rdx, [rbp + 0x58]
mov rcx, r13
call fcn.18003c9b0
movzx edx, al
mov dword [rsp + 0x28], edx
mov rax, qword [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rbp + 0x98]
lea rdx, str._Addin_name__s__id__s__filename__s__active__d__type_extension___
lea rcx, [rbp + 0x38]
call fcn.180008f64
mov rdx, qword [r13 + 0x18]
mov r8, qword [rbp + 0x38]
mov edx, dword [rdx - 8]
lea rcx, [r13 + 0x18]
call fcn.180039144
lea rcx, [0x18010d528]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x18010d528]
mov edx, eax
lea rcx, [rbp + 0x38]
call fcn.180003e28
inc r12d
mov r9d, 0x64
lea r8, [rbp + 0x230]
mov edx, r12d
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
mov rcx, qword [rbp + 0x38]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003df43
mov edx, r15d
lock xadd dword [rcx], edx
add edx, r15d
cmp edx, r14d
jg 0x18003df43
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0xa0]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003df6f
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003df6f
call fcn.1800d1434
nop
cmp qword [rbp + 0x1b0], 0x10
jb 0x18003df85
mov rcx, qword [rbp + 0x198]
call fcn.1800d1290
mov qword [rbp + 0x1b0], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1a8], r14
mov byte [rbp + 0x198], r14b
mov rcx, qword [rbp + 0x98]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003dfca
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003dfca
call fcn.1800d1434
nop
cmp qword [rbp + 0x228], 0x10
jb 0x18003dfe0
mov rcx, qword [rbp + 0x210]
call fcn.1800d1290
mov qword [rbp + 0x228], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x220], r14
mov byte [rbp + 0x210], r14b
mov rcx, qword [rbp + 0x18]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e022
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e022
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x28]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e04b
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e04b
call fcn.1800d1434
nop
lea rcx, [0x18015f758]
cmp rdi, rcx
je 0x18003e06f
mov eax, r15d
lock xadd dword [rdi], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e06f
mov rcx, rdi
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x48]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e097
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e097
call fcn.1800d1434
cmp ebx, r14d
lea rdi, [0x18010d528]
je 0x18003da46
lea rdi, [0x18010d528]
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbp]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerExtensions
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x18003e764
mov r12d, r14d
mov r9d, 0x64
lea r8, [rbp + 0x230]
xor edx, edx
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, r14d
jne 0x18003e764
mov rdx, rdi
lea rcx, [rbp + 0x70]
call fcn.1800041c0
nop
lea r8, [rbp + 0x230]
lea rdx, str.SOFTWAREWow6432NodeMicrosoftInternet_ExplorerExtensions_s
lea rcx, [rbp + 0x70]
call fcn.180008f64
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x30]
call fcn.1800041c0
nop
mov rdx, rdi
lea rcx, [rbp + 0x20]
call fcn.1800041c0
nop
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp + 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x18003e294
lea rdx, str.ButtonText
lea rcx, [rbp + 0x158]
call fcn.180007f64
lea r9, [rbp + 0x30]
mov r8, rax
mov rdx, qword [rbp + 0x50]
lea rcx, [0x180163340]
call fcn.18001b3c0
lea rdx, str.ClsidExtension
lea rcx, [rbp + 0x168]
call fcn.180007f64
lea r9, [rbp + 0x10]
mov r8, rax
mov rdx, qword [rbp + 0x50]
lea rcx, [0x180163340]
call fcn.18001b3c0
mov rdx, rdi
lea rcx, [rbp + 0x78]
call fcn.1800041c0
nop
mov rbx, qword [rbp + 0x10]
mov r8, rbx
lea rdx, str.CLSID_sInprocServer32
lea rcx, [rbp + 0x78]
call fcn.180008f64
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x20], rdx
mov r9d, 0x20019
xor r8d, r8d
mov rdi, qword [rbp + 0x78]
mov rdx, rdi
mov rcx, 0xffffffff80000000
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, r14d
jne 0x18003e256
lea rdx, [0x18010d528]
lea rcx, [rbp + 0x188]
call fcn.1800041c0
lea r9, [rbp + 0x20]
mov r8, rax
mov rdx, qword [rbp + 0x90]
lea rcx, [0x180163340]
call fcn.18001b3c0
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rdi - 0xc]
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e298
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e28e
call fcn.1800d1434
mov rbx, qword [rbp + 0x10]
jmp 0x18003e298
mov rbx, qword [rbp + 0x10]
jmp 0x18003e298
mov rbx, qword [rbp + 0x10]
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp + 0x30], r14
jne 0x18003e2b0
mov rdx, r14
jmp 0x18003e334
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003e2ca
mov rdx, r14
jmp 0x18003e334
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003e2e3
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r14
je 0x18003e331
mov byte [rdi], r14b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r15d
mov r8, qword [rbp + 0x30]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003e334
mov rdx, r14
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x148], r14
mov byte [rbp + 0x138], r14b
xor eax, eax
mov rcx, r15
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x130]
call fcn.180003768
nop
lea rdx, [rbp + 0x130]
lea rcx, [rbp + 0x1e0]
call fcn.180059a54
nop
cmp qword [rbp + 0x150], 0x10
jb 0x18003e395
mov rcx, qword [rbp + 0x138]
call fcn.1800d1290
mov qword [rbp + 0x150], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x148], r14
mov byte [rbp + 0x138], r14b
lea rdx, [rbp + 0x1e8]
cmp qword [rbp + 0x200], 0x10
cmovae rdx, qword [rbp + 0x1e8]
lea rcx, [rbp + 0xb0]
call fcn.180007f64
nop
cmp qword [rbp + 0x20], r14
jne 0x18003e3e0
mov rdx, r14
jmp 0x18003e464
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jle 0x18003e3fa
mov rdx, r14
jmp 0x18003e464
movsxd rax, edx
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x18003e413
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1800f12f0
sub rsp, rcx
lea rdi, [rsp + 0x40]
cmp rdi, r14
je 0x18003e461
mov byte [rdi], r14b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, r15d
mov r8, qword [rbp + 0x20]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb rdx, rdx
and rdx, rdi
jmp 0x18003e464
mov rdx, r14
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd0], r14
mov byte [rbp + 0xc0], r14b
xor eax, eax
mov rcx, r15
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0xb8]
call fcn.180003768
nop
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x1b8]
call fcn.180059a54
nop
cmp qword [rbp + 0xd8], 0x10
jb 0x18003e4c5
mov rcx, qword [rbp + 0xc0]
call fcn.1800d1290
mov qword [rbp + 0xd8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xd0], r14
mov byte [rbp + 0xc0], r14b
lea rdx, [rbp + 0x1c0]
cmp qword [rbp + 0x1d8], 0x10
cmovae rdx, qword [rbp + 0x1c0]
lea rcx, [rbp + 0x80]
call fcn.180007f64
nop
lea rdx, [0x18010d528]
lea rcx, [rbp + 0x40]
call fcn.1800041c0
nop
lea rdi, [rbx - 0xc]
cmp dword [rdi], r14d
jl 0x18003e52a
mov qword [rbp + 0x60], rbx
lock add dword [rdi], 1
mov rbx, qword [rbp + 0x10]
jmp 0x18003e54c
mov rax, qword [0x18015f768]
mov qword [rbp + 0x60], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r8, rbx
mov edx, eax
lea rcx, [rbp + 0x60]
call fcn.180003e28
lea rdx, [rbp + 0x60]
mov rcx, r13
call fcn.18003c9b0
movzx edx, al
mov dword [rsp + 0x28], edx
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
mov r9, rbx
mov r8, qword [rbp + 0xb0]
lea rdx, str._Addin_name__s__id__s__filename__s__active__d__type_extension_wow___
lea rcx, [rbp + 0x40]
call fcn.180008f64
mov rdx, qword [r13 + 0x18]
mov r8, qword [rbp + 0x40]
mov edx, dword [rdx - 8]
lea rcx, [r13 + 0x18]
call fcn.180039144
lea rcx, [0x18010d528]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r8, [0x18010d528]
mov edx, eax
lea rcx, [rbp + 0x40]
call fcn.180003e28
inc r12d
mov r9d, 0x64
lea r8, [rbp + 0x230]
mov edx, r12d
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov ebx, eax
mov rcx, qword [rbp + 0x40]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e600
mov edx, r15d
lock xadd dword [rcx], edx
add edx, r15d
cmp edx, r14d
jg 0x18003e600
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x80]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e62c
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e62c
call fcn.1800d1434
nop
cmp qword [rbp + 0x1d8], 0x10
jb 0x18003e642
mov rcx, qword [rbp + 0x1c0]
call fcn.1800d1290
mov qword [rbp + 0x1d8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1d0], r14
mov byte [rbp + 0x1c0], r14b
mov rcx, qword [rbp + 0xb0]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e687
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e687
call fcn.1800d1434
nop
cmp qword [rbp + 0x200], 0x10
jb 0x18003e69d
mov rcx, qword [rbp + 0x1e8]
call fcn.1800d1290
mov qword [rbp + 0x200], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x1f8], r14
mov byte [rbp + 0x1e8], r14b
mov rcx, qword [rbp + 0x20]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e6df
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e6df
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x30]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e708
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e708
call fcn.1800d1434
nop
lea rcx, [0x18015f758]
cmp rdi, rcx
je 0x18003e72c
mov eax, r15d
lock xadd dword [rdi], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e72c
mov rcx, rdi
call fcn.1800d1434
nop
mov rcx, qword [rbp + 0x70]
add rcx, 0xfffffffffffffff4
lea rax, [0x18015f758]
cmp rcx, rax
je 0x18003e754
mov eax, r15d
lock xadd dword [rcx], eax
add eax, r15d
cmp eax, r14d
jg 0x18003e754
call fcn.1800d1434
cmp ebx, r14d
lea rdi, [0x18010d528]
je 0x18003e10c
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0xa30]
xor rcx, rbp
call fcn.1800d12b0
mov rbx, qword [rbp + 0xa78]
mov rsi, qword [rbp + 0xa80]
mov rdi, qword [rbp + 0xa88]
lea rsp, [rbp + 0xa40]
pop r15
pop r14
pop r13
pop r12
pop rbp
ret