Function at 0x4d2b60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4d2b68
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405194
mov eax, dword [ebp - 8]
call fcn.00405194
xor eax, eax
push ebp
push 0x4d2e5b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00404d14
mov byte [ebp - 0xd], 0
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409314
mov edx, dword [ebp - 0x18]
mov eax, 0x4d2e78
call fcn.004052f0
test eax, eax
jne 0x4d2bf7
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00409314
mov edx, dword [ebp - 0x1c]
mov eax, 0x4d2e88
call fcn.004052f0
test eax, eax
jne 0x4d2bf7
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00409314
mov edx, dword [ebp - 0x20]
mov eax, 0x4d2e98
call fcn.004052f0
test eax, eax
je 0x4d2c04
lea eax, [ebp - 4]
mov edx, 0x4d2ea8
call fcn.00404fe0
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004d2ae8
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4d2eb4
call fcn.0040502c
mov eax, dword [ebp - 0x24]
call fcn.004d0bd0
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
call fcn.004d2ae8
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x37c]
call fcn.004a2dd8
cmp dword [ebp - 0xc], 0
je 0x4d2e33
xor ecx, ecx
push ebp
push 0x4d2e2c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4d2c6d
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x30]
push eax
mov ecx, 1
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0040520c
mov eax, dword [ebp - 0x30]
mov edx, 0x4d2ea8
call fcn.0040513c
jne 0x4d2cc5
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d2c9b
sub eax, 4
mov eax, dword [eax]
mov esi, eax
test esi, esi
jle 0x4d2cc5
mov ebx, 1
lea eax, [ebp - 0xc]
call fcn.00405204
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + ebx - 1]
mov ecx, 0xff
sub ecx, edx
mov byte [eax + ebx - 1], cl
inc ebx
dec esi
jne 0x4d2ca6
mov eax, dword [ebp - 8]
call fcn.00409e4c
test al, al
je 0x4d2d49
xor eax, eax
push ebp
push 0x4d2d19
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4d2ec8
push dword [ebp - 8]
push 0x4d2edc
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.004050a8
mov eax, dword [ebp - 0x34]
call fcn.004d0bd0
mov eax, dword [ebp - 8]
call fcn.004051a4
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2d49
xor ecx, ecx
push ebp
push 0x4d2de6
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d2d63
sub ebx, 4
mov ebx, dword [ebx]
push 0x4d2f04
push dword [ebp - 8]
push 0x4d2f18
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.004097fc
push dword [ebp - 0x40]
push 0x4d2f24
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.004050a8
mov eax, dword [ebp - 0x3c]
call fcn.004d0bd0
push 0xffff
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x41ab48]
call fcn.0041fd4c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xc]
call fcn.00405204
mov edx, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d2dc4
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, 0x4d2f34
call fcn.004d0bd0
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d2e16
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2e33
lea eax, [ebp - 0x14]
call fcn.0040f8f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d2e62
lea eax, [ebp - 0x44]
mov edx, 0xc
call fcn.00404d38
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404d38
ret