Function at 0x46acc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511e68
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
mov eax, dword [0x58fa2c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x174], esi
push 0x110
lea eax, [ebp - 0x168]
push 0
push eax
call fcn.004b8570
mov eax, dword [0x58f3dc]
mov dword [ebp - 0x194], eax
mov dword [ebp - 4], 0
lea eax, [ebp - 0x194]
push eax
lea eax, [ebp - 0x168]
push eax
call fcn.0049ff20
add esp, 0x14
mov dword [ebp - 0x48], 0
test eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 0xf
sete byte [ebp - 0x169]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov byte [ebp - 4], 1
xor edi, edi
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x188], edi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x184], edi
mov byte [ebp - 4], 2
cmp byte [ebp - 0x169], 0
je 0x46ad99
push dword [ebp - 0x194]
mov eax, dword [esi]
push edi
push esi
call dword [eax + 8]
add esp, 0xc
jmp 0x46ae6a
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x169]
push eax
lea eax, [ebp - 0x168]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.0048b5f0
add esp, 0x10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x18c]
push eax
call fcn.00469bb0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1a4]
test eax, eax
je 0x46ae30
push dword [ebp - 0x1ac]
lea ecx, [ebp - 0x1a4]
push ecx
push dword [ebp - 0x1a0]
push eax
call fcn.00463ca0
mov ecx, dword [ebp - 0x1a4]
add esp, 0x10
mov eax, dword [ebp - 0x19c]
sub eax, ecx
sar eax, 3
push eax
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.00470930
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0
mov dword [ebp - 0x19c], 0
cmp byte [ebp - 0x169], 0
je 0x46ae5e
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov eax, dword [esi]
cmovae ecx, dword [ebp - 0x58]
push ecx
push 1
push esi
call dword [eax + 8]
mov edi, dword [ebp - 0x18c]
add esp, 0xc
mov dword [ebp - 0x170], edi
jmp 0x46ae6a
mov eax, dword [ebp - 0x18c]
mov dword [ebp - 0x170], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x190], 0
mov eax, dword [eax + 0x60]
mov eax, dword [eax + 0xaff8]
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x190]
push eax
push 0x20019
push 0
push str.SoftwareSSMaintenance
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x46af01
mov dword [ebp - 0x178], eax
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 0x178]
mov dword [ebp - 0x17c], 4
push eax
push 0
push 0
push str.DelayValue
push dword [ebp - 0x190]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x46aef5
mov edi, dword [ebp - 0x178]
mov eax, 5
cmp edi, eax
cmovb edi, eax
mov dword [ebp - 0x1a8], edi
push dword [ebp - 0x190]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x1b4], 0
mov dword [ebp - 0x1b0], edi
mov byte [ebp - 4], 4
xorps xmm0, xmm0
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x170]
sar eax, 3
mov byte [ebp - 0x16a], 0
mov dword [ebp - 0x18], edi
mov word [ebp - 0x14], di
mov byte [ebp - 0x12], 0
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x1ac], eax
movups xmmword [ebp - 0x28], xmm0
test eax, eax
je 0x46b36f
lea edi, [esi + 0x1bc]
mov dword [ebp - 0x1c8], edi
nop dword [eax]
push 0
call fcn.004c60d9
mov dword [ebp - 0x30], 0
add esp, 4
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x180]
mov eax, dword [ebp - 0x170]
push 0
lea eax, [eax + ecx*8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x198], eax
push ecx
mov ecx, dword [eax]
call fcn.004919c0
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.0044c600
mov ecx, dword [edi]
add esp, 4
mov dword [ebp - 0x1c4], eax
mov edi, ecx
mov edx, dword [ecx + 4]
cmp byte [edx + 0xd], 0
jne 0x46b004
nop dword [eax]
cmp dword [edx + 0x10], eax
jae 0x46affa
mov edx, dword [edx + 8]
jmp 0x46affe
mov edi, edx
mov edx, dword [edx]
cmp byte [edx + 0xd], 0
je 0x46aff0
cmp edi, ecx
je 0x46b00d
cmp eax, dword [edi + 0x10]
jae 0x46b00f
mov edi, ecx
cmp edi, dword [esi + 0x1bc]
je 0x46b04d
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x178]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x1a8]
shl eax, 4
sub eax, dword [ebp - 0x1a8]
shl eax, 2
cmp ecx, eax
jg 0x46b04d
mov eax, dword [esi]
push str.Skipping_user___s__for_EWS_definitions_update.__5_minute_interval_has_not_elapsed.
push 4
push esi
call dword [eax + 8]
add esp, 0xc
jmp 0x46b294
cmp byte [ebp - 0x16a], 0
jne 0x46b0c4
mov ecx, esi
call fcn.0046d5a0
test al, al
je 0x46b093
mov ecx, dword [ebp - 0x174]
add esi, 0x30
push 0
push 0
push 0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 0x60]
push dword [eax + 0xade4]
lea eax, [ecx + 0x238]
push eax
push esi
call fcn.0046c850
mov ecx, dword [esi]
mov esi, dword [ebp - 0x174]
jmp 0x46b09d
mov ecx, esi
call fcn.0046cc20
mov ecx, dword [esi + 0x2c]
cmp eax, 1
mov dword [ebp - 0x17c], ecx
sete al
mov byte [ebp - 0x16a], al
test al, al
je 0x46b32e
push esi
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.00469300
cmp edi, dword [esi + 0x1bc]
je 0x46b0da
mov ecx, dword [edi + 0x14]
lea eax, [ebp - 0x28]
push 0x17
push eax
call fcn.00468b40
mov edx, dword [ebp - 0x180]
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x17c]
mov eax, dword [ebp - 0x170]
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x1cc], esp
mov dword [ebp - 0x1b8], ecx
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [eax + edx*8 + 4]
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1bc], eax
mov edx, dword [edx]
mov dword [ebp - 0x1c0], edx
test eax, eax
je 0x46b12e
lock inc dword [eax + 4]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x198], ecx
test ecx, ecx
je 0x46b15e
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x46b15e
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x198]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x46b15e
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1b8]
mov ecx, dword [ebp - 0x1bc]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [eax], ecx
mov byte [ebp - 4], 6
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.0046e610
test al, al
je 0x46b294
cmp edi, dword [esi + 0x1bc]
jne 0x46b310
lea eax, [ebp - 0x178]
push eax
push 0x51e7a8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.00469200
add esp, 0x10
mov byte [ebp - 4], 7
cmp dword [ebp - 0x1d4], 0
je 0x46b238
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x1c4]
push eax
lea ecx, [ebp - 0x1e0]
call fcn.00468ba0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x1c8]
push eax
call fcn.00468c50
mov ecx, dword [ebp - 0x1c8]
push eax
add eax, 0x10
push eax
push 0
lea eax, [ebp - 0x1a0]
push eax
call fcn.00468ee0
mov byte [ebp - 4], 7
or edi, 0xffffffff
mov esi, dword [ebp - 0x1d8]
test esi, esi
je 0x46b261
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46b261
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x46b261
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
jmp 0x46b261
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [esi]
sub esp, 0x18
mov eax, esp
push str.Unable_to_create_user_information_state_for_user___s_
movups xmmword [eax], xmm0
push 0
movq xmm0, qword [ebp - 0x30]
push esi
movq qword [eax + 0x10], xmm0
call dword [ecx + 8]
add esp, 0x24
or edi, 0xffffffff
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x1d0]
test esi, esi
je 0x46b28e
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x46b28e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x46b28e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x174]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x46b2de
mov ecx, dword [ebp - 0x40]
inc eax
cmp eax, 0x1000
jb 0x46b2d5
test cl, 0x1f
jne 0x46b3de
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x46b3de
sub ecx, eax
cmp ecx, 4
jb 0x46b3de
cmp ecx, 0x23
ja 0x46b3de
mov ecx, eax
push ecx
call fcn.004722b0
add esp, 4
mov eax, dword [ebp - 0x180]
inc eax
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x180], eax
cmp eax, dword [ebp - 0x1ac]
jae 0x46b369
lea edi, [esi + 0x1bc]
jmp 0x46af70
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x178]
push 0x17
mov dword [eax], ecx
lea eax, [ebp - 0x28]
mov ecx, dword [edi + 0x14]
push eax
call fcn.00468b70
jmp 0x46b294
mov eax, dword [esi]
push str.Unable_to_connect_to_server_to_request_EWS_alert_definitions
push 0
push esi
call dword [eax + 8]
add esp, 0xc
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x46b357
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004066b0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov edi, dword [ebp - 0x1b0]
mov byte [ebp - 4], 2
test edi, edi
je 0x46b398
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x46b398
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
lock xadd dword [edi + 8], esi
dec esi
jne 0x46b398
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x170]
test eax, eax
je 0x46b442
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0x18c]
push ecx
push dword [ebp - 0x188]
push eax
call fcn.00463ca0
mov eax, dword [ebp - 0x184]
add esp, 0x10
mov ecx, dword [ebp - 0x170]
sub eax, ecx
sar eax, 3
cmp eax, 0x1fffffff
jbe 0x46b3e3
call fcn.004c2059
shl eax, 3
cmp eax, 0x1000
jb 0x46b41b
test cl, 0x1f
je 0x46b3f7
call fcn.004c2059
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x46b403
call fcn.004c2059
sub ecx, eax
cmp ecx, 4
jae 0x46b40f
call fcn.004c2059
cmp ecx, 0x23
jbe 0x46b419
call fcn.004c2059
mov ecx, eax
push ecx
call fcn.004722b0
add esp, 4
mov dword [ebp - 0x18c], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x46b490
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x1000
jb 0x46b487
test cl, 0x1f
je 0x46b463
call fcn.004c2059
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x46b46f
call fcn.004c2059
sub ecx, eax
cmp ecx, 4
jae 0x46b47b
call fcn.004c2059
cmp ecx, 0x23
jbe 0x46b485
call fcn.004c2059
mov ecx, eax
push ecx
call fcn.004722b0
add esp, 4
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x194]
call fcn.00488bc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4566
mov esp, ebp
pop ebp
ret