Function at 0x1002ef09
Capabilities:
Check if file exists
Create directory
Delete file

Disassembly:
push ebp
sub esp, 0x8c
lea ebp, [esp - 4]
mov eax, dword [0x10139d20]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push 0x60
mov eax, 0x100e97e2
call fcn.100773f7
mov edi, ecx
push str.wordsUrl
lea ecx, [ebp - 0x34]
call fcn.10001df0
mov ecx, dword [edi + 8]
mov eax, dword [ecx]
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp + 0x1c]
xor esi, esi
push edx
mov dword [ebp - 4], esi
call dword [eax + 0x18]
xor edi, edi
push esi
inc edi
push edi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.10001fc0
call fcn.100058ef
mov ecx, eax
call fcn.10017c05
push eax
lea ecx, [ebp + 0x70]
call fcn.10001df0
push str.UpdateDaily_
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 3
call fcn.10003cf0
mov eax, dword [ebp + 0x74]
push 8
pop ebx
cmp dword [ebp + 0x88], ebx
jae 0x1002ef99
lea eax, [ebp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1002efba
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
jae 0x1002efb2
lea eax, [ebp + 0x74]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp + 0x70]
push eax
lea ecx, [ebp + 0x54]
call fcn.10003c90
push str.words.zip
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 4
call fcn.10003cf0
lea ecx, [ebp - 0x18]
call fcn.10001bc0
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
mov byte [ebp - 4], 5
jae 0x1002eff1
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001df0
cmp dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 6
jae 0x1002f009
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.10001df0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10001c60
push esi
push edi
lea ecx, [ebp - 0x34]
movzx ebx, al
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.10001fc0
cmp ebx, esi
jne 0x1002f094
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001c50
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x8c]
xor ecx, ebp
call fcn.100773e8
add ebp, 0x90
leave
ret
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x1002f0a3
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10001df0
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov byte [ebp - 4], 8
jae 0x1002f0bc
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.10001df0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 9
call fcn.1009efa0
push esi
push edi
lea ecx, [ebp - 0x50]
mov ebx, eax
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.10001fc0
cmp ebx, esi
jne 0x1002f12a
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001c50
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.10001fc0
mov eax, ebx
jmp 0x1002f071
call fcn.100058ef
mov ecx, eax
call fcn.10017bf1
push eax
lea ecx, [ebp]
call fcn.10001df0
push str.WnWordManager.exe
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.10003cf0
push 0x1011e03c
lea ecx, [ebp + 0x38]
call fcn.10001df0
push 0x100f57cc
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xb
call fcn.10003cc0
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.10004260
push str.__ImportLatelyUpdateMb
lea ecx, [ebp + 0x38]
call fcn.10003cf0
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x1002f196
lea eax, [ebp + 0x3c]
push eax
call fcn.1001a8a5
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
pop ecx
jae 0x1002f1a9
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.10001fc0
push esi
push edi
lea ecx, [ebp]
call fcn.10001fc0
mov ebx, edi
jmp 0x1002f0f9