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

Disassembly:
push ebp
sub esp, 0x4d8
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x4d8], eax
push 0x28
mov eax, 0x1016d590
call fcn.10075e22
mov dword [ebp - 0x10], ecx
push 0x101d87c8
lea ecx, [ebp + 0x90]
call fcn.10001580
xor ebx, ebx
push 0x1017e1f0
lea ecx, [ebp + 0x90]
mov dword [ebp - 4], ebx
call fcn.10001740
push str.down.znyshurufa.com
lea ecx, [ebp + 0x90]
call fcn.1001d2e0
push str._plugin_
lea ecx, [ebp + 0x90]
call fcn.1001d2e0
push 0x10174190
lea ecx, [ebp + 0xac]
call fcn.100015f0
lea eax, [ebp + 0xac]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.1001fb72
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 2
call fcn.1001d19d
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
push ebx
push edi
lea ecx, [ebp + 0xac]
mov byte [ebp - 4], bl
call fcn.100017f0
push 0x1017e7ec
lea ecx, [ebp + 0x90]
call fcn.1001d2e0
push str.1.1.0.0511
lea ecx, [ebp + 0xac]
call fcn.100015f0
lea eax, [ebp + 0xac]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.1001fb72
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 4
call fcn.1001d19d
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
push ebx
push edi
lea ecx, [ebp + 0xac]
mov byte [ebp - 4], bl
call fcn.100017f0
push str._handinput.dat
lea ecx, [ebp + 0x90]
call fcn.1001d2e0
lea eax, [ebp + 0x90]
push eax
call fcn.1001f9c5
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.100201b9
mov esi, 0x206
push esi
lea eax, [ebp + 0x2d2]
push ebx
push eax
mov byte [ebp - 4], 5
mov word [ebp + 0x2d0], bx
call fcn.10076580
push esi
lea eax, [ebp + 0xca]
push ebx
push eax
mov word [ebp + 0xc8], bx
call fcn.10076580
add esp, 0x24
lea eax, [ebp + 0x2d0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
jae 0x10038074
lea eax, [ebp + 0x5c]
lea ecx, [ebp + 0xc8]
push ecx
push eax
call fcn.1001e289
pop ecx
pop ecx
lea eax, [ebp + 0x2d0]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100015f0
lea eax, [ebp + 0xc8]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 6
call fcn.10003540
lea ecx, [ebp - 0x18]
call fcn.100013c0
push 0x10037eb1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10001570
lea eax, [ebp + 0x2d0]
push eax
lea ecx, [ebp + 0x74]
call fcn.100015f0
cmp dword [ebp + 0x70], 8
mov eax, dword [ebp + 0x5c]
mov byte [ebp - 4], 8
jae 0x100380dd
lea eax, [ebp + 0x5c]
push eax
lea ecx, [ebp + 0xac]
call fcn.100015f0
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0xac]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.10001460
push ebx
push edi
lea ecx, [ebp + 0xac]
movzx esi, al
call fcn.100017f0
push ebx
push edi
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 7
call fcn.100017f0
cmp esi, ebx
je 0x10038269
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0xac]
push eax
call fcn.1001fb72
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea ecx, [ebp + 0x74]
call fcn.100015f0
cmp dword [ebp + 0xc4], 0x10
mov ecx, dword [ebp + 0xb0]
mov byte [ebp - 4], 0xb
jae 0x1003816a
lea ecx, [ebp + 0xb0]
cmp dword [ebp + 0x8c], 8
mov eax, dword [ebp + 0x78]
jae 0x10038179
lea eax, [ebp + 0x78]
push ebx
push ecx
push eax
call fcn.10031ef6
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x10038190
lea eax, [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x100381ae
push ebx
push ebx
push 0x13a2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea ecx, [ebp]
call fcn.100015f0
push str.SCHandInput.exe
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.10003540
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x100381e0
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp + 0x38]
je 0x1003820a
call fcn.100322c2
push 0x1017e7d8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.10001580
mov byte [ebp - 4], 0xe
jmp 0x10038224
call fcn.100322c2
push 0x1017e7d4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.10001580
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x38]
call fcn.10032397
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xc
call fcn.100322d4
push ebx
push edi
lea ecx, [ebp]
call fcn.100017f0
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.100017f0
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.10001770
jmp 0x100382a8
lea ecx, [ebp + 0x38]
call fcn.100322c2
push 0x1017e7d0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0x11
call fcn.10001580
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x12
call fcn.10032397
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 7
call fcn.100322d4
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.10001450
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017f0
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.100017f0
push ebx
push edi
lea ecx, [ebp + 0x90]
call fcn.10001770
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4d8]
xor ecx, ebp
call fcn.10075e13
add ebp, 0x4dc
leave
ret