Function at 0x4fd870
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x4fd879
push ecx
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00405248
xor eax, eax
push ebp
push 0x4fdd5b
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, 0x4fdd6c
lea eax, [ebp - 0x58]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x58]
mov cl, 0x45
call fcn.00403598
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x10]
call fcn.0040502c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004fd160
mov eax, dword [ebp - 4]
push eax
push 0x4fdfa4
lea ecx, [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004c1580
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.004c14d8
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
add edx, 0x23a
call fcn.0040502c
mov edx, dword [ebp - 0x70]
pop eax
call fcn.004098d8
test eax, eax
je 0x4fd98c
mov edx, 0x4fdd78
lea eax, [ebp - 0xb8]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403598
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x104]
call fcn.004035c8
mov edx, 0x4fdd80
lea eax, [ebp - 0x104]
mov cl, 0x49
call fcn.00403598
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x74]
call fcn.0040502c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
xor ebx, ebx
jmp 0x4fdcf5
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x25b]
dec al
je 0x4fd9a7
sub al, 2
je 0x4fdb00
jmp 0x4fdccf
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x4fda48
push ebp
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040502c
mov eax, dword [ebp - 0x108]
call fcn.004fd6d0
pop ecx
mov ebx, eax
test bl, bl
jne 0x4fdccf
mov edx, 0x4fdd8c
lea eax, [ebp - 0x150]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.00403598
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.004035c8
mov edx, 0x4fdd94
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403598
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x10c]
call fcn.0040502c
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
jmp 0x4fdccf
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.004035c8
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.00403598
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x1a0]
call fcn.0040502c
mov eax, dword [ebp - 0x1a0]
call fcn.004fd7e4
pop ecx
test al, al
jne 0x4fdccf
xor ebx, ebx
mov edx, 0x4fdd9c
lea eax, [ebp - 0xb8]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403598
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.004035c8
mov edx, 0x4fdda4
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403598
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x234]
call fcn.0040502c
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
jmp 0x4fdccf
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 8]
add edx, 0xa2
call fcn.0040502c
mov eax, dword [ebp - 0x284]
mov edx, 0x4fddb4
call fcn.004098d8
test eax, eax
jne 0x4fdb7f
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fdb34
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00402f60
mov ebx, eax
lea eax, [ebp - 0xc]
call fcn.004052b8
mov edx, eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4fdb52
sub eax, 4
mov eax, dword [eax]
lea ecx, [eax + 1]
mov eax, ebx
xchg edx, eax
call fcn.004031c8
push ebx
push 0
push 0x7eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov eax, ebx
call fcn.00402f7c
xor ebx, ebx
jmp 0x4fdccf
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x4fdc20
push ebp
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040502c
mov eax, dword [ebp - 0x288]
call fcn.004fd6d0
pop ecx
mov ebx, eax
test bl, bl
jne 0x4fdccf
mov edx, 0x4fdd8c
lea eax, [ebp - 0x150]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0x150]
mov cl, 0x43
call fcn.00403598
lea edx, [ebp - 0x150]
lea eax, [ebp - 0x19c]
call fcn.004035c8
mov edx, 0x4fdd94
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403598
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x28c]
call fcn.0040502c
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
jmp 0x4fdccf
push ebp
mov eax, dword [ebp - 8]
lea edx, [eax + 0x3d]
lea eax, [ebp - 0x230]
call fcn.004035c8
mov eax, dword [ebp - 8]
lea edx, [eax + 0xa2]
lea eax, [ebp - 0x230]
mov cl, 0x8c
call fcn.00403598
lea edx, [ebp - 0x230]
lea eax, [ebp - 0x290]
call fcn.0040502c
mov eax, dword [ebp - 0x290]
call fcn.004fd7e4
pop ecx
test al, al
jne 0x4fdccf
xor ebx, ebx
mov edx, 0x4fdd9c
lea eax, [ebp - 0xb8]
call fcn.004035c8
mov eax, dword [ebp - 8]
mov edx, eax
lea eax, [ebp - 0xb8]
mov cl, 0x41
call fcn.00403598
lea edx, [ebp - 0xb8]
lea eax, [ebp - 0x280]
call fcn.004035c8
mov edx, 0x4fdda4
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403598
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x294]
call fcn.0040502c
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 4]
call fcn.004fdfe0
mov eax, dword [ebp - 0xc]
call fcn.00405258
mov edx, eax
lea eax, [ebp - 0x298]
call fcn.00404fc0
mov eax, dword [ebp - 0x298]
call fcn.00405258
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fdd62
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.00404dec
lea eax, [ebp - 0x234]
call fcn.00404dc8
lea eax, [ebp - 0x1a0]
call fcn.00404dc8
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404dec
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404dec
lea eax, [ebp - 0x5c]
call fcn.00404dc8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404dec
ret