Function at 0x4bf2e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x560158
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x60]
call fcn.004aeac0
test al, al
je 0x4bf591
push 0
call fcn.004aec50
add esp, 4
test al, al
jne 0x4bf591
test ebp, ebp
jne 0x4bf335
mov ebp, str.BCTempTask
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
call fcn.0049eff0
mov dword [esp + 0x2c], vtable.cWCSF.0
mov eax, dword [esp + 0x68]
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 0
push 0
push 0
push 1
push 0
push ebp
lea ecx, [esp + 0x64]
push str.SCHTASKS__Delete__TN__s__F
push ecx
mov dword [esp + 0x94], 1
call fcn.00403e80
add esp, 0xc
push eax
call fcn.004bde50
add esp, 0x38
lea ecx, [esp + 0x2c]
mov ebx, eax
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], vtable.cWCS.0
call fcn.0049ee80
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
push ebx
call edi
cmp eax, 0x102
jne 0x4bf3c7
push esi
push ebx
call edi
cmp eax, 0x102
je 0x4bf3c7
add esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
call fcn.0049eff0
mov dword [esp + 0x1c], vtable.cWCStr.0
mov edx, dword [esp + 0x5c]
push edx
push ebp
lea eax, [esp + 0x24]
push str.SCHTASKS__Create__SC_MONTHLY__TN__s__TR___s___F
push eax
mov dword [esp + 0x64], 2
call fcn.00401080
mov ecx, dword [esp + 0x78]
push 0
push 0
mov edx, dword [esp + 0x38]
push 0
push 0
push 0
push 0
push ecx
push 0
push 0
push 0
push 0
push 1
push 0
push edx
call fcn.004bde50
add esp, 0x48
mov ebx, eax
push esi
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, 0x57bbbc
call fcn.004b1e70
test al, al
jne 0x4bf44a
mov ebx, 0x56ba1c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x34]
call fcn.0049eff0
mov dword [esp + 0x2c], vtable.cWCSF.0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0
push ebp
push ebx
lea eax, [esp + 0x68]
push str.SCHTASKS__Run__s__TN__s
push eax
mov byte [esp + 0x98], 3
call fcn.00403e80
add esp, 0x10
push eax
call fcn.004bde50
add esp, 0x38
lea ecx, [esp + 0x2c]
mov ebx, eax
mov byte [esp + 0x54], 2
mov dword [esp + 0x2c], vtable.cWCS.0
call fcn.0049ee80
push esi
push ebx
call edi
mov byte [esp + 0x17], 0
cmp eax, 0x102
je 0x4bf4e5
lea ecx, [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x64]
mov byte [esp + 0x17], 1
test eax, eax
je 0x4bf4e5
mov edx, dword [esp + 0x18]
mov dword [eax], edx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x44]
call fcn.0049eff0
mov dword [esp + 0x3c], vtable.cWCSF.0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push 0
push ebp
lea eax, [esp + 0x74]
push str.SCHTASKS__Delete__TN__s__F
push eax
mov byte [esp + 0x94], 4
call fcn.00403e80
add esp, 0xc
push eax
call fcn.004bde50
add esp, 0x38
lea ecx, [esp + 0x3c]
mov ebp, eax
mov byte [esp + 0x54], 2
mov dword [esp + 0x3c], vtable.cWCS.0
call fcn.0049ee80
push esi
push ebp
call edi
push ebp
call ebx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x1c], vtable.cWCS.0
call fcn.0049ee80
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov ecx, dword [esp + 0x5c]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x34]
call fcn.0049eff0
mov dword [esp + 0x2c], vtable.cWCStr.0
mov eax, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x54], 0
mov edi, eax
cmp word [eax], si
je 0x4bf601
mov edi, edi
movzx ecx, word [eax]
cmp cx, 0x27
jne 0x4bf5d3
mov edx, 0x22
mov word [eax], dx
jmp 0x4bf5f6
cmp cx, 0x5c
jne 0x4bf5f6
cmp word [eax + 2], 0x22
lea ecx, [eax + 2]
jne 0x4bf5f6
mov edx, dword [esp + 0x38]
sub edx, esi
add edx, edx
push edx
push ecx
push eax
call fcn.00519a20
add esp, 0xc
inc esi
cmp word [edi + esi*2], 0
lea eax, [edi + esi*2]
jne 0x4bf5c0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call fcn.004bde50
add esp, 0x38
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x2c], vtable.cWCS.0
call fcn.0049ee80
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret