Function at 0x4d587c
Capabilities:
Create process on windows
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4d5884
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4d5c40
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d5c58
call fcn.0048fb7c
mov edx, dword [ebx + 0x44]
lea eax, [ebp - 8]
mov ecx, 0x4d5c78
call fcn.00405554
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004d2bf4
test al, al
je 0x4d5be8
mov eax, dword [ebp - 4]
mov edx, 0x4d5c90
call fcn.00405664
jbe 0x4d5bd5
lea eax, [ebp - 0xc]
push eax
mov eax, 0x4d5c90
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 1
mov eax, 0x4d5ca4
call fcn.0040b290
mov edx, dword [ebp - 0xc]
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
call fcn.0048fb7c
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov dl, 1
call fcn.0048fe40
xor edx, edx
push ebp
push 0x4d5bce
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x4d7350
push dword [ebx + 0x40]
push 0x4d5cec
push 0x4d5cf8
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, 0x4d5cf8
mov edx, dword [ebx + 0x44]
lea eax, [ebp - 0x24]
call fcn.00405554
mov eax, dword [ebp - 0x24]
pop edx
call fcn.004d2cec
test al, al
je 0x4d5b9c
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d5d0c
call fcn.0048fb7c
lea edx, [ebp - 0x28]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
lea eax, [ebp - 0x28]
mov edx, 0x4d5d2c
call fcn.00405508
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
call fcn.004056cc
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
lea edx, [ebp - 0x30]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov esi, dword [ebp - 0x30]
lea edx, [ebp - 0x34]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
lea eax, [ebp - 0x34]
mov edx, 0x4d5d2c
call fcn.00405508
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
call fcn.004056cc
push eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
call fcn.004056cc
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d5d3c
call fcn.0048fb7c
push dword [ebx + 0x40]
push 0x4d5cec
push 0x4d5cf8
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebx + 0x40]
call fcn.004d2dac
test al, al
je 0x4d5af3
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d5d54
call fcn.0048fb7c
push dword [ebx + 0x40]
push 0x4d5cec
push 0x4d5cf8
lea eax, [ebp - 0x40]
mov edx, 3
call fcn.004055d0
mov eax, dword [ebp - 0x40]
call fcn.004056cc
push eax
call sub.kernel32.dll_DeleteFileA
push 1
lea edx, [ebp - 0x48]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0040a868
mov eax, dword [ebp - 0x44]
call fcn.004056cc
push eax
push 0x4d5d68
lea edx, [ebp - 0x4c]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov eax, dword [ebp - 0x4c]
call fcn.004056cc
push eax
push 0x4d5d74
push 0
call sub.shell32.dll_ShellExecuteA
call fcn.004d4b58
mov eax, ebx
call fcn.004d6fac
jmp 0x4d5bb2
lea edx, [ebp - 0x50]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov eax, dword [ebp - 0x50]
call fcn.0040a3fc
test al, al
jne 0x4d5b62
lea edx, [ebp - 0x54]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
lea eax, [ebp - 0x54]
mov edx, 0x4d5d2c
call fcn.00405508
mov esi, dword [ebp - 0x54]
lea edx, [ebp - 0x58]
mov eax, dword [0x4df100]
mov eax, dword [eax]
call fcn.004741e0
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x2c], edi
mov eax, dword [ebp - 0x2c]
call fcn.004056cc
push eax
mov dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x38]
call fcn.004056cc
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
push 0x4d5d84
push dword [ebx + 0x40]
push 0x4d5cec
push 0x4d5cf8
push 0x4d5d9c
lea eax, [ebp - 0x5c]
mov edx, 5
call fcn.004055d0
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x4089cc]
call fcn.0040dcf4
call fcn.00404bd0
jmp 0x4d5bb2
mov ecx, 0x4d5dc8
mov dl, 1
mov eax, dword [0x4089cc]
call fcn.0040dcf4
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5bfe
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
xor edx, edx
call fcn.0048fe40
ret
mov eax, dword [0x4df1bc]
mov eax, dword [eax]
mov edx, 0x4d5e04
call fcn.0048fb7c
jmp 0x4d5bfe
mov ecx, 0x4d5e2c
mov dl, 1
mov eax, dword [0x4089cc]
call fcn.0040dcf4
call fcn.00404bd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d5c47
lea eax, [ebp - 0x5c]
mov edx, 9
call fcn.00405260
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00405260
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00405260
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405260
ret