Function at 0x43ad50
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609b35
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x69f000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x14]
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
call fcn.0046d820
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
push esi
call fcn.0046b840
test al, al
jne 0x43adee
call fcn.00408570
mov ecx, dword [edi + 4]
add ecx, 0x1c
lea edx, [eax + 0xf4]
cmp dword [ecx + 0x14], 8
jb 0x43add1
mov ecx, dword [ecx]
mov eax, dword [edx]
push ecx
push str.Invalid_download_action_xml_for_package:__s
push str.DownloadActionInitError
push edx
call dword [eax + 0x24]
add esp, 0x10
mov byte [ebp - 0x61], 0
jmp 0x43b063
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
push 0x1c
push str._download_displayRetryCancel
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
call fcn.0040c3f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x18]
call fcn.0046bbc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.0040bd90
cmp dword [ebp - 0x34], 8
lea esi, [ebp - 0x48]
mov edx, dword [ebp - 0x38]
cmovae esi, dword [ebp - 0x48]
cmp edx, 4
jne 0x43aea5
mov ecx, 0x66688c
test edx, edx
je 0x43aea1
sub esi, ecx
nop
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x43aea5
add ecx, 2
sub edx, 1
jne 0x43ae90
mov al, 1
jmp 0x43aea7
xor al, al
push 0x17
xorps xmm0, xmm0
mov byte [edi + 0x6c], al
push str._download_retryDuration
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x6c], 0
call fcn.0040c3f0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x18]
call fcn.0046bbc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x80]
call fcn.0040bd90
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.005e1035
add esp, 4
mov dword [edi + 0x70], eax
call fcn.00408570
add eax, 0x4e0
lea esi, [edi + 0x24]
cmp esi, eax
je 0x43af2b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x43af20
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0040be20
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x30]
call fcn.004246f0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43afe1
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43afe1
add eax, ecx
mov dword [ebp - 0x68], eax
lea eax, [eax*2 + 0x16]
push eax
call fcn.005d89b1
mov edi, eax
add esp, 4
test edi, edi
je 0x43afe1
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43af93
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x68]
add eax, 0xb
push eax
push edi
call fcn.005d894d
add esp, 0xc
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
cmovae eax, dword [ebp - 0x30]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43afc0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.0040be20
push edi
call fcn.005d8486
add esp, 4
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43afeb
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x43b009
cmp ecx, 8
jb 0x43b000
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x43b03b
cmp ecx, 8
jb 0x43b010
mov esi, dword [esi]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x43b03b
push eax
push str.SHCreateDirectoryEx_failed._Error:__d
push 0x65fe6c
push str.FileUtils
push 0x32
push 0
call fcn.0046e820
add esp, 0x18
mov byte [ebp - 0x61], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.0040bd90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
call fcn.0040bd90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
call fcn.0040bd90
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x14]
call fcn.0046d820
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x61]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005d077b
mov esp, ebp
pop ebp
ret 4