Function at 0x461130
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e9a8d
mov eax, dword fs:[0]
push eax
sub esp, 0x6c0
mov eax, dword [0x6a8a44]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6cc], ecx
push str.http:__down.wn51.com_plugin_handinput.dat
lea ecx, [ebp - 0x688]
call fcn.004205c0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x688]
push eax
call fcn.005b2c51
add esp, 4
lea ecx, [ebp - 0x688]
push ecx
lea edx, [ebp - 0x670]
push edx
call fcn.005b64c1
add esp, 8
mov byte [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005be3a0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x420], dx
push 0x206
push 0
lea eax, [ebp - 0x41e]
push eax
call fcn.005be3a0
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x670]
call fcn.00402820
push eax
call fcn.005b6fc0
add esp, 8
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00402790
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x420]
push ecx
lea ecx, [ebp - 0x640]
call fcn.00404340
lea ecx, [ebp - 0x6c8]
call fcn.004025f0
mov byte [ebp - 4], 3
push 0
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x670]
call fcn.00402820
push eax
lea ecx, [ebp - 0x6c8]
call fcn.004026d0
movzx eax, al
mov dword [ebp - 0x6bc], eax
cmp dword [ebp - 0x6bc], 0
je 0x461305
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x6b8]
push edx
call fcn.005b6694
add esp, 8
mov byte [ebp - 4], 4
call fcn.004080c0
mov ecx, eax
call fcn.00425a00
push eax
lea ecx, [ebp - 0x6a0]
call fcn.00402790
mov byte [ebp - 4], 5
push 0
push 0
lea ecx, [ebp - 0x6b8]
call fcn.00422da0
push eax
lea ecx, [ebp - 0x6a0]
call fcn.00402820
push eax
call fcn.0040c1a0
add esp, 0x10
lea ecx, [ebp - 0x640]
call fcn.00402820
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x6a0]
call fcn.00402750
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x6b8]
call fcn.00420fa0
jmp 0x461349
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c8]
call fcn.004026c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x640]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x670]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x688]
call fcn.00420fa0
jmp 0x461427
call fcn.004080c0
mov ecx, eax
call fcn.00425a00
push eax
lea ecx, [ebp - 0x658]
call fcn.00402790
mov byte [ebp - 4], 6
push str.WnHandInput.exe
lea ecx, [ebp - 0x658]
call fcn.00404340
lea ecx, [ebp - 0x658]
call fcn.00402820
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4613d9
xor eax, eax
mov word [ebp - 0x628], ax
push 0x206
push 0
lea ecx, [ebp - 0x626]
push ecx
call fcn.005be3a0
add esp, 0xc
lea ecx, [ebp - 0x658]
call fcn.00402820
push eax
push 0x5f3ec8
lea edx, [ebp - 0x628]
push edx
call fcn.00409310
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
call fcn.005b40e3
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x658]
call fcn.00402750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c8]
call fcn.004026c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x640]
call fcn.00402750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x670]
call fcn.00402750
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x688]
call fcn.00420fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005ad281
mov esp, ebp
pop ebp
ret