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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609acd
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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 dword [ebp - 0x74], ecx
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x405
mov dword [ebp - 0x14], esi
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], str.actions
mov dword [ebp - 0x28], 7
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov ecx, esi
call fcn.00431470
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
shl eax, 5
add eax, dword [esi + 8]
cmp ecx, eax
je 0x43a882
lea edi, [ecx + 0x10]
jmp 0x43a88e
movups xmmword [0x6a9cc4], xmm0
mov edi, 0x6a9cc4
mov dword [ebp - 4], 0xffffffff
mov eax, 0x405
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], str.download
mov dword [ebp - 0x28], 8
mov dword [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
mov ecx, edi
call fcn.00431470
mov eax, dword [edi]
mov ecx, dword [ebp - 0x18]
shl eax, 5
add eax, dword [edi + 8]
cmp ecx, eax
je 0x43a8e1
lea edi, [ecx + 0x10]
jmp 0x43a8ed
movups xmmword [0x6a9cc4], xmm0
mov edi, 0x6a9cc4
mov dword [ebp - 4], 0xffffffff
mov eax, 0x405
mov esi, dword [esi]
mov ecx, dword [ebp - 0x14]
movups xmmword [ebp - 0x28], xmm0
shl esi, 5
mov word [ebp - 0x1a], ax
add esi, dword [ecx + 8]
mov dword [ebp - 0x20], str.downloadUrl
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 4], 6
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00431470
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], esi
je 0x43a9b9
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x405
mov dword [ebp - 0x20], str.downloadUrl
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x28], 0xb
mov dword [ebp - 4], 9
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call fcn.00431470
mov eax, dword [esi]
mov ecx, dword [ebp - 0x18]
shl eax, 5
add eax, dword [esi + 8]
cmp ecx, eax
je 0x43a989
add ecx, 0x10
jmp 0x43a995
movups xmmword [0x6a9cc4], xmm0
mov ecx, 0x6a9cc4
mov dword [ebp - 4], 0xffffffff
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x43a9aa
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x74]
push ecx
lea edx, [edx + 0x54]
call fcn.004637f0
add esp, 4
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xc
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0xd
mov eax, 0x405
mov esi, dword [edi]
movups xmmword [ebp - 0x28], xmm0
shl esi, 5
add esi, dword [edi + 8]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], str.displayRetryCancel
mov dword [ebp - 0x28], 0x12
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00431470
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x14], esi
je 0x43aafd
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x405
mov dword [ebp - 0x20], str.displayRetryCancel
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x28], 0x12
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov ecx, edi
call fcn.00431470
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
shl eax, 5
add eax, dword [edi + 8]
cmp ecx, eax
je 0x43aa91
add ecx, 0x10
jmp 0x43aa9d
movups xmmword [0x6a9cc4], xmm0
mov ecx, 0x6a9cc4
mov byte [ebp - 4], 0xd
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x43aaaf
mov ecx, dword [ecx + 8]
push ecx
lea edx, [ebp - 0x58]
call fcn.004637f0
mov edx, dword [ebp - 0x48]
lea esi, [ebp - 0x58]
add esp, 4
cmp dword [ebp - 0x44], 8
cmovae esi, dword [ebp - 0x58]
cmp edx, 4
jne 0x43aaf5
mov ecx, 0x66688c
test edx, edx
je 0x43aaf1
sub esi, ecx
nop dword [eax]
mov ax, word [ecx + esi]
cmp ax, word [ecx]
jne 0x43aaf5
add ecx, 2
sub edx, 1
jne 0x43aae0
mov al, 1
jmp 0x43aaf7
xor al, al
mov ecx, dword [ebp - 0x74]
mov byte [ecx + 0x6c], al
mov esi, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
shl esi, 5
mov eax, 0x405
add esi, dword [edi + 8]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], str.retryDuration
mov dword [ebp - 0x28], 0xd
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00431470
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x14], esi
je 0x43abcd
movups xmmword [ebp - 0x28], xmm0
mov eax, 0x405
mov dword [ebp - 0x20], str.retryDuration
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x28], 0xd
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov ecx, edi
call fcn.00431470
mov eax, dword [edi]
mov ecx, dword [ebp - 0x14]
shl eax, 5
add eax, dword [edi + 8]
cmp ecx, eax
je 0x43ab8c
add ecx, 0x10
jmp 0x43ab98
movups xmmword [0x6a9cc4], xmm0
mov ecx, 0x6a9cc4
mov byte [ebp - 4], 0xd
mov eax, 0x1000
test word [ecx + 0xe], ax
jne 0x43abaa
mov ecx, dword [ecx + 8]
push ecx
lea edx, [ebp - 0x70]
call fcn.004637f0
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call fcn.005e1035
mov ecx, dword [ebp - 0x74]
add esp, 8
mov dword [ecx + 0x70], eax
call fcn.00408570
mov esi, dword [ebp - 0x74]
add eax, 0x4e0
add esi, 0x24
cmp esi, eax
je 0x43abf6
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x43abeb
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.0040be20
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
xor eax, eax
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x40]
call fcn.004246f0
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x43aca8
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x43aca8
add eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [eax*2 + 0x16]
push eax
call fcn.005d89b1
mov edi, eax
add esp, 4
test edi, edi
je 0x43aca8
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43ac5e
mov eax, dword [esi]
push eax
mov eax, dword [ebp - 0x14]
add eax, 0xb
push eax
push edi
call fcn.005d894d
add esp, 0xc
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43ac87
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 0x43acb2
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x43acd0
cmp ecx, 8
jb 0x43acc7
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
jmp 0x43ad02
cmp ecx, 8
jb 0x43acd7
mov esi, dword [esi]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x43ad02
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 - 4], 0xd
lea ecx, [ebp - 0x40]
call fcn.0040bd90
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x70]
call fcn.0040bd90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040bd90
mov al, 1
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