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

Disassembly:
push ebp
sub esp, 0x8c
lea ebp, [esp - 4]
mov eax, dword [0x101f1dd0]
xor eax, ebp
mov dword [ebp + 0x8c], eax
push 0x60
mov eax, 0x1016db15
call fcn.10075e22
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.100017f0
call fcn.10004cf1
mov ecx, eax
call fcn.1004a288
push eax
lea ecx, [ebp + 0x70]
call fcn.100015f0
push str.UpdateDaily_
lea ecx, [ebp + 0x70]
mov byte [ebp - 4], 3
call fcn.10003540
mov eax, dword [ebp + 0x74]
push 8
pop ebx
cmp dword [ebp + 0x88], ebx
jae 0x1004033b
lea eax, [ebp + 0x74]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1004035c
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
jae 0x10040354
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.10003510
push str.words.zip
lea ecx, [ebp + 0x54]
mov byte [ebp - 4], 4
call fcn.10003540
lea ecx, [ebp - 0x18]
call fcn.100013c0
cmp dword [ebp + 0x88], ebx
mov eax, dword [ebp + 0x74]
mov byte [ebp - 4], 5
jae 0x10040393
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 0x100403ab
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.100017f0
push esi
push edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.100017f0
cmp ebx, esi
jne 0x10040436
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10001450
push esi
push edi
lea ecx, [ebp + 0x54]
call fcn.100017f0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.100017f0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017f0
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.10075e13
add ebp, 0x90
leave
ret
cmp dword [ebp + 0x88], 8
mov eax, dword [ebp + 0x74]
jae 0x10040445
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 0x1004045e
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.1009cdd0
push esi
push edi
lea ecx, [ebp - 0x50]
mov ebx, eax
call fcn.100017f0
push esi
push edi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 5
call fcn.100017f0
cmp ebx, esi
jne 0x100404cc
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.100017f0
push esi
push edi
lea ecx, [ebp + 0x70]
call fcn.100017f0
push esi
push edi
lea ecx, [ebp + 0x1c]
call fcn.100017f0
mov eax, ebx
jmp 0x10040413
call fcn.10004cf1
mov ecx, eax
call fcn.1001b43a
push eax
lea ecx, [ebp]
call fcn.100015f0
push str.SCMBManager.exe
lea ecx, [ebp]
mov byte [ebp - 4], 0xa
call fcn.10003540
push 0x101d87ec
lea ecx, [ebp + 0x38]
call fcn.100015f0
push 0x10178204
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xb
call fcn.100017c0
push 0xffffffffffffffff
push esi
lea eax, [ebp]
push eax
lea ecx, [ebp + 0x38]
call fcn.10003ab0
push str.__ImportLatelyUpdateMb
lea ecx, [ebp + 0x38]
call fcn.10003540
cmp dword [ebp + 0x50], 8
mov eax, dword [ebp + 0x3c]
jae 0x10040538
lea eax, [ebp + 0x3c]
push eax
call fcn.1001ee9d
cmp dword [ebp + 0x6c], 8
mov eax, dword [ebp + 0x58]
pop ecx
jae 0x1004054b
lea eax, [ebp + 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push edi
lea ecx, [ebp + 0x38]
call fcn.100017f0
push esi
push edi
lea ecx, [ebp]
call fcn.100017f0
mov ebx, edi
jmp 0x1004049b