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

Disassembly:
push 0xffffffffffffffff
push 0x564280
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, dword [esp + 0x60]
mov eax, dword [0x5be940]
xor ebx, ebx
cmp esi, ebx
jne 0x4e4cd8
mov esi, eax
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.0043fe60
mov dword [esp + 0x58], ebx
cmp byte [0x5beadc], bl
je 0x4e4d1e
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], 0xffffffff
cmp ecx, ebx
je 0x4e4d07
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x3c], bl
mov byte [esp + 0x58], 1
cmp esi, ebx
je 0x4e4dc7
jmp 0x4e4d40
mov eax, dword [str.Startup]
mov edi, dword [esi]
or ebp, 0xffffffff
push ebp
push eax
push edi
call fcn.004091c0
add esp, 0xc
test al, al
jne 0x4e4db7
cmp byte [esp + 0x64], bl
je 0x4e4d6c
push edi
call fcn.004de160
add esp, 4
test al, al
je 0x4e4db7
mov ecx, dword [esi]
push ecx
call fcn.004de1f0
add esp, 4
test al, al
je 0x4e4da3
mov edx, dword [str.User_History_Task]
push edx
mov ecx, esi
call fcn.0043fd50
mov edi, eax
cmp edi, ebx
je 0x4e4db7
call fcn.004e41c0
test al, al
je 0x4e4db7
mov eax, edi
call fcn.004e41c0
test al, al
je 0x4e4db7
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], esi
call fcn.004d0420
mov esi, dword [esi + 0x2dc]
cmp esi, ebx
jne 0x4e4d40
jmp 0x4e4dca
or ebp, 0xffffffff
push ebx
lea ecx, [esp + 0x2c]
call fcn.0049ab60
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ebp
push ebp
push ecx
push edx
push ebx
push ebx
lea eax, [esp + 0x40]
push 0x10c42c
push eax
mov byte [esp + 0x78], 2
call fcn.004ea860
add esp, 0x20
test al, al
je 0x4e4eee
mov dword [esp + 0x60], ebx
call fcn.004e45e0
mov esi, eax
lea edi, [esi + 0x18]
push 1
mov ecx, edi
call fcn.004017c0
push 1
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.004017c0
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [esi + 0x20]
mov dword [esi + 0x24], str.cEnterpriseUserList::SaveTasks_Json
mov dword [esi + 0x28], 0xed
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x2c], eax
mov ecx, dword [esp + 0x64]
push ecx
mov byte [esp + 0x5c], 3
call fcn.004e4260
add esp, 4
mov edi, eax
push ebp
push edi
lea ecx, [esp + 0x48]
call fcn.0049eff0
mov dword [esp + 0x40], vtable.cWCStr.0
mov edx, dword [str._renamed]
push ebp
push edx
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 4
call fcn.0049eeb0
mov eax, dword [esp + 0x44]
push ebx
push eax
call fcn.004b6610
mov ecx, dword [esp + 0x4c]
push ecx
push edi
call fcn.004ba530
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 1
lea edx, [esp + 0x74]
push edx
push ebx
push eax
push ecx
push edi
call fcn.004a0ee0
add esp, 0x28
test eax, eax
jne 0x4e4f9e
cmp dword [esp + 0x60], 5
je 0x4e4f33
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 3
mov dword [esp + 0x40], vtable.cWCS.0
call fcn.0049ee80
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], ebx
jg 0x4e4ee7
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.0049ac30
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.004d01b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ebp
cmp ecx, ebx
je 0x4e4f1d
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, ebp
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
push ebx
push ebx
call fcn.004aee30
mov ebp, eax
xor al, al
add esp, 8
mov dword [esp + 0x14], ebp
mov byte [esp + 0x18], al
cmp ebp, ebx
je 0x4e4f5d
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
cmp eax, 1
sete al
mov byte [esp + 0x18], al
mov byte [esp + 0x58], 5
cmp al, bl
je 0x4e501c
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push 1
lea ecx, [esp + 0x64]
push ecx
push ebx
push edx
push eax
push edi
call fcn.004a0ee0
add esp, 0x18
test eax, eax
je 0x4e501c
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], 4
call fcn.004e4140
or ebp, 0xffffffff
mov ecx, dword [esp + 0x44]
push ebx
push ecx
call fcn.004b6610
add esp, 8
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 3
mov dword [esp + 0x40], vtable.cWCS.0
call fcn.0049ee80
add dword [esi + 0x20], ebp
cmp dword [esi + 0x20], ebx
jg 0x4e4fd0
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.0049ac30
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.004d01b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], ebp
cmp ecx, ebx
je 0x4e5006
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
xor eax, eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret
cmp ebp, ebx
je 0x4e503d
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push ebp
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x40]
mov byte [esp + 0x58], 3
mov dword [esp + 0x40], vtable.cWCS.0
call fcn.0049ee80
or edi, 0xffffffff
add dword [esi + 0x20], edi
cmp dword [esi + 0x20], ebx
jg 0x4e5064
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x28]
mov byte [esp + 0x58], 1
call fcn.0049ac30
lea ecx, [esp + 0x34]
mov byte [esp + 0x58], bl
call fcn.004d01b0
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x58], edi
cmp ecx, ebx
je 0x4e509a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret