Function at 0x4a7e80
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5942bc
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x5fae30]
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 eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x3d4], ebx
mov dword [ebp - 0x3d8], ecx
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
push 0x44
lea ecx, [ebp - 0x42c]
push ebx
push ecx
mov dword [ebp - 4], ebx
call fcn.005409b0
mov eax, 8
add esp, 0xc
mov dword [ebp - 0x42c], 0x44
cmp dword [esi + 0x14], eax
jb 0x4a7f03
mov esi, dword [esi]
cmp dword [edi + 0x14], eax
jb 0x4a7f0c
mov eax, dword [edi]
jmp 0x4a7f0e
mov eax, edi
lea edx, [ebp - 0x3e8]
push edx
lea ecx, [ebp - 0x42c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
cmp al, bl
jne 0x4a8082
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0xb8]
push edx
call fcn.004080a8
mov esi, eax
lea eax, [ebp - 0x9c]
push edi
push eax
mov byte [ebp - 4], 1
call fcn.00406569
add esp, 0x10
mov edi, eax
push 0x31
push str.COperationsManager::ExecuteFile___Failed_to_run:
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00402a36
push edi
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x80]
push edx
mov byte [ebp - 4], 3
call fcn.00407cd9
push 0x5b796c
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 4
call fcn.00407c9d
mov ecx, dword [ebp - 0x3d0]
push esi
push eax
push ecx
mov byte [ebp - 4], 5
call fcn.00407cd9
mov esi, 0x10
add esp, 0x24
cmp dword [ebp - 0x50], esi
jb 0x4a7fd2
mov edx, dword [ebp - 0x64]
push edx
call fcn.0053ed60
add esp, 4
mov edi, 0xf
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x6c], esi
jb 0x4a7ff1
mov eax, dword [ebp - 0x80]
push eax
call fcn.0053ed60
add esp, 4
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], ebx
mov byte [ebp - 0x80], bl
cmp dword [ebp - 0x18], esi
jb 0x4a800b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0053ed60
add esp, 4
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x88], esi
jb 0x4a802b
mov edx, dword [ebp - 0x9c]
push edx
call fcn.0053ed60
add esp, 4
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov byte [ebp - 0x9c], bl
cmp dword [ebp - 0xa4], esi
jb 0x4a8054
mov eax, dword [ebp - 0xb8]
push eax
call fcn.0053ed60
add esp, 4
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
cmp dword [ebp - 0x34], esi
jb 0x4a8077
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0053ed60
add esp, 4
mov eax, dword [ebp - 0x3d0]
jmp 0x4a81c8
mov byte [ebp - 0x3c9], 1
cmp byte [ebp + 0x14], bl
je 0x4a817f
lea ecx, [ebp - 0x3c8]
call fcn.0053a830
mov edx, dword [ebp - 0x3d8]
mov eax, dword [edx + 0x5c]
push eax
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 6
call fcn.0053a8b0
push 0xc
call fcn.0053f7d7
add esp, 4
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 4], 7
cmp eax, ebx
je 0x4a80e0
mov ecx, dword [ebp - 0x3e8]
push ecx
mov ecx, eax
call fcn.0053ab90
mov esi, eax
jmp 0x4a80e2
xor esi, esi
push esi
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], 6
call fcn.0053a8b0
push ebx
push 0xea60
lea edx, [ebp - 0x3d4]
push edx
push ebx
lea ecx, [ebp - 0x3c8]
mov dword [ebp - 0x3d4], ebx
call fcn.0053aad0
cmp eax, 1
jne 0x4a8125
push 0x3d
push str.COperationsManager::ExecuteFile___Timeout_waiting_for_process
lea ecx, [ebp - 0x48]
call fcn.00402a36
mov eax, dword [ebp - 0x3e4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4a8141
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
cmp dword [ebp - 0x3d4], ebx
jne 0x4a814f
mov byte [ebp - 0x3c9], bl
lea ecx, [ebp - 0x3c8]
mov byte [ebp - 4], bl
call fcn.0053a930
cmp dword [ebp - 0x38], ebx
jne 0x4a8197
cmp byte [ebp - 0x3c9], bl
je 0x4a8197
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x14], 8
jb 0x4a81e6
mov eax, dword [edi]
jmp 0x4a81e8
mov ecx, dword [ebp - 0x3e4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [ebp - 0x3e8]
push edx
call esi
mov esi, dword [ebp - 0x3d0]
lea ecx, [ebp - 0x48]
push ecx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
call fcn.00401604
cmp dword [ebp - 0x34], 0x10
jb 0x4a81c6
mov edx, dword [ebp - 0x48]
push edx
call fcn.0053ed60
add esp, 4
mov eax, esi
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.0053fd20
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a8197
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004080a8
mov esi, eax
lea ecx, [ebp - 0x64]
push edi
push ecx
mov byte [ebp - 4], 8
call fcn.00406569
add esp, 0x10
mov edi, eax
push str.COperationsManager::ExecuteFile___Failed_to_delete:
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00403dfa
push edi
push eax
lea edx, [ebp - 0x9c]
push edx
mov byte [ebp - 4], 0xa
call fcn.00407cd9
push 0x5b79f0
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 0xb
call fcn.00407c9d
push esi
mov esi, dword [ebp - 0x3d0]
push eax
push esi
mov byte [ebp - 4], 0xc
call fcn.00407cd9
add esp, 0x24
lea ecx, [ebp - 0xb8]
call fcn.0040583f
lea ecx, [ebp - 0x9c]
call fcn.0040583f
lea ecx, [ebp - 0x80]
call fcn.0040583f
lea ecx, [ebp - 0x64]
call fcn.0040583f
lea ecx, [ebp - 0x2c]
call fcn.0040583f
lea ecx, [ebp - 0x48]
call fcn.0040583f
jmp 0x4a81c6