Function at 0x448420
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b93bf
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x4f52c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x298], edi
cmp byte [eax + 0x14], bl
je 0x448470
add eax, 4
mov dword [edi], eax
jmp 0x448b37
mov ecx, dword [eax + 4]
lea esi, [eax + 4]
mov dword [ebp - 0x27c], esi
cmp ecx, ebx
je 0x448495
mov eax, dword [esi + 4]
call fcn.00448c70
mov eax, dword [esi]
push eax
call fcn.0049926a
add esp, 4
mov dword [esi], ebx
push 0x206
lea edx, [ebp - 0x21a]
xor ecx, ecx
push ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push edx
mov dword [edi], ebx
mov word [ebp - 0x21c], cx
call fcn.0049dad0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x21c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea edx, [ebp - 0x260]
push edx
lea ecx, [ebp - 0x21c]
call fcn.00401d40
push 0xb
mov dword [ebp - 4], ebx
push str.realEnc.xml
lea ebx, [ebp - 0x260]
call fcn.00406d60
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4486c5
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x294], ebx
mov dword [ebp - 0x268], ebx
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x258], ebx
mov byte [ebp - 4], 5
xor ecx, ecx
mov word [ebp - 0x238], cx
mov edi, 7
push ebx
mov eax, 0x4c8a90
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x228], ebx
call fcn.004022e0
mov dword [ebp - 0x26c], ebx
lea esi, [ebp - 0x28c]
call fcn.0041ec70
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x260]
cmp dword [eax - 4], 1
jle 0x4485a9
mov edx, dword [eax - 0xc]
push edx
lea eax, [ebp - 0x260]
push eax
call fcn.00401de0
mov eax, dword [ebp - 0x260]
xor ecx, ecx
mov word [ebp - 0x254], cx
mov ecx, eax
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x4485c3
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x254]
call fcn.004022e0
lea ecx, [ebp - 0x254]
lea ebx, [ebp - 0x25c]
mov byte [ebp - 4], 9
call fcn.0040cda0
mov edi, 8
mov byte [ebp - 4], 8
mov bl, al
cmp dword [ebp - 0x240], edi
jb 0x448615
mov edx, dword [ebp - 0x254]
push edx
call fcn.00499080
add esp, 4
test bl, bl
jne 0x4486f5
lea esi, [ebp - 0x28c]
call fcn.0041ecc0
mov eax, dword [ebp - 0x26c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x224], edi
jb 0x44864c
mov ecx, dword [ebp - 0x238]
push ecx
call fcn.00499080
add esp, 4
xor esi, esi
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x258]
xor edx, edx
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x228], esi
mov word [ebp - 0x238], dx
cmp eax, esi
je 0x44867d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
cmp eax, esi
je 0x448693
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
cmp eax, esi
je 0x4486a9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
cmp eax, esi
je 0x4486c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4486ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x448b39
mov ecx, dword [ebp - 0x25c]
xor eax, eax
mov dword [ebp - 0x270], eax
test ecx, ecx
je 0x44871f
mov edx, dword [ecx]
lea eax, [ebp - 0x270]
push eax
push ecx
mov ecx, dword [edx + 0xb4]
call ecx
mov eax, dword [ebp - 0x270]
mov ebx, eax
mov dword [ebp - 0x278], ebx
test eax, eax
je 0x448801
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx]
mov eax, dword [ecx]
lea edx, [ebp - 0x268]
push edx
push 0x4be7fc
push ebx
mov dword [ebp - 0x294], ebx
call eax
mov edi, dword [ebp - 0x268]
test edi, edi
jne 0x44888f
lea esi, [ebp - 0x28c]
call fcn.0041ecc0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea esi, [ebp - 0x238]
call fcn.0041ac10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x448797
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x4487ad
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x4487c3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4487ef
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x260]
call fcn.00401980
xor al, al
jmp 0x448b39
lea esi, [ebp - 0x28c]
call fcn.0041ecc0
mov ecx, dword [ebp - 0x26c]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea esi, [ebp - 0x238]
call fcn.0041ac10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x44883a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x448850
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x448866
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x4486c5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x25c], 0
jmp 0x4486c5
push 0x4d4e54
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x270], esi
test esi, esi
jne 0x4488b0
push 0x8007000e
call fcn.00402be0
lea edx, [ebp - 0x264]
push edx
mov byte [ebp - 4], 0xa
mov ecx, dword [edi]
mov eax, dword [ecx + 0x90]
push esi
push edi
call eax
mov byte [ebp - 4], 8
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call edi
mov eax, dword [ebp - 0x264]
test eax, eax
jne 0x4488f7
lea esi, [ebp - 0x28c]
call fcn.0041ecc0
mov ecx, dword [ebp - 0x26c]
push ecx
call edi
jmp 0x448776
mov ecx, dword [eax]
lea edx, [ebp - 0x274]
push edx
push eax
mov eax, dword [ecx + 0x20]
call eax
xor ecx, ecx
mov dword [ebp - 0x270], ecx
cmp dword [ebp - 0x274], ecx
jle 0x448a63
mov eax, dword [ebp - 0x264]
mov edx, dword [eax]
lea esi, [ebp - 0x258]
push esi
push ecx
push eax
mov eax, dword [edx + 0x1c]
call eax
cmp dword [ebp - 0x258], 0
je 0x448a44
mov eax, 0x4d4e70
lea esi, [ebp - 0x254]
call fcn.00402420
lea ecx, [ebp - 0x238]
push ecx
mov edx, esi
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x258]
push edx
call fcn.0040d390
mov byte [ebp - 4], 8
call fcn.0041ac10
mov edx, dword [ebp - 0x238]
mov ebx, 8
cmp dword [ebp - 0x224], ebx
jae 0x448988
lea edx, [ebp - 0x238]
lea edi, [ebp - 0x28c]
call fcn.00401d00
mov eax, str.name
lea esi, [ebp - 0x254]
call fcn.00402420
lea eax, [ebp - 0x238]
push eax
mov ecx, esi
mov byte [ebp - 4], 0xc
push ecx
mov ecx, dword [ebp - 0x258]
call fcn.0040d390
mov byte [ebp - 4], 8
call fcn.0041ac10
mov edx, dword [ebp - 0x238]
cmp dword [ebp - 0x224], ebx
jae 0x4489d9
lea edx, [ebp - 0x238]
lea edi, [ebp - 0x288]
call fcn.00401d00
mov eax, dword [ebp - 0x258]
mov edx, dword [eax]
mov edx, dword [edx + 0x68]
lea ecx, [ebp - 0x26c]
push ecx
push eax
call edx
mov edx, dword [ebp - 0x26c]
lea edi, [ebp - 0x284]
call fcn.00401d00
mov ecx, dword [ebp - 0x27c]
lea edi, [ebp - 0x28c]
mov byte [ebp - 0x280], 0
call fcn.00448b60
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x448a3e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x258], 0
mov ebx, dword [ebp - 0x278]
mov ecx, dword [ebp - 0x270]
inc ecx
mov dword [ebp - 0x270], ecx
cmp ecx, dword [ebp - 0x274]
jl 0x44891a
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x27c]
mov ecx, dword [ebp - 0x298]
mov edx, dword [ebp - 0x290]
mov dword [ecx], eax
lea esi, [ebp - 0x28c]
mov byte [edx + 0x14], 1
call fcn.0041ecc0
mov eax, dword [ebp - 0x26c]
push eax
call edi
lea esi, [ebp - 0x238]
call fcn.0041ac10
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x448ab6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x264]
test eax, eax
je 0x448acc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x448ae2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov byte [ebp - 4], 1
mov eax, dword [ebx]
mov ecx, dword [eax + 8]
push ebx
call ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x448b0e
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x25c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x260]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x448b37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0049908b
mov esp, ebp
pop ebp
ret 4