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

Disassembly:
push ebp
sub esp, 0x4d8
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x4d8], eax
push 0x28
mov eax, 0x1017f39d
call fcn.1008546d
mov dword [ebp - 0x10], ecx
push 0x101ebee8
lea ecx, [ebp + 0x90]
call fcn.10001580
xor ebx, ebx
push 0x101905b8
lea ecx, [ebp + 0x90]
mov dword [ebp - 4], ebx
call fcn.10001740
push str.down.znshuru.com
lea ecx, [ebp + 0x90]
call fcn.10017f5b
mov esi, 0x10190d04
push esi
lea ecx, [ebp + 0x90]
call fcn.10017f5b
push str.plugin_
lea ecx, [ebp + 0x90]
call fcn.10017f5b
push str.SmartCloudWB
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.1001e821
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x90]
mov byte [ebp - 4], 2
call fcn.10017d8b
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.100017c0
push esi
lea ecx, [ebp + 0x90]
call fcn.10017f5b
push str.handinput.dat
lea ecx, [ebp + 0x90]
call fcn.10017f5b
lea eax, [ebp + 0x90]
push eax
call fcn.1001dfe4
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x58]
push eax
call fcn.1001e780
mov esi, 0x206
push esi
lea eax, [ebp + 0x2d2]
push ebx
push eax
mov byte [ebp - 4], 3
mov word [ebp + 0x2d0], bx
call fcn.10085bc0
push esi
lea eax, [ebp + 0xca]
push ebx
push eax
mov word [ebp + 0xc8], bx
call fcn.10085bc0
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 0x100417a7
lea eax, [ebp + 0x5c]
lea ecx, [ebp + 0xc8]
push ecx
push eax
call fcn.1001ca5e
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], 4
call fcn.10003640
lea ecx, [ebp - 0x18]
call fcn.100013c0
push 0x1004162a
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
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], 6
jae 0x10041810
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], 7
call fcn.10001460
push ebx
push edi
lea ecx, [ebp + 0xac]
movzx esi, al
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp + 0x74]
mov byte [ebp - 4], 5
call fcn.100017c0
cmp esi, ebx
je 0x1004199c
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp + 0xac]
push eax
call fcn.1001e821
pop ecx
pop ecx
mov byte [ebp - 4], 8
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp + 0x74]
call fcn.100015f0
cmp dword [ebp + 0xc4], 0x10
mov ecx, dword [ebp + 0xb0]
mov byte [ebp - 4], 9
jae 0x1004189d
lea ecx, [ebp + 0xb0]
cmp dword [ebp + 0x8c], 8
mov eax, dword [ebp + 0x78]
jae 0x100418ac
lea eax, [ebp + 0x78]
push ebx
push ecx
push eax
call fcn.1003a777
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x100418c3
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 0x100418e1
push ebx
push ebx
push 0x13a2
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp]
call fcn.100015f0
push str.SCWBHandInput.exe
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.10003640
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x10041913
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea ecx, [ebp + 0x38]
je 0x1004193d
call fcn.1003ab43
push 0x10190ce8
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.10001580
mov byte [ebp - 4], 0xc
jmp 0x10041957
call fcn.1003ab43
push 0x10190ce4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.10001580
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x38]
call fcn.1003ac18
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xa
call fcn.1003ab55
push ebx
push edi
lea ecx, [ebp]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp + 0x74]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp + 0xac]
call fcn.10001770
jmp 0x100419db
lea ecx, [ebp + 0x38]
call fcn.1003ab43
push 0x10190ce0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.10001580
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0x10
call fcn.1003ac18
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.10001770
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 5
call fcn.1003ab55
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001450
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017c0
push ebx
push edi
lea ecx, [ebp + 0x58]
call fcn.100017c0
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.1008545e
add ebp, 0x4dc
leave
ret