Function at 0x4f8024
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x4f802d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00405228
xor eax, eax
push ebp
push 0x4f850d
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
mov edx, 0x4f851c
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.0040500c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004f8790
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004f79c4
mov eax, dword [ebp - 4]
push eax
push 0x4f8754
lea ecx, [ebp - 0x6c]
xor edx, edx
mov eax, dword [ebp - 0xc]
call fcn.004c4d90
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x5c]
call fcn.004c4ce8
mov eax, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 8]
add edx, 0x23a
call fcn.0040500c
mov edx, dword [ebp - 0x70]
pop eax
call fcn.0040977c
test eax, eax
je 0x4f8141
mov edx, 0x4f8528
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, 0x4f8530
lea eax, [ebp - 0x104]
mov cl, 0x49
call fcn.00403598
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x74]
call fcn.0040500c
mov edx, dword [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.004f8790
xor ebx, ebx
jmp 0x4f84a7
mov eax, dword [ebp - 8]
movzx eax, byte [eax + 0x25b]
dec al
je 0x4f815c
sub al, 2
je 0x4f82b5
jmp 0x4f8481
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x4f81fd
push ebp
lea eax, [ebp - 0x108]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040500c
mov eax, dword [ebp - 0x108]
call fcn.004f7e84
pop ecx
mov ebx, eax
test bl, bl
jne 0x4f8481
mov edx, 0x4f853c
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, 0x4f8544
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403598
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x10c]
call fcn.0040500c
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp - 4]
call fcn.004f8790
jmp 0x4f8481
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.0040500c
mov eax, dword [ebp - 0x1a0]
call fcn.004f7f98
pop ecx
test al, al
jne 0x4f8481
xor ebx, ebx
mov edx, 0x4f854c
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, 0x4f8554
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403598
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x234]
call fcn.0040500c
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 4]
call fcn.004f8790
jmp 0x4f8481
lea eax, [ebp - 0x284]
mov edx, dword [ebp - 8]
add edx, 0xa2
call fcn.0040500c
mov eax, dword [ebp - 0x284]
mov edx, 0x4f8564
call fcn.0040977c
test eax, eax
jne 0x4f8331
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f82e9
sub eax, 4
mov eax, dword [eax]
inc eax
call fcn.00402f60
mov esi, eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4f82fd
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0xc]
call fcn.00405298
lea ecx, [ebx + 1]
mov edx, esi
call fcn.004031c8
push esi
push 0
push 0x7eb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov eax, esi
call fcn.00402f7c
xor ebx, ebx
jmp 0x4f8481
mov eax, dword [ebp - 8]
cmp byte [eax + 0x130], 0
je 0x4f83d2
push ebp
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 8]
add edx, 0x3d
call fcn.0040500c
mov eax, dword [ebp - 0x288]
call fcn.004f7e84
pop ecx
mov ebx, eax
test bl, bl
jne 0x4f8481
mov edx, 0x4f853c
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, 0x4f8544
lea eax, [ebp - 0x19c]
mov cl, 0x4a
call fcn.00403598
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x28c]
call fcn.0040500c
mov edx, dword [ebp - 0x28c]
mov eax, dword [ebp - 4]
call fcn.004f8790
jmp 0x4f8481
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.0040500c
mov eax, dword [ebp - 0x290]
call fcn.004f7f98
pop ecx
test al, al
jne 0x4f8481
xor ebx, ebx
mov edx, 0x4f854c
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, 0x4f8554
lea eax, [ebp - 0x280]
mov cl, 0x48
call fcn.00403598
lea edx, [ebp - 0x280]
lea eax, [ebp - 0x294]
call fcn.0040500c
mov edx, dword [ebp - 0x294]
mov eax, dword [ebp - 4]
call fcn.004f8790
mov eax, dword [ebp - 0xc]
call fcn.00405238
mov edx, eax
lea eax, [ebp - 0x298]
call fcn.00404fa0
mov eax, dword [ebp - 0x298]
call fcn.00405238
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f8514
lea eax, [ebp - 0x298]
mov edx, 6
call fcn.00404dcc
lea eax, [ebp - 0x234]
call fcn.00404da8
lea eax, [ebp - 0x1a0]
call fcn.00404da8
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404dcc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404dcc
lea eax, [ebp - 0x5c]
call fcn.00404da8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404dcc
ret