Function at 0x4219a0
Capabilities:
Check if file exists
Create directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a888
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x45d274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, str.EBNotificationEngine
call fcn.00424670
mov ecx, str.ActionManager
call fcn.00424670
mov eax, dword [0x45d020]
mov edx, dword [eax + 0xc]
mov ecx, 0x45d020
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00427250
test eax, eax
je 0x421a4a
mov edx, dword [0x45d020]
mov eax, dword [edx + 0xc]
mov ecx, 0x45d020
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00427170
test eax, eax
jne 0x421a84
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a4a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421a70
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
push ecx
call edi
mov ecx, str.ActionManager_
lea esi, [ebp - 0x10]
call fcn.00422120
mov edx, dword [ebp - 0x10]
push ebx
push edx
call edi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov ebx, str.ActionManager.exe
call fcn.00407650
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x20]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call esi
test eax, eax
je 0x421bc4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00407650
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x421b1e
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
push 0
push 4
push str.This_task_user_for_work_Ebonmedia_software
push str.ActionManager
mov ecx, 0x451464
mov edi, 0x454af0
call fcn.00424570
add esp, 0x10
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
mov ebx, str.AMHelper.exe
call fcn.00407650
add esp, 8
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x18]
push eax
call esi
test eax, eax
je 0x421b7e
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x24]
push edx
call fcn.00407650
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
add esp, 8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x421b7e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421ba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421bc4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421be7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421c0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421c30
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret