Function at 0x401530
Capabilities:
Schedule task via itaskservice

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x340
mov eax, dword [0x41800c]
mov edi, edx
mov esi, ecx
xor eax, ebp
mov dword [esp + 0x338], eax
call fcn.00402ad0
lea eax, [esp + 0xf4]
mov dword [esp + 0xf4], 0
push eax
push 0x414020
push 1
push 0
push 0x414030
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x40170c
mov eax, dword [esp + 0xf4]
xorps xmm0, xmm0
movaps xmmword [esp + 0xe0], xmm0
movaps xmmword [esp + 0xd0], xmm0
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
mov ecx, dword [eax]
sub esp, 0x44
movsd xmm0, qword [esp + 0x124]
movsd xmm1, qword [esp + 0x12c]
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x114]
movsd xmm1, qword [esp + 0x11c]
movsd qword [esp + 0x2c], xmm1
movsd qword [esp + 0x24], xmm0
movsd xmm0, qword [esp + 0x104]
movsd xmm1, qword [esp + 0x10c]
movsd qword [esp + 0x1c], xmm1
movsd qword [esp + 0x14], xmm0
movsd xmm0, qword [esp + 0xf4]
movsd xmm1, qword [esp + 0xfc]
movsd qword [esp + 0xc], xmm1
movsd qword [esp + 4], xmm0
mov dword [esp], eax
call dword [ecx + 0x28]
test eax, eax
js 0x40174d
mov dword [esp + 0x20], esi
mov dword [esp + 0xac], 0
push 0x4157a8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [esp + 0xac]
mov esi, dword [esp + 0xf4]
mov dword [esp + 0xac], 0
test edx, edx
je 0x40167f
mov ecx, dword [edx]
push edx
mov ebx, edi
mov edi, eax
call dword [ecx + 8]
mov eax, edi
mov edi, ebx
mov edx, dword [esi]
lea ecx, [esp + 0xac]
push ecx
mov dword [esp + 0x30], eax
push eax
push esi
call dword [edx + 0x1c]
mov ebx, eax
test eax, eax
js 0x4017cb
mov esi, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0xa8], 0
push 0x415798
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x4016df
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebx]
lea edi, [esp + 0xa8]
push edi
push dword [esp + 0x18]
push ebx
call dword [eax + 0x24]
test eax, eax
js 0x401847
mov edi, dword [esp + 0x1c]
mov ebx, esi
mov dword [esp + 0x24], 0
jmp 0x4018be
mov ebx, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40246c
mov edi, eax
lea esi, [esp + 0x12c]
push 0x20a
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0x38
jmp 0x40178c
mov ebx, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40246c
mov edi, eax
lea esi, [esp + 0x12c]
push 0x20a
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0x3a
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
mov dword [esp + 0x108], esi
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push ebx
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x40246c
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40244c
mov edi, eax
lea esi, [esp + 0x12c]
push 0x20a
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0x3f
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
mov dword [esp + 0x108], esi
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push ebx
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x40244c
mov eax, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov dword [esp + 0xa8], 0
test eax, eax
je 0x40186a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x90], xmm0
mov eax, dword [ebx]
sub esp, 0x1c
movsd xmm0, qword [esp + 0xac]
movsd xmm1, qword [esp + 0xb4]
movsd qword [esp + 0x10], xmm1
movsd qword [esp + 8], xmm0
mov dword [esp + 0x18], edi
mov dword [esp], ebx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call dword [eax + 0x2c]
mov edi, dword [esp + 0x1c]
mov ebx, eax
test eax, eax
js 0x401be7
mov al, 1
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x8c], 0
lea edx, [esp + 0x8c]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x401b13
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x88], 0
lea edx, [esp + 0x88]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x2c]
test eax, eax
js 0x401b9f
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x401bfd
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x38]
test eax, eax
js 0x401c45
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x58]
test eax, eax
js 0x401d14
mov eax, dword [esp + 0x88]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x401d59
push str.PT5M
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x1c], eax
mov ecx, dword [edx]
push eax
push edx
call dword [ecx + 0x70]
test eax, eax
js 0x401de5
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x84], 0
lea edx, [esp + 0x84]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x1c]
test eax, eax
js 0x401e71
mov eax, dword [esp + 0x84]
mov ecx, dword [eax]
push dword [esp + 0x14]
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x401eb6
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x80], 0
lea edx, [esp + 0x80]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
test eax, eax
js 0x401f42
mov eax, dword [esp + 0x80]
mov dword [esp + 0x7c], 0
lea edx, [esp + 0x7c]
mov ecx, dword [eax]
push edx
push 2
push eax
call dword [ecx + 0x28]
test eax, eax
js 0x401fce
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x78], 0
lea edx, [esp + 0x78]
mov ecx, dword [eax]
push edx
push 0x414010
push eax
call dword [ecx]
test eax, eax
js 0x40205a
test edi, edi
je 0x4020a2
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
test eax, eax
js 0x402101
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x54]
test eax, eax
js 0x402146
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x104], 0
lea edx, [esp + 0x104]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x44]
test eax, eax
js 0x40229e
mov eax, dword [esp + 0x104]
mov dword [esp + 0x74], 0
lea edx, [esp + 0x74]
mov ecx, dword [eax]
push edx
push 0
push eax
call dword [ecx + 0x30]
test eax, eax
mov dword [esp + 0xc], eax
js 0x402327
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], 0
lea edx, [esp + 0x70]
mov ecx, dword [eax]
push edx
push str.MbLk
push eax
call dword [ecx]
test eax, eax
mov dword [esp + 0xc], eax
jns 0x402504
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x4025b4
mov eax, dword [esp + 0x70]
test eax, eax
je 0x40233c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40233c
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023f9
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x5a
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023f9
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023e8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x5d
jmp 0x401d9c
cmp ebx, 0x800700b7
jne 0x401c8d
mov ebx, 0x800700b7
jmp 0x4016ff
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023e8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x5e
jmp 0x401d9c
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023e8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x5f
jmp 0x401d9c
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40242a
mov edi, eax
lea esi, [esp + 0x12c]
push 0x20a
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp + 0x10], ebx
mov dword [esp], esi
mov dword [esp + 0x18], 0x4b
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
mov dword [esp + 0x108], esi
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push ebx
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [esp + 0x14], 0
jne 0x402431
jmp 0x40243b
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023e8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x60
jmp 0x401d9c
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023e8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x61
mov dword [esp], eax
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023e8
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023d9
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x65
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023d9
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023c8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x68
jmp 0x401ef9
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023c8
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x6a
mov dword [esp], eax
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023c8
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023b7
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x6d
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023b7
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x4023a9
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x70
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4023a9
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40239b
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x74
jmp 0x402189
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
add eax, 0xffffffc4
lea esi, [esp + 0x108]
adc edx, 0xffffffff
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
mov dword [esp + 0xfc], edx
push eax
push esi
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64_s]
add esp, 8
test eax, eax
je 0x4021d2
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x402495
mov edi, 0x8007076d
jmp 0x40239b
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40239b
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0x77
jmp 0x402189
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40239b
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0xa7
mov dword [esp], eax
mov dword [esp + 0x14], str.RegisterTask
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x40239b
mov dword [esp + 0x18], ebx
push 0x2a
call fcn.00412853
add esp, 4
mov ebx, eax
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x20], 0
mov word [eax + 0x28], 0
push esi
push 0x4157ac
push 0x15
push eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll_wcsftime]
add esp, 0x10
test eax, eax
je 0x402361
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov eax, dword [esp + 0x78]
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x3c]
mov edi, eax
test eax, eax
mov dword [esp + 0x10], 0
jns 0x40228a
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x28], eax
jne 0x402752
test esi, esi
je 0x402383
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x402383
mov edi, eax
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
je 0x40234e
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0xaa
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push edi
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x40234e
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x40262d
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0xc]
test eax, eax
je 0x40234e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x104]
test eax, eax
je 0x40239b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x40239b
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov edi, 0x8007007a
test eax, eax
mov dword [esp + 0x10], 1
jne 0x4026a6
push ebx
call fcn.0041285c
add esp, 4
cmp dword [esp + 0x10], 0
mov ebx, dword [esp + 0x18]
je 0x401a5c
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4023a9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4023b7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4023c8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4023d9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4023e8
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4023f9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x40240a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 0x24], 0
je 0x402428
test ebx, ebx
jns 0x402428
mov eax, dword [esp + 0xac]
mov ecx, dword [eax]
push 0
push dword [esp + 0x18]
push eax
call dword [ecx + 0x30]
mov ebx, edi
cmp dword [esp + 0x14], 0
je 0x40243b
push dword [esp + 0x14]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x40244c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x40245b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0xac]
test eax, eax
je 0x40246c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x40247d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x338]
xor ecx, ebp
call fcn.00413150
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, eax
lea esi, [esp + 0x12c]
push 0x20a
push 0
push esi
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov dword [esp], esi
mov dword [esp + 0x18], 0x92
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp + 0x10], 0x8007076d
call fcn.00401000
add esp, 0x1c
mov dword [esp + 0x104], esi
lea eax, [esp + 0x104]
push 0
push eax
push 0
push 1
push 0
push 0x8007076d
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x4020f7
lea ecx, [esp + 0x12c]
call fcn.004070b0
mov esi, dword [esp + 0x12c]
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x12c], 0
je 0x40253a
push esi
call fcn.0041285c
add esp, 4
mov eax, dword [esp + 0x70]
mov ecx, dword [eax]
push dword [esp + 0x10]
push eax
call dword [ecx + 0x2c]
test eax, eax
mov dword [esp + 0xc], eax
js 0x402723
push str.do_task
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov ecx, dword [edx]
push eax
push edx
call dword [ecx + 0x34]
test eax, eax
mov dword [esp + 0xc], eax
jns 0x4027da
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x4029ba
cmp dword [esp + 0x18], 0
je 0x402738
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [esp + 0x10], 0
jne 0x402743
jmp 0x401afc
mov edi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0xb0
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
mov dword [esp + 0x10], esi
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push esi
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x401afc
mov edi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0xad
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
mov dword [esp + 0x10], esi
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push esi
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x40233c
mov esi, eax
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0x9f
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp + 0x10], 0x8007007a
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
push 0
push eax
push 0
push 1
push 0
push 0x8007007a
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x402383
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
jne 0x402a3e
cmp dword [esp + 0x10], 0
je 0x401afc
push dword [esp + 0x10]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x401afc
lea eax, [esp + 0x12c]
push 0x20a
push 0
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
lea eax, [esp + 0x148]
mov dword [esp + 0x28], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], 0xa4
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x104], eax
lea eax, [esp + 0x104]
push 0
push eax
push 0
push 1
push 0
push dword [esp + 0x20]
push 0
push 1
push dword [esp + 0x48]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
test esi, esi
jne 0x402292
jmp 0x402383
lea edi, [esp + 0x108]
mov edx, 0x4158b8
mov dword [esp + 0x11c], 7
mov dword [esp + 0x118], 0
mov word [esp + 0x108], 0
mov ecx, edi
call fcn.00408e10
mov esi, dword [esp + 0x20]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov ecx, edi
mov edx, esi
push eax
call fcn.00406ec0
add esp, 4
cmp dword [esp + 0x11c], 7
jbe 0x402838
mov edi, dword [esp + 0x108]
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov eax, dword [esp + 0xa8]
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x8c]
movaps xmmword [esp + 0x50], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x30], xmm0
mov edx, dword [eax]
sub esp, 0x48
movsd xmm0, qword [esp + 0x98]
movsd xmm1, qword [esp + 0xa0]
lea esi, [esp + 0xb4]
movsd qword [esp + 0x3c], xmm1
movsd qword [esp + 0x34], xmm0
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm0
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [esp + 0x18], xmm1
movsd qword [esp + 0x10], xmm0
mov dword [esp + 0x44], esi
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
mov dword [esp], eax
mov dword [esp + 0x30], 3
mov dword [esp + 0xc], 6
call dword [edx + 0x44]
test eax, eax
mov dword [esp + 0xc], eax
jns 0x402985
push 0x4155ca
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
test eax, eax
mov dword [esp + 0x20], eax
je 0x402985
push 0x20a
push 0
lea eax, [esp + 0x134]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0xc0
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
mov dword [esp + 0x10], esi
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0xf8], eax
lea eax, [esp + 0xf8]
push 0
push eax
push 0
push 1
push 0
push esi
push 0
push 1
mov esi, dword [esp + 0x40]
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x402993
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test edi, edi
je 0x40299e
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [esp + 0x108]
call fcn.00408db0
cmp dword [esp + 0x18], 0
jne 0x40259a
jmp 0x402738
mov edi, eax
push 0x20a
push 0
lea eax, [esp + 0x134]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0xb7
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
mov dword [esp + 0x10], esi
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push esi
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [esp + 0x18], 0
jne 0x40259a
jmp 0x402738
mov edi, eax
push 0x20a
push 0
lea eax, [esp + 0x134]
push eax
call sub.VCRUNTIME140.dll_memset
sub esp, 0x10
mov esi, dword [esp + 0x28]
lea eax, [esp + 0x148]
mov dword [esp + 0x18], 0xb4
mov dword [esp + 0x14], str.RegisterTask
mov dword [esp], eax
mov dword [esp + 0x10], esi
call fcn.00401000
add esp, 0x1c
lea eax, [esp + 0x12c]
mov dword [esp + 0x108], eax
lea eax, [esp + 0x108]
push 0
push eax
push 0
push 1
push 0
push esi
push 0
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push edi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
cmp dword [esp + 0x10], 0
jne 0x402743
jmp 0x401afc