Function at 0x467140
Capabilities:
Reference cloudflare dns server

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dd896
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x64106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa0], edx
mov ebx, ecx
mov dword [ebp - 0x88], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xac], eax
call fcn.0044a060
mov ecx, eax
test ecx, ecx
jne 0x4671ac
push 0x80004005
call fcn.00449d90
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x80], edi
cmp byte [ebp + 0x14], 0
mov dword [ebp - 4], 0
je 0x4671d6
push 0x3f
push str.___LogonTrigger__n_____Enabled_true__Enabled__n____LogonTrigger__n
lea ecx, [ebp - 0x80]
call fcn.0044bc30
mov edi, dword [ebp - 0x80]
call fcn.0044a060
mov ecx, eax
test ecx, ecx
jne 0x4671eb
push 0x80004005
call fcn.00449d90
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x84], esi
cmp byte [ebp + 0x18], 0
mov byte [ebp - 4], 1
je 0x46721b
push 0x62
push str._____Repetition__n_______Interval_PT1H__Interval__n_______Duration_P1D__Duration__n______Repetition__n
lea ecx, [ebp - 0x84]
call fcn.0044bc30
mov esi, dword [ebp - 0x84]
call fcn.0044a060
mov ecx, eax
test ecx, ecx
jne 0x467230
push 0x80004005
call fcn.00449d90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 2
call fcn.0044a060
mov ecx, eax
test ecx, ecx
jne 0x467254
push 0x80004005
call fcn.00449d90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x78], eax
cmp byte [ebp + 0x10], 0
mov byte [ebp - 4], 3
je 0x4672cf
lea ecx, [ebp - 0x70]
call fcn.00464b20
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00464a00
mov edx, eax
test edx, edx
jne 0x467286
xor ecx, ecx
jmp 0x4672a5
mov ecx, edx
lea ebx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467290
sub ecx, ebx
mov ebx, dword [ebp - 0x88]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.0044bc30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00464810
push 0x26
push str._RunLevel_HighestAvailable__RunLevel__n
lea ecx, [ebp - 0x78]
call fcn.0044bc30
jmp 0x4673a9
mov dword [ebp - 0x98], 0x624d68
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
lea ecx, [ebp - 0x70]
call fcn.004645d0
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x9c]
push ecx
push 0x20008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x46733b
mov eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x98]
call dword [eax + 4]
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94], eax
sub esp, 8
lea eax, [ebp - 0x70]
lea ecx, [ebp - 0x98]
push eax
call fcn.00467d50
lea ecx, [ebp - 0x70]
call fcn.00464a00
mov edx, eax
test edx, edx
jne 0x46735f
xor ecx, ecx
jmp 0x467379
mov ecx, edx
lea ebx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467364
sub ecx, ebx
mov ebx, dword [ebp - 0x88]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.0044bc30
push 0x28
push str._LogonType_InteractiveToken__LogonType__n
lea ecx, [ebp - 0x78]
call fcn.0044bc30
lea ecx, [ebp - 0x70]
call fcn.00464810
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 3
call fcn.00465a00
call fcn.0044a060
mov ecx, eax
test ecx, ecx
jne 0x4673be
push 0x80004005
call fcn.00449d90
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa0]
mov byte [ebp - 4], 7
push dword [eax]
mov eax, dword [ebp - 0xa4]
push dword [ebx]
mov ebx, dword [ebp - 0x78]
push ebx
push dword [ebp - 0x74]
push esi
push dword [eax]
mov eax, dword [ebp - 0xa8]
push edi
push dword [eax]
lea eax, [ebp - 0x7c]
push str.1.0.0.1
push str.__xml_version_1.0__encoding_UTF_16____n_Task_version_1.2__n__xmlns_http:__schemas.microsoft.com_windows_2004_02_mit_task___n___RegistrationInfo__n_____Version__s__Version__n_____Description__s__Description__n____RegistrationInfo__n___Triggers__n_____s_n_____CalendarTrigger__n_______StartBoundary__s__StartBoundary__n_______s_n_______ScheduleByDay__n_________DaysInterval_1__DaysInterval__n________ScheduleByDay__n______CalendarTrigger__n____Triggers__n___Principals__n_____Principal__n_______UserId__s__UserId__n_______s_n______Principal__n____Principals__n___Settings__n_____MultipleInstancesPolicy_IgnoreNew__MultipleInstancesPolicy__n_____DisallowStartIfOnBatteries_false__DisallowStartIfOnBatteries__n_____StartWhenAvailable_true__StartWhenAvailable__n_____RunOnlyIfNetworkAvailable_false__RunOnlyIfNetworkAvailable__n_____Enabled_true__Enabled__n_____RunOnlyIfIdle_false__RunOnlyIfIdle__n_____WakeToRun_false__WakeToRun__n_____ExecutionTimeLimit_PT72H__ExecutionTimeLimit__n____Settings__n___Actions__n_____Exec__n_______Command__s__Command__n_______Arguments__s__Arguments__n______Exec__n____Actions__n__Task__n
push eax
call fcn.00465f30
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x7c]
add esp, 0x2c
push eax
call fcn.00467b70
mov byte [ebp - 4], 3
or eax, 0xffffffff
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467434
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467452
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467470
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46748b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4674a7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c2233
mov esp, ebp
pop ebp
ret