Function at 0x425810
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x515584]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x208
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x210]
push 0
push eax
mov dword [ebp - 0x244], esi
call fcn.00490000
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x218], 0
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425886
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x228]
call fcn.00403340
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4258e6
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call ebx
mov edx, dword [ebp - 0x214]
mov eax, edx
mov ecx, dword [ebp - 0x218]
sub eax, ecx
cmp eax, 0x12
jb 0x425935
cmp edx, 8
lea esi, [ebp - 0x228]
push 0x24
cmovae esi, dword [ebp - 0x228]
lea edi, [ecx + 0x12]
push str.se_online_download
mov dword [ebp - 0x218], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00490510
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
mov esi, dword [ebp - 0x244]
jmp 0x425956
push 0x12
push str.se_online_download
mov byte [ebp - 0x244], 0
lea ecx, [ebp - 0x228]
push dword [ebp - 0x244]
push 0x12
call fcn.00404400
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
cmovae eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42598e
cmp dword [ebp - 0x214], 8
lea eax, [ebp - 0x228]
push 0
cmovae eax, dword [ebp - 0x228]
push eax
call ebx
push esi
lea eax, [ebp - 0x240]
push eax
call fcn.00425670
xor eax, eax
mov dword [ebp - 0x24c], 0
mov word [ebp - 0x25c], ax
lea ecx, [ebp - 0x25c]
mov eax, dword [ebp - 0x218]
inc eax
mov dword [ebp - 0x248], 7
push eax
call fcn.004021e0
cmp dword [ebp - 0x214], 8
lea ecx, [ebp - 0x228]
mov edx, dword [ebp - 0x248]
mov eax, edx
cmovae ecx, dword [ebp - 0x228]
mov ebx, dword [ebp - 0x24c]
sub eax, ebx
mov edi, dword [ebp - 0x218]
cmp edi, eax
ja 0x425a2e
cmp edx, 8
lea eax, [ebx + edi]
mov dword [ebp - 0x24c], eax
lea esi, [ebp - 0x25c]
cmovae esi, dword [ebp - 0x25c]
lea eax, [edi + edi]
push eax
push ecx
lea eax, [esi + ebx*2]
push eax
call fcn.00490510
add esp, 0xc
lea eax, [ebx + edi]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x425a49
push edi
push ecx
mov byte [ebp - 0x244], 0
lea ecx, [ebp - 0x25c]
push dword [ebp - 0x244]
push edi
call fcn.00404400
mov edx, dword [ebp - 0x248]
mov eax, edx
mov ecx, dword [ebp - 0x24c]
sub eax, ecx
cmp eax, 1
jb 0x425a92
cmp edx, 8
lea esi, [ebp - 0x25c]
push 2
cmovae esi, dword [ebp - 0x25c]
lea edi, [ecx + 1]
push 0x4d73e8
mov dword [ebp - 0x24c], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00490510
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x425ab3
push 1
push 0x4d73e8
mov byte [ebp - 0x244], 0
lea ecx, [ebp - 0x25c]
push dword [ebp - 0x244]
push 1
call fcn.00404400
cmp dword [ebp - 0x22c], 8
lea edx, [ebp - 0x240]
mov ebx, dword [ebp - 0x240]
mov esi, dword [ebp - 0x24c]
cmovae edx, ebx
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x230]
sub eax, esi
mov dword [ebp - 0x244], esi
cmp ecx, eax
ja 0x425b29
cmp dword [ebp - 0x248], 8
lea edi, [ecx + esi]
lea eax, [ecx + ecx]
mov dword [ebp - 0x24c], edi
push eax
mov eax, dword [ebp - 0x244]
lea esi, [ebp - 0x25c]
cmovae esi, dword [ebp - 0x25c]
push edx
lea eax, [esi + eax*2]
push eax
call fcn.00490510
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
lea eax, [ebp - 0x25c]
jmp 0x425b4a
push ecx
push edx
mov byte [ebp - 0x244], 0
push dword [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.00404400
mov ebx, dword [ebp - 0x240]
mov esi, dword [ebp - 0x260]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov edx, dword [ebp - 0x248]
cmp edx, 8
jb 0x425bc1
mov ecx, dword [ebp - 0x25c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425bb7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c65
push edx
push ecx
call fcn.0048da03
add esp, 8
xor eax, eax
mov dword [ebp - 0x24c], 0
mov word [ebp - 0x25c], ax
mov eax, dword [ebp - 0x22c]
mov dword [ebp - 0x248], 7
cmp eax, 8
jb 0x425c14
lea ecx, [eax*2 + 2]
mov eax, ebx
cmp ecx, 0x1000
jb 0x425c0a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c65
push ecx
push ebx
call fcn.0048da03
add esp, 8
mov edx, dword [ebp - 0x214]
cmp edx, 8
jb 0x425c50
mov ecx, dword [ebp - 0x228]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425c46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425c65
push edx
push ecx
call fcn.0048da03
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048d7c2
mov esp, ebp
pop ebp
ret 8
call fcn.0049c1b3
int3