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

Disassembly:
jmp 0x4a99e0
push 0xffffffffffffffff
push 0x7838ec
mov eax, dword fs:[0]
push eax
sub esp, 0x41c
mov eax, dword [0x856918]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x856918]
xor eax, esp
push eax
lea eax, [esp + 0x430]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x440]
mov edi, dword [esp + 0x444]
mov esi, dword [esp + 0x448]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x428], 0xf
mov dword [esp + 0x424], ebx
mov byte [esp + 0x414], bl
push 0x44
lea eax, [esp + 0xc0]
push ebx
push eax
mov dword [esp + 0x444], ebx
call fcn.00566330
mov eax, 8
add esp, 0xc
mov dword [esp + 0xbc], 0x44
cmp dword [esi + 0x18], eax
jb 0x4a9a87
mov esi, dword [esi + 4]
jmp 0x4a9a8a
add esi, 4
cmp dword [edi + 0x18], eax
jb 0x4a9a94
mov eax, dword [edi + 4]
jmp 0x4a9a97
lea eax, [edi + 4]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0xc0]
push edx
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 0x4a9c3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004083af
mov esi, eax
lea ecx, [esp + 0x70]
push edi
push ecx
mov byte [esp + 0x448], 1
call fcn.00407662
add esp, 0x10
mov edi, eax
push 0x31
push str.COperationsManager::ExecuteFile___Failed_to_run:
lea ecx, [esp + 0x28]
mov byte [esp + 0x440], 2
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.00405920
push edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x444], 3
call fcn.00402fd1
push 0x7b4a3c
push eax
lea ecx, [esp + 0xb4]
push ecx
mov byte [esp + 0x450], 4
call fcn.00405939
push esi
push eax
push ebp
mov byte [esp + 0x45c], 5
call fcn.00402fd1
mov esi, 0x10
add esp, 0x24
cmp dword [esp + 0xb8], esi
jb 0x4a9b79
mov edx, dword [esp + 0xa4]
push edx
call fcn.00564155
add esp, 4
mov edi, 0xf
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
mov byte [esp + 0xa4], bl
cmp dword [esp + 0x64], esi
jb 0x4a9ba6
mov eax, dword [esp + 0x50]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov byte [esp + 0x50], bl
cmp dword [esp + 0x38], esi
jb 0x4a9bc5
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00564155
add esp, 4
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
cmp dword [esp + 0x80], esi
jb 0x4a9be7
mov edx, dword [esp + 0x6c]
push edx
call fcn.00564155
add esp, 4
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov byte [esp + 0x6c], bl
cmp dword [esp + 0x9c], esi
jb 0x4a9c0f
mov eax, dword [esp + 0x88]
push eax
call fcn.00564155
add esp, 4
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov byte [esp + 0x88], bl
cmp dword [esp + 0x428], esi
jb 0x4a9d96
mov ecx, dword [esp + 0x414]
push ecx
jmp 0x4a9d8e
mov byte [esp + 0x17], 1
cmp byte [esp + 0x44c], bl
je 0x4a9d49
lea ecx, [esp + 0x100]
call fcn.005504a0
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x5c]
push eax
lea ecx, [esp + 0x104]
mov byte [esp + 0x43c], 6
call fcn.00550520
push 0xc
call fcn.005645f4
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0x438], 7
cmp eax, ebx
je 0x4a9ca2
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.005507c0
mov esi, eax
jmp 0x4a9ca4
xor esi, esi
push esi
lea ecx, [esp + 0x104]
mov byte [esp + 0x43c], 6
call fcn.00550520
push ebx
push 0xea60
lea edx, [esp + 0x20]
push edx
push ebx
lea ecx, [esp + 0x110]
mov dword [esp + 0x28], ebx
call fcn.00550710
cmp eax, 1
jne 0x4a9ced
push 0x3d
push str.COperationsManager::ExecuteFile___Timeout_waiting_for_process
lea ecx, [esp + 0x418]
call fcn.00405920
mov eax, dword [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, ebx
je 0x4a9d07
mov edx, dword [esi]
mov eax, dword [edx + 0xc]
push 1
mov ecx, esi
call eax
cmp dword [esp + 0x18], ebx
jne 0x4a9d11
mov byte [esp + 0x17], bl
lea ecx, [esp + 0x100]
mov byte [esp + 0x438], bl
call fcn.005505a0
cmp dword [esp + 0x424], ebx
jne 0x4a9d5d
cmp byte [esp + 0x17], bl
je 0x4a9d5d
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0x18], 8
jb 0x4a9dc2
mov eax, dword [edi + 4]
jmp 0x4a9dc5
mov ecx, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0x3c]
push edx
call esi
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x418]
push ecx
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], ebx
mov ecx, ebp
mov byte [ebp + 4], bl
call fcn.00403fb2
cmp dword [esp + 0x428], 0x10
jb 0x4a9d96
mov edx, dword [esp + 0x414]
push edx
call fcn.00564155
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x430]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.00564b24
add esp, 0x428
ret 0x10
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a9d5d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004083af
mov esi, eax
lea ecx, [esp + 0xa8]
push edi
push ecx
mov byte [esp + 0x448], 8
call fcn.00407662
add esp, 0x10
mov edi, eax
push str.COperationsManager::ExecuteFile___Failed_to_delete:
lea ecx, [esp + 0x50]
mov byte [esp + 0x43c], 9
call fcn.004062df
push edi
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x444], 0xa
call fcn.00402fd1
push 0x7b4ac0
push eax
lea eax, [esp + 0x98]
push eax
mov byte [esp + 0x450], 0xb
call fcn.00405939
push esi
push eax
push ebp
mov byte [esp + 0x45c], 0xc
call fcn.00402fd1
add esp, 0x24
lea ecx, [esp + 0x84]
call fcn.00402ed7
lea ecx, [esp + 0x68]
call fcn.00402ed7
lea ecx, [esp + 0x4c]
call fcn.00402ed7
lea ecx, [esp + 0xa0]
call fcn.00402ed7
lea ecx, [esp + 0x20]
call fcn.00402ed7
lea ecx, [esp + 0x410]
call fcn.00402ed7
jmp 0x4a9d96