Function at 0x435690
Capabilities:
Access the windows event log
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov eax, dword [0x4a1088]
xor eax, ebp
mov dword [esp + 0xa8], eax
mov edi, 0x80070057
test ecx, ecx
je 0x4357ea
cmp word [ecx], 0
je 0x4357ea
mov dword [esp + 4], ecx
mov dword [esp], edx
xor ebx, ebx
lea eax, [esp + 0x7c]
mov dword [eax], ebx
push eax
push 0x45f020
push 1
push ebx
push 0x45f030
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x435802
mov edi, dword [esp + 0x7c]
xorps xmm0, xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
mov eax, dword [edi]
mov ecx, dword [eax + 0x28]
call dword [section..00cfg]
sub esp, 0x44
movaps xmm0, xmmword [esp + 0xa4]
movups xmmword [esp + 0x34], xmm0
movaps xmm0, xmmword [esp + 0x94]
movups xmmword [esp + 0x24], xmm0
movaps xmm0, xmmword [esp + 0x84]
movups xmmword [esp + 0x14], xmm0
movaps xmm0, xmmword [esp + 0x74]
movups xmmword [esp + 4], xmm0
mov dword [esp], edi
call ecx
test eax, eax
js 0x4358a5
xor esi, esi
mov dword [esp + 0x2c], esi
push 0x49befc
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x2c], esi
test ebx, ebx
je 0x435789
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
call ecx
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
call dword [section..00cfg]
lea eax, [esp + 0x2c]
push eax
mov esi, dword [esp + 0x10]
push esi
push edi
call ecx
test eax, eax
jns 0x43595f
xor edi, edi
cmp eax, 0x80070002
cmovne edi, eax
test esi, esi
je 0x4357be
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x4357d4
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x4357ea
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00448b70
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp + 0xc], eax
mov ecx, 0x148
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ecx, [eax + 1]
mov dword [esp], ecx
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.004484b7
add esp, 4
push esi
mov esi, eax
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x148
push eax
mov eax, str.RemoveTasks
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [esp + 0x14]
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [esp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x435951
mov ebx, eax
lea eax, [esp + 0x90]
mov dword [eax], esi
xor ecx, ecx
xor edx, edx
inc edx
push ecx
push eax
push ecx
push edx
push ecx
push edi
push ecx
push edx
jmp 0x435943
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp + 0xc], eax
mov ecx, 0x14a
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ecx, [eax + 1]
mov dword [esp], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.004484b7
add esp, 4
mov esi, eax
xor eax, eax
push ebx
push eax
xor ebx, ebx
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x14a
push eax
mov eax, str.RemoveTasks
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [esp + 0x14]
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [esp + 0xc]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x435951
mov ebx, eax
lea eax, [esp + 0x90]
mov dword [eax], esi
xor ecx, ecx
inc ecx
xor edx, edx
push edx
push eax
push edx
push ecx
push edx
push edi
push edx
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push esi
call fcn.004484c0
add esp, 4
jmp 0x4357d4
mov esi, dword [esp + 0x2c]
lea edi, [esp + 0x28]
mov dword [edi], 0
mov eax, dword [esi]
mov ecx, dword [eax + 0x38]
call dword [section..00cfg]
push edi
push 1
push esi
call ecx
test eax, eax
jns 0x4359de
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp], eax
mov ecx, 0x15b
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ecx, [eax + 1]
mov dword [esp + 4], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.004484b7
add esp, 4
mov esi, eax
xor eax, eax
push ebx
push eax
xor ebx, ebx
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x15b
jmp 0x435a5d
lea esi, [esp + 0x24]
mov dword [esi], 0
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
call dword [section..00cfg]
push esi
push edi
call ecx
test eax, eax
jns 0x435ad6
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp], eax
mov ecx, 0x15e
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ecx, [eax + 1]
mov dword [esp + 4], ecx
lea ecx, [eax + eax]
add ecx, 2
xor ebx, ebx
dec ebx
cmp eax, 0xffffffff
cmovge ebx, ecx
push ebx
call fcn.004484b7
add esp, 4
mov esi, eax
xor eax, eax
push ebx
push eax
xor ebx, ebx
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x15e
push eax
mov eax, str.RemoveTasks
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push dword [esp + 0x18]
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [esp]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x435aae
mov ebx, eax
lea eax, [esp + 0x90]
mov dword [eax], esi
xor ecx, ecx
inc ecx
xor edx, edx
push edx
push eax
push edx
push ecx
push edx
push edi
push edx
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
push esi
call fcn.004484c0
add esp, 4
mov esi, dword [esp + 0x28]
test esi, esi
je 0x435acd
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
mov esi, dword [esp + 0xc]
jmp 0x4357b3
xor eax, eax
lea edi, [esp + 0x90]
mov dword [edi], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], 0
sub esp, 0xc
mov al, byte [esp + 0x8c]
mov byte [esp + 4], al
mov dword [esp + 8], 0x49caec
mov dword [esp], 0x1e
mov ecx, edi
call fcn.0044fdb0
mov ebx, dword [esp + 4]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov esi, edx
sub esi, ecx
cmp esi, eax
jb 0x435e21
lea ebx, [ecx + eax]
mov dword [esp + 0xa0], ebx
cmp edx, 8
jb 0x435b49
mov edi, dword [esp + 0x90]
lea ecx, [edi + ecx*2]
add eax, eax
push eax
push dword [esp + 8]
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov word [edi + ebx*2], 0
cmp dword [esp + 0x24], 0
jle 0x435d0b
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0
mov edi, dword [esp + 0x28]
mov dword [esp + 0x20], 0
inc esi
mov word [esp + 0x80], 3
mov dword [esp + 0x88], esi
mov eax, dword [edi]
mov ecx, dword [eax + 0x20]
call dword [section..00cfg]
sub esp, 0x18
movups xmm0, xmmword [esp + 0x98]
movups xmmword [esp + 4], xmm0
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
mov dword [esp], edi
call ecx
mov edi, eax
lea ebx, [esp + 0x80]
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
test edi, edi
js 0x435c44
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax + 0x1c]
call dword [section..00cfg]
push ebx
push esi
call ecx
test eax, eax
js 0x435c4d
mov edi, dword [esp + 0x80]
cmp dword [esp], 0
je 0x435c5a
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov ebx, eax
mov esi, dword [esp + 4]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
cmp eax, ebx
ja 0x435cd4
lea ecx, [edi + ebx*2]
add eax, eax
sub ecx, eax
push esi
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x435cd4
mov ebx, dword [esp + 0x80]
jmp 0x435cb0
mov dword [esp + 8], edi
jmp 0x435ce9
mov dword [esp + 8], eax
mov esi, dword [esp + 0x14]
jmp 0x435ce9
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov edx, dword [esp + 0xa0]
cmp eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
cmovb edx, eax
test edx, edx
je 0x435ca4
cmp dword [esp + 0xa4], 8
lea ebx, [esp + 0x90]
jb 0x435c93
mov ebx, dword [esp + 0x90]
xor ecx, ecx
movzx esi, word [ebx + ecx*2]
cmp si, word [edi + ecx*2]
jne 0x435cd4
inc ecx
cmp edx, ecx
jne 0x435c95
mov ebx, edi
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x1c], eax
jne 0x435cd4
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax + 0x3c]
call dword [section..00cfg]
push 0
push ebx
push esi
call ecx
test eax, eax
mov ecx, dword [esp + 8]
cmovs ecx, eax
mov dword [esp + 8], ecx
jmp 0x435cda
mov al, 1
mov dword [esp + 0x10], eax
test edi, edi
mov esi, dword [esp + 0x14]
je 0x435ce9
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x20]
test edi, edi
je 0x435cff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push edi
call ecx
cmp esi, dword [esp + 0x24]
jl 0x435b7f
jmp 0x435d1b
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
test byte [esp + 0x10], 1
mov eax, dword [esp + 8]
jne 0x435dd1
test eax, eax
js 0x435dd1
xor esi, esi
mov dword [esp + 0x20], esi
push 0x49bf58
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp], eax
mov edi, dword [esp + 0x7c]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], esi
test ebx, ebx
je 0x435d64
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push ebx
call ecx
mov eax, dword [edi]
mov ecx, dword [eax + 0x1c]
call dword [section..00cfg]
lea eax, [esp + 0x20]
push eax
push dword [esp + 4]
push edi
call ecx
test eax, eax
js 0x435e4b
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax + 0x30]
call dword [section..00cfg]
push 0
push dword [esp + 0x10]
push esi
call ecx
test eax, eax
js 0x435ea2
mov bl, 1
mov esi, dword [esp]
test esi, esi
je 0x435db3
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov esi, dword [esp + 0x20]
test esi, esi
je 0x435dc9
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [section..00cfg]
push esi
call ecx
test bl, bl
mov eax, dword [esp + 8]
je 0x435dd3
mov edi, eax
mov eax, dword [esp + 0xa4]
cmp eax, 8
jb 0x435ab7
mov ecx, dword [esp + 0x90]
lea esi, [eax + eax]
add esi, 2
cmp esi, 0x1000
jb 0x435e12
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x435f5d
add eax, eax
add eax, 0x25
mov esi, eax
mov ecx, edx
push esi
push ecx
call fcn.004484f5
add esp, 8
jmp 0x435ab7
sub esp, 0x10
mov cl, byte [esp + 0x90]
mov byte [esp + 4], cl
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp], eax
lea ecx, [esp + 0xa0]
call fcn.0044fec0
jmp 0x435b62
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp + 4], eax
mov ecx, 0x194
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ebx, [eax + 1]
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.004484b7
add esp, 4
xor ecx, ecx
push esi
mov esi, eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x194
jmp 0x435ef7
mov edi, eax
mov eax, dword [sym.default_browser_agent.exe_gWinEventLogSourceName]
mov dword [esp + 4], eax
mov ecx, 0x195
mov edx, str.RemoveTasks
mov eax, str.0x_X_in__S:_d
push ecx
push edx
push edi
push eax
call fcn.0044eb90
add esp, 0x10
lea ebx, [eax + 1]
lea ecx, [eax + eax]
add ecx, 2
xor esi, esi
dec esi
cmp eax, 0xffffffff
cmovge esi, ecx
push esi
call fcn.004484b7
add esp, 4
xor ecx, ecx
push esi
mov esi, eax
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, 0x195
push eax
mov eax, str.RemoveTasks
push eax
push edi
mov eax, str.0x_X_in__S:_d
push eax
push 0xffffffffffffffff
push ebx
push esi
call fcn.0044ebf0
add esp, 0x1c
push dword [esp + 4]
xor eax, eax
push eax
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x435f48
mov ebx, eax
lea eax, [esp + 0x80]
mov dword [eax], esi
xor ecx, ecx
inc ecx
xor edx, edx
push edx
push eax
push edx
push ecx
push edx
push edi
push edx
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push ebx
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, esi
mov esi, dword [esp]
push eax
call fcn.004484c0
add esp, 4
xor ebx, ebx
jmp 0x435da8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3