Function at 0x40ffe0
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4e3442
push eax
mov al, byte [0x52c4cd]
mov dword fs:[0], esp
sub esp, 0x1a0
test al, al
push ebx
push ebp
push esi
push edi
je 0x410012
mov al, byte [0x52c4cc]
jmp 0x41024a
mov eax, dword [0x52a0ac]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0xb0]
mov dword [esp + 0x1b8], 0
push ecx
push 0xff
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
test eax, eax
je 0x41004e
lea edx, [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.004d86a9
push str.swflash.cab
lea ecx, [esp + 0x14]
call fcn.004d88fc
call fcn.0040b130
mov ebx, dword [esp + 0x10]
push 0x314
call fcn.004d8aef
mov ebp, eax
mov ecx, 0xc5
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov edi, str.http:__download.macromedia.com_pub_shockwave_cabs_flash_swflash.cab
or ecx, 0xffffffff
add esp, 4
lea edx, [ebp + 0x104]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp + 0x30c], 0
mov esi, dword [0x52c4c0]
cmp esi, esi
jl 0x4100e8
lea ecx, [esi + 1]
push 0xffffffffffffffff
push ecx
mov ecx, 0x52c4b8
call fcn.00410730
mov edx, dword [0x52c4bc]
xor eax, eax
mov bl, 1
mov dword [edx + esi*4], ebp
mov edx, dword [0x52c4c0]
xor esi, esi
test edx, edx
jle 0x410191
mov ecx, dword [0x52c4bc]
mov edi, dword [ecx]
cmp byte [edi + 0x310], 0
jne 0x410117
inc esi
inc eax
add ecx, 4
cmp eax, edx
jl 0x41010b
test esi, esi
je 0x410191
push 0
lea ecx, [esp + 0x20]
call fcn.0040add0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], bl
call fcn.004d9067
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1b8], 4
call fcn.004d8520
lea ecx, [esp + 0x98]
mov byte [esp + 0x1b8], 3
call fcn.004d8520
lea ecx, [esp + 0x94]
mov byte [esp + 0x1b8], 2
call fcn.004d8520
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1b8], 0
call fcn.004d8c9d
mov edx, dword [0x52c4c0]
xor esi, esi
test edx, edx
jle 0x4101b2
mov eax, dword [0x52c4bc]
mov eax, dword [eax + esi*4]
push eax
call fcn.004d8b18
mov eax, dword [0x52c4c0]
add esp, 4
inc esi
cmp esi, eax
jl 0x410197
push 0xffffffffffffffff
push 0
mov ecx, 0x52c4b8
call fcn.00410730
call fcn.0040b2d0
lea ecx, [esp + 0x14]
call fcn.00406490
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x1c0], 5
call fcn.004d8295
lea ecx, [esp + 0x18]
call fcn.004064d0
test eax, eax
je 0x41020c
call fcn.0040ff10
test al, al
mov byte [0x52c4cc], al
je 0x41020c
call fcn.00410530
mov dword [0x50f7cc], eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
mov byte [0x52c4cd], bl
mov bl, byte [0x52c4cc]
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b8], 0
call fcn.004064c0
lea ecx, [esp + 0x10]
mov dword [esp + 0x1b8], 0xffffffff
call fcn.004d8520
mov al, bl
mov ecx, dword [esp + 0x1b0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1ac
ret