Function at 0x4d8e0c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xd
push 0
push 0
dec ecx
jne 0x4d8e14
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4d9446
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5e2e68]
mov edx, dword [0x5e2e6c]
call fcn.00405864
je 0x4d8e48
mov eax, dword [0x5e2e1c]
call fcn.004703e8
mov eax, 0x4d945c
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea edx, [ebp - 0x1c]
mov eax, dword [0x5dc4f0]
mov eax, dword [eax]
call fcn.00474954
mov eax, dword [ebp - 0x1c]
mov edx, 0x4d945c
call fcn.004d8c30
test al, al
jne 0x4d8e91
mov eax, 0x4d947c
call fcn.00447918
mov eax, dword [0x5e2e1c]
call fcn.004703e8
jmp 0x4d93fc
mov eax, dword [0x5e2ed8]
mov edx, 0x4d9494
call fcn.00405864
jne 0x4d8f1c
lea eax, [ebp - 0x20]
call fcn.004d5cc4
mov edx, dword [ebp - 0x20]
mov eax, 0x5e2e98
call fcn.00405490
lea ecx, [ebp - 0x24]
mov edx, 1
mov eax, dword [0x5e2e98]
call fcn.0043dc64
mov eax, dword [ebp - 0x24]
mov edx, 0x4d94a0
call fcn.00405864
je 0x4d8f08
lea ecx, [ebp - 0x28]
mov edx, 1
mov eax, dword [0x5e2e98]
call fcn.0043dc64
mov eax, dword [ebp - 0x28]
mov edx, 0x4d94ac
call fcn.00405864
je 0x4d8f08
mov eax, 0x5e2e98
mov edx, 0x4d94a0
call fcn.00405708
mov eax, 0x5e2e98
mov edx, 0x4d94b8
call fcn.00405708
jmp 0x4d8fa4
call fcn.0040cb50
fstp qword [ebp - 0x18]
wait
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov edx, dword [0x5dc490]
mov edx, dword [edx]
lea eax, [ebp - 8]
call fcn.0040d784
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.004bb3e4
lea eax, [ebp - 0x40]
lea edx, [ebp - 0x30]
call fcn.004bb45c
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov edx, 5
call fcn.0043dc48
mov edx, dword [ebp - 0x2c]
mov eax, 0x5e2e98
call fcn.00405490
push 0x4d94c8
push dword [0x5e2e98]
push 0x4d94a0
mov eax, 0x5e2e98
mov edx, 3
call fcn.004057d0
call fcn.004d4f68
push 0
mov eax, dword [0x5e2e98]
call fcn.004058cc
push eax
call fcn.004d50e8
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x374]
mov edx, 0x4d945c
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x374]
mov edx, dword [0x5e2e98]
call fcn.0048fe44
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x374]
mov byte [eax + 0x39], 1
mov byte [eax + 0x50], 1
mov byte [eax + 0x3a], 1
mov byte [eax + 0x40], 1
lea edx, [ebp - 0x44]
mov eax, dword [0x5dc3fc]
mov eax, dword [eax]
call fcn.0040a1a0
mov edx, dword [ebp - 0x44]
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x374]
add eax, 0x44
call fcn.00405490
xor eax, eax
push ebp
push 0x4d9037
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x374]
call fcn.00490734
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d905f
mov eax, 0x4d945c
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 4]
mov ecx, dword [0x5e2e3c]
mov edx, dword [0x5e2e98]
call fcn.00405754
mov eax, dword [0x5e2ed8]
mov edx, 0x4d9494
call fcn.00405864
jne 0x4d922b
lea eax, [ebp - 0x48]
mov ecx, dword [0x5e2e3c]
mov edx, dword [0x5e2e98]
call fcn.00405754
mov ebx, dword [ebp - 0x48]
push dword [0x5e2e98]
push dword [0x5e2e3c]
push 0x4d94f8
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.004057d0
mov esi, dword [ebp - 0x4c]
mov dword [ebp - 0x50], esi
mov eax, dword [ebp - 0x50]
call fcn.004058cc
push eax
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x54]
call fcn.004058cc
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb eax, eax
inc eax
call fcn.004d4f68
xor edx, edx
push ebp
push 0x4d91ec
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x40
push dword [0x5e2e98]
push dword [0x5e2e3c]
push 0x4d94f8
lea eax, [ebp - 0x5c]
mov edx, 3
call fcn.004057d0
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
call fcn.00409d44
mov ecx, dword [ebp - 0x58]
mov dl, 1
mov eax, dword [0x4196fc]
call fcn.0041e494
mov dword [ebp - 0xc], eax
push 0
push 0
push 1
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.004058cc
push eax
call fcn.004d5083
mov ebx, eax
mov ecx, ebx
mov dl, 1
mov eax, dword [0x419684]
call fcn.0041e3d0
mov esi, eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0xc]
mov edi, dword [eax]
call dword [edi + 0x14]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.0041e27c
mov eax, esi
call fcn.0040455c
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d91f3
push dword [0x5e2e98]
push dword [0x5e2e3c]
push 0x4d94f8
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004057d0
mov ebx, dword [ebp - 0x60]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp - 0x50]
call fcn.004058cc
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
mov eax, dword [ebp - 0xc]
call fcn.0040455c
ret
mov ax, 0x133f
call fcn.00403570
lea eax, [ebp - 0x68]
mov edx, dword [ebp - 4]
call fcn.00405d94
mov edx, dword [ebp - 0x68]
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x36c]
call fcn.0047e068
mov eax, dword [0x5e2e28]
mov edx, 0x4d9504
call fcn.00405864
je 0x4d92a2
mov eax, dword [0x5e2e2c]
mov edx, 0x4d9504
call fcn.00405864
je 0x4d92a2
mov eax, dword [0x5e2e28]
call fcn.0040a2dc
mov edx, eax
mov eax, dword [0x5e2e1c]
call fcn.00455c50
mov eax, dword [0x5e2e2c]
call fcn.0040a2dc
mov edx, eax
mov eax, dword [0x5e2e1c]
call fcn.00455c1c
jmp 0x4d92ae
mov dl, 2
mov eax, dword [0x5e2e1c]
call fcn.0046d77c
mov eax, dword [0x5e2eb0]
mov edx, 0x4d9494
call fcn.00405864
jne 0x4d92cb
mov dl, 3
mov eax, dword [0x5e2e1c]
call fcn.0046cc80
mov eax, dword [0x5e2eb4]
mov edx, 0x4d9494
call fcn.00405864
jne 0x4d9308
xor eax, eax
push ebp
push 0x4d92fe
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0044866c
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d9308
mov eax, dword [0x5e2ebc]
mov edx, 0x4d9494
call fcn.00405864
jne 0x4d9336
mov eax, dword [0x5e2f30]
push eax
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x378]
push eax
mov eax, dword [0x5e2e1c]
push eax
call fcn.004d5c7c
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x364]
mov dl, 1
call fcn.0044195c
mov eax, dword [0x5e2e1c]
mov eax, dword [eax + 0x360]
mov dl, 1
call fcn.0044195c
mov eax, dword [0x5dc70c]
cmp dword [eax], 0
je 0x4d93fc
xor eax, eax
push ebp
push 0x4d93f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5e2e1c]
call fcn.0046b964
mov ebx, eax
mov eax, dword [0x5e2ec4]
call fcn.0040a2dc
add ebx, eax
mov edx, ebx
mov eax, dword [0x5dc47c]
mov eax, dword [eax]
call fcn.00470f94
mov eax, dword [0x5e2e1c]
call fcn.0046b984
mov ebx, eax
mov eax, dword [0x5e2ec8]
call fcn.0040a2dc
add ebx, eax
mov edx, ebx
mov eax, dword [0x5dc47c]
mov eax, dword [eax]
call fcn.00470fd0
mov edx, dword [0x5dc70c]
mov edx, dword [edx]
mov eax, dword [0x5dc47c]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
call fcn.00456564
mov eax, dword [0x5dc47c]
mov eax, dword [eax]
call fcn.00470590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d93fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d944d
lea eax, [ebp - 0x68]
call fcn.00405c44
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.00405460
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.00405460
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00405460
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405460
ret