Function at 0x423770
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c394
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x567680]
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 ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x74], ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x4237d4
lea eax, [ebp + 0x14]
push eax
call fcn.00423510
add esp, 4
test al, al
jne 0x4237d4
xor bl, bl
or edi, 0xffffffff
jmp 0x423c87
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa0], 0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x90], eax
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov byte [ebp - 4], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x94], eax
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov byte [ebp - 4], 2
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x98], eax
mov eax, dword [0x5671f0]
mov ecx, 0x5671f0
mov byte [ebp - 4], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x84], eax
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 4
call fcn.004026d0
push esi
lea ecx, [ebp - 0x94]
call fcn.004026d0
push ebx
lea ecx, [ebp - 0x98]
call fcn.004026d0
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x84]
call fcn.004026d0
lea eax, [ebp - 0x7c]
push eax
push 0x51b560
push 1
push 0
push 0x51b580
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x90]
mov ebx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x98]
test ecx, ecx
jne 0x4238cc
xor al, al
mov byte [ebp - 0x65], al
jmp 0x423c05
mov eax, dword [ecx]
push esi
push ecx
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x6c]
mov ecx, dword [eax]
push edx
push 0x51b550
push 0x51b570
push esi
push eax
call dword [ecx + 0x20]
mov eax, dword [ebp - 0x6c]
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x80]
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx]
cmp dword [eax - 0xc], 0
je 0x423910
mov eax, dword [ebp - 0x6c]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
mov eax, dword [ebp - 0x6c]
push 0
push dword [ebp - 0x84]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x78]
mov eax, dword [ebp - 0x6c]
push 0x2000
mov ecx, dword [eax]
push eax
call dword [ecx + 0x70]
mov eax, dword [ebp - 0x6c]
push 0xfffffffffffffffe
mov ecx, dword [eax]
push eax
call dword [ecx + 0xa8]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0xac]
mov ecx, dword [eax]
push edx
push 0x54ced8
push eax
call dword [ecx]
mov eax, dword [ebp - 0xac]
push 1
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
cmp dword [ebp + 0x18], 0
je 0x423b89
cmp dword [ebp + 0x1c], 0
je 0x4239e5
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0xa0]
push edx
push eax
call dword [ecx + 0xc]
push 0
call fcn.004eaa69
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0xa4], edx
call fcn.004ebe00
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004eaaf0
mov eax, 0x30
mov word [ebp - 0x40], ax
mov eax, 1
add esp, 0x18
mov word [ebp - 0x38], ax
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x107dc
mov dword [ebp - 0x20], 7
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x70]
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0xa0]
push edx
push eax
call dword [ecx + 0xc]
push 0
call fcn.004eaa69
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0xa4], edx
call fcn.004ebe00
push 0x30
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.004eaaf0
mov eax, 0x30
add esp, 0x18
mov word [ebp - 0x40], ax
call fcn.00423d00
test al, al
jne 0x423a4e
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
mov eax, 1
mov word [ebp - 0x38], ax
movzx eax, word [ebp - 0x5c]
mov word [ebp - 0x30], ax
movzx eax, word [ebp - 0x60]
mov word [ebp - 0x2e], ax
mov eax, 0x6c16c16d
mul dword [ebp + 0x18]
mov eax, dword [ebp + 0x18]
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 0xa
mov dword [ebp - 0x3c], 0x107dc
mov dword [ebp - 0x80], eax
call fcn.00423d30
test al, al
jne 0x423aa2
mov eax, dword [0x568ad4]
test eax, eax
mov ecx, 1
cmove eax, ecx
mov dword [0x568ad4], eax
mov ecx, dword [ebp - 0x80]
mov eax, ecx
imul eax, eax, 0x5a0
cmp eax, dword [ebp + 0x18]
je 0x423ab6
inc ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x20], 1
mov word [ebp - 0x1c], cx
call fcn.00423cd0
test al, al
jne 0x423b66
mov esi, dword [0x568ad4]
mov eax, esi
cdq
xor ebx, ebx
sub eax, edx
mov ecx, 0x82
sar eax, 1
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], eax
mov edi, edi
test eax, eax
jle 0x423b4c
mov ecx, dword [ebp - 0x78]
mov eax, esi
cdq
and edx, 3
lea edi, [edx + eax]
mov eax, dword [ebp - 0x74]
sar edi, 2
xor ebx, ebx
mov dword [ebp - 0x9c], eax
mov edi, edi
test edi, edi
jle 0x423b35
mov edx, dword [ebp - 0x88]
mov eax, ebx
mov ecx, edi
mov edi, edi
add edx, eax
dec eax
dec ecx
jne 0x423b20
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x88], edx
add ebx, ecx
dec eax
mov dword [ebp - 0x9c], eax
jne 0x423b10
mov ecx, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
inc ebx
mov dword [ebp - 0x78], ebx
cmp ebx, ecx
jl 0x423af0
mov esi, dword [ebp - 0x90]
mov edi, dword [ebp - 0x98]
mov ebx, dword [ebp - 0x94]
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x18]
imul eax, eax, 0x5a0
cmp eax, ecx
jbe 0x423b7c
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x70]
lea edx, [ebp - 0x40]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x8c]
mov ecx, dword [eax]
push edx
push 0x54ced8
push eax
call dword [ecx]
mov eax, dword [ebp - 0x8c]
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x18]
cmp dword [ebp + 0x18], 0
jne 0x423bbc
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x6c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp + 0x18], 0
jne 0x423bf8
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x7c]
push esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x7c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 0x65], 1
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
mov byte [ebp - 4], 3
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c29
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c47
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 4], 1
lea eax, [ebx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c67
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x423c84
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, byte [ebp - 0x65]
mov esi, dword [ebp + 0x14]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x423ca8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
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.004e9514
mov esp, ebp
pop ebp
ret