Function at 0x1400d4170
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14030bc70]
xor rax, rsp
mov qword [rbp + 0x1b8], rax
mov r14, rcx
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x90]
call fcn.140141ad0
mov rax, qword [0x14030b570]
mov qword [rbp - 0x70], rax
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x90]
call fcn.14010f450
test eax, eax
sete byte [rsp + 0x40]
xor r15d, r15d
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r15
mov qword [rbp + 0x88], reloc.WSOCK32.dll_ntohs
mov qword [rbp + 0x80], r15
mov byte [rbp + 0x70], r15b
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
cmp byte [rsp + 0x40], r15b
je 0x1400d423d
mov rax, qword [r14]
mov r8, qword [rbp - 0x70]
xor edx, edx
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov rsi, qword [rsp + 0x50]
jmp 0x1400d42ed
lea r9, [rbp + 0x70]
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x48]
call fcn.1400fb1e0
nop
lea rcx, [rsp + 0x50]
cmp rcx, rax
je 0x1400d4288
mov rsi, qword [rax]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rax + 8]
mov qword [rsp + 0x58], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
jmp 0x1400d428d
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x1400d42c7
lea r8, [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
call fcn.14001ad50
mov r8, qword [rbp - 0x38]
mov rdx, qword [rbp - 0x48]
sub r8, rdx
sar r8, 4
lea rcx, [rbp - 0x48]
call fcn.1401a3280
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r15
cmp byte [rsp + 0x40], 0
je 0x1400d42ed
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae r8, qword [rbp + 0x70]
mov rax, qword [r14]
mov edx, 1
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp - 0x80], r15
mov rax, qword [r14 + 0x20]
mov rcx, qword [rax + 0xb0]
mov eax, dword [rcx + 0xbdb8]
mov dword [rsp + 0x6c], eax
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SoftwareSSMaintenance
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400d4388
mov dword [rsp + 0x68], r15d
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.DelayValue
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1400d437e
mov ebx, dword [rsp + 0x68]
mov eax, 5
cmp ebx, eax
cmovb ebx, eax
mov dword [rsp + 0x6c], ebx
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x70], r15
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x58], xmm0
xor r13b, r13b
xor eax, eax
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rax
mov dword [rbp + 0x1b0], eax
mov word [rbp + 0x1b4], ax
mov byte [rbp + 0x1b6], al
mov rbx, r15
mov qword [rsp + 0x48], rbx
mov rax, qword [rsp + 0x58]
sub rax, rsi
sar rax, 4
mov qword [rbp - 0x30], rax
test rax, rax
je 0x1400d48a4
nop dword [rax]
xor ecx, ecx
call fcn.1401541c8
mov qword [rbp - 0x78], rax
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
mov qword [rbp + 0x68], reloc.WSOCK32.dll_ntohs
mov qword [rbp + 0x60], r15
mov byte [rbp + 0x50], 0
xor r8d, r8d
lea rdx, [rbp + 0x50]
mov rcx, qword [rsi]
call fcn.140101220
lea rcx, [rbp + 0x50]
cmp qword [rbp + 0x68], 0x10
cmovae rcx, qword [rbp + 0x50]
call fcn.1400a9c70
mov r15d, eax
mov rcx, qword [r14 + 0x230]
mov rdx, qword [rcx + 8]
mov rdi, rcx
cmp byte [rdx + 0x19], 0
jne 0x1400d4458
nop dword [rax]
cmp dword [rdx + 0x20], r15d
jae 0x1400d444c
mov rdx, qword [rdx + 0x10]
jmp 0x1400d4452
mov rdi, rdx
mov rdx, qword [rdx]
cmp byte [rdx + 0x19], 0
je 0x1400d4440
cmp rdi, rcx
je 0x1400d4463
cmp r15d, dword [rdi + 0x20]
jae 0x1400d4466
mov rdi, rcx
cmp rdi, rcx
je 0x1400d449d
mov rax, qword [rdi + 0x28]
mov rdx, qword [rbp - 0x78]
sub rdx, qword [rax]
mov eax, dword [rsp + 0x6c]
imul rcx, rax, 0x3c
cmp rdx, rcx
jg 0x1400d449d
mov rax, qword [r14]
lea r8, str.Skipping_user___s__for_EWS_definitions_update.__5_minute_interval_has_not_elapsed.
mov edx, 4
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x1400d4775
test r13b, r13b
jne 0x1400d457b
mov rcx, r14
call fcn.1400d6c20
test al, al
je 0x1400d44ed
mov rax, qword [r14 + 0x20]
mov rcx, qword [rax + 0xb0]
lea r8, [r14 + 0x2c8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], al
mov r9d, dword [rcx + 0xbba4]
lea rdx, [r14 + 0x60]
mov rcx, r14
call fcn.1400d5cf0
mov rbx, qword [r14 + 0x60]
jmp 0x1400d44f9
mov rcx, r14
call fcn.1400d60f0
mov rbx, qword [r14 + 0x58]
cmp eax, 1
mov qword [rsp + 0x70], rbx
sete r13b
test r13b, r13b
je 0x1400d47f1
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x68], xmm0
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.1400d2a70
nop
mov rax, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x50]
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x68]
mov rax, qword [rbp - 0x58]
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x58], rcx
test rdx, rdx
je 0x1400d4580
or eax, 0xffffffff
lock xadd dword [rdx + 8], eax
cmp eax, 1
jne 0x1400d4580
mov rbx, qword [rbp - 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d457b
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rbx, qword [rsp + 0x70]
cmp rdi, qword [r14 + 0x230]
je 0x1400d459f
mov r8d, reloc.WS2_32.dll_socket
lea rdx, [rbp + 0x1a0]
mov rcx, qword [rdi + 0x28]
call fcn.1400d25b0
lea rax, [rbp - 0x28]
mov qword [rbp + 0x18], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
mov r8, qword [rsi + 8]
mov rdx, qword [rsi]
test r8, r8
je 0x1400d45c0
lock inc dword [r8 + 8]
lea rcx, [rbp - 0x28]
call fcn.14001b0d0
nop
lea r9, [rbp + 0x1a0]
mov r8, rbx
lea rdx, [rbp - 0x28]
mov rcx, r14
call fcn.1400d8060
test al, al
jne 0x1400d463c
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1400d4632
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, 0x1000
jb 0x1400d462d
test cl, 0x1f
jne 0x1400d4881
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400d487b
sub rcx, rax
cmp rcx, 8
jb 0x1400d4875
cmp rcx, 0x27
ja 0x1400d486f
mov rcx, rax
call fcn.1400dbae0
mov rbx, qword [rsp + 0x48]
jmp 0x1400d47c3
lea rdx, [rbp + 0x1a0]
cmp rdi, qword [r14 + 0x230]
jne 0x1400d4756
lea r9, [rbp - 0x78]
lea r8, reloc.WS2_32.dll_socket
lea rcx, [rbp - 0x18]
call fcn.1400d2b80
nop
mov rdx, qword [rbp - 0x18]
test rdx, rdx
je 0x1400d46f9
mov dword [rbp - 8], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp], xmm0
mov r8, qword [rbp - 0x10]
test r8, r8
je 0x1400d468c
lock inc dword [r8 + 8]
lea rcx, [rbp]
call fcn.14001b0d0
nop
lea rdx, [rbp - 8]
lea rcx, [r14 + 0x230]
call fcn.1400d2600
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rbp + 0x40]
lea rcx, [r14 + 0x230]
call fcn.1400d2910
nop
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x1400d4720
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d4720
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d4720
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x1400d4720
movups xmm0, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rbp + 0x60]
movaps xmmword [rbp + 0x30], xmm1
mov rax, qword [r14]
lea r9, [rbp + 0x20]
lea r8, str.Unable_to_create_user_information_state_for_user___s_
xor edx, edx
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rbx, qword [rbp - 0x10]
test rbx, rbx
je 0x1400d4770
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d4770
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d4770
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
jmp 0x1400d4770
mov rcx, qword [rdi + 0x28]
mov rax, qword [rbp - 0x78]
mov qword [rcx], rax
mov r8d, reloc.WS2_32.dll_socket
mov rcx, qword [rdi + 0x28]
call fcn.1400d25e0
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1400d47c3
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, 0x1000
jb 0x1400d47be
test cl, 0x1f
jne 0x1400d4899
mov rax, qword [rcx - 8]
cmp rax, rcx
jae 0x1400d4893
sub rcx, rax
cmp rcx, 8
jb 0x1400d488d
cmp rcx, 0x27
ja 0x1400d4887
mov rcx, rax
call fcn.1400dbae0
xor r15d, r15d
mov byte [rbp + 0x50], r15b
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], reloc.WSOCK32.dll_ntohs
inc rbx
mov qword [rsp + 0x48], rbx
add rsi, 0x10
cmp rbx, qword [rbp - 0x30]
jae 0x1400d489f
jmp 0x1400d43e0
mov rax, qword [r14]
lea r8, str.Unable_to_connect_to_server_to_request_EWS_alert_definitions
xor edx, edx
mov rcx, r14
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbp + 0x68]
cmp rax, 0x10
jb 0x1400d485a
inc rax
mov rcx, qword [rbp + 0x50]
cmp rax, 0x1000
jb 0x1400d4855
test cl, 0x1f
je 0x1400d4828
call fcn.14014b4d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400d4837
call fcn.14014b4d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400d4846
call fcn.14014b4d8
int3
cmp rcx, 0x27
jbe 0x1400d4852
call fcn.14014b4d8
int3
mov rcx, rax
call fcn.1400dbae0
mov qword [rbp + 0x68], reloc.WSOCK32.dll_ntohs
xor r15d, r15d
mov qword [rbp + 0x60], r15
mov byte [rbp + 0x50], r15b
jmp 0x1400d489f
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
call fcn.14014b4d8
int3
mov rsi, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x1400d48e2
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400d48dd
mov rbx, qword [rbp - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d48dd
mov rcx, qword [rbp - 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_htonl]
mov rsi, qword [rsp + 0x50]
test rsi, rsi
je 0x1400d49b9
cmp rsi, qword [rsp + 0x58]
je 0x1400d493d
lea rdi, [rsi + 8]
mov rbx, qword [rdi]
test rbx, rbx
je 0x1400d4929
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400d4929
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400d4929
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WSOCK32.dll_htonl]
add rdi, 0x10
lea rax, [rdi - 8]
cmp rax, qword [rsp + 0x58]
jne 0x1400d48f6
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
sub rax, rsi
sar rax, 4
movabs rcx, 0xfffffffffffffff
cmp rax, rcx
jbe 0x1400d495e
call fcn.14014b4d8
int3
shl rax, 4
cmp rax, 0x1000
jb 0x1400d49a3
test sil, 0x1f
je 0x1400d4976
call fcn.14014b4d8
int3
mov rax, qword [rsi - 8]
cmp rax, rsi
jb 0x1400d4985
call fcn.14014b4d8
int3
sub rsi, rax
cmp rsi, 8
jae 0x1400d4994
call fcn.14014b4d8
int3
cmp rsi, 0x27
jbe 0x1400d49a0
call fcn.14014b4d8
int3
mov rsi, rax
mov rcx, rsi
call fcn.1400dbae0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov rax, qword [rbp + 0x88]
cmp rax, 0x10
jb 0x1400d4a12
inc rax
mov rcx, qword [rbp + 0x70]
cmp rax, 0x1000
jb 0x1400d4a0d
test cl, 0x1f
je 0x1400d49e0
call fcn.14014b4d8
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400d49ef
call fcn.14014b4d8
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400d49fe
call fcn.14014b4d8
int3
cmp rcx, 0x27
jbe 0x1400d4a0a
call fcn.14014b4d8
int3
mov rcx, rax
call fcn.1400dbae0
mov qword [rbp + 0x88], reloc.WSOCK32.dll_ntohs
mov qword [rbp + 0x80], r15
mov byte [rbp + 0x70], 0
lea rcx, [rbp - 0x70]
call fcn.1400f81a0
mov rcx, qword [rbp + 0x1b8]
xor rcx, rsp
call fcn.140113910
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
jmp 0x1400d4170