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

Disassembly:
push ebp
sub esp, 0x8c
lea ebp, [esp - 4]
mov eax, dword [0x10207390]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push 0x60
mov eax, 0x1017f92a
call fcn.1008546d
mov edi, ecx
push str.wordsUrl
lea ecx, [ebp - 0x34]
call fcn.100015f0
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.100017c0
call fcn.100052f9
mov ecx, eax
call fcn.10019939
push eax
lea ecx, [ebp + 0x70]
call fcn.100015f0
push str.UpdateDaily_
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 3
call fcn.10003640
mov eax, dword [ebp + 0x74]
push 8
pop ebx
cmp dword [ebp + 0x88], ebx
jae 0x10049df5
lea eax, [ebp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10049e16
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
jae 0x10049e0e
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.100035e0
push str.words.zip
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 4
call fcn.10003640
lea ecx, [ebp - 0x18]
call fcn.100013c0
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
mov byte [ebp - 4], 5
jae 0x10049e4d
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x50]
call fcn.100015f0
cmp dword [ebp + 0x34], ebx
mov eax, dword [ebp + 0x20]
mov byte [ebp - 4], 6
jae 0x10049e65
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x34]
call fcn.100015f0
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.10001460
push esi
push edi
lea ecx, [ebp - 0x34]
movzx ebx, al
call fcn.100017c0
push esi
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.100017c0
cmp ebx, esi
jne 0x10049ef0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001450
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.100017c0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.100017c0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017c0
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.1008545e
add ebp, 0x90
leave
ret
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x10049eff
lea eax, [ebp + 0x74]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100015f0
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
mov byte [ebp - 4], 8
jae 0x10049f18
lea eax, [ebp + 0x58]
push eax
lea ecx, [ebp - 0x50]
call fcn.100015f0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 9
call fcn.100ad560
push esi
push edi
lea ecx, [ebp - 0x50]
mov ebx, eax
call fcn.100017c0
push esi
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.100017c0
cmp ebx, esi
jne 0x10049f86
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001450
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.100017c0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.100017c0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017c0
mov eax, ebx
jmp 0x10049ecd
call fcn.100052f9
mov ecx, eax
call fcn.10019925
push eax
lea ecx, [ebp]
call fcn.100015f0
push str.SCWBMBManager.exe
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.10003640
push 0x101ebf0c
lea ecx, [ebp + 0x38]
call fcn.100015f0
push 0x10189190
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xb
call fcn.10003610
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.10003be0
push str.__ImportLatelyUpdateMb
lea ecx, [ebp + 0x38]
call fcn.10003640
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x10049ff2
lea eax, [ebp + 0x3c]
push eax
call fcn.1001fcfd
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
pop ecx
jae 0x1004a005
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.100017c0
push esi
push edi
lea ecx, [ebp]
call fcn.100017c0
mov ebx, edi
jmp 0x10049f55