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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7666
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4c9860]
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 esi, ecx
mov dword [ebp - 0x280], esi
mov ebx, dword [ebp + 8]
lea edi, [esi + 0x90]
mov dword [ebp - 0x284], 0
cmp dword [edi + 0x10], 0
mov dword [ebp - 0x288], ebx
je 0x44f5c5
cmp dword [edi + 0x14], 8
jb 0x44f58f
mov eax, dword [edi]
jmp 0x44f591
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
je 0x44f5c5
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.0040bd60
jmp 0x44f900
cmp byte [esi + 0x108], 0
je 0x44f72a
cmp dword [esi + 0x100], 0
je 0x44f72a
call fcn.00451080
lea ecx, [ebp - 0x234]
test eax, eax
je 0x44f68e
call fcn.0044c2a0
mov esi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0044bf00
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x280]
add ecx, 0xf0
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.00421140
add esp, 4
mov byte [ebp - 4], 3
push esi
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.00403c70
add esp, 4
mov byte [ebp - 4], 4
push eax
mov ecx, edi
call fcn.00402a20
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x27c]
call fcn.0040c340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x264]
call fcn.0040c340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.0040c340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040c340
jmp 0x44f8e2
call fcn.0044c480
mov esi, eax
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.0044c080
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x280]
add ecx, 0xf0
push ecx
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.00421140
add esp, 4
mov byte [ebp - 4], 7
push esi
mov edx, eax
lea ecx, [ebp - 0x27c]
call fcn.00403c70
add esp, 4
mov byte [ebp - 4], 8
push eax
mov ecx, edi
call fcn.00402a20
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x27c]
call fcn.0040c340
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x264]
call fcn.0040c340
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x24c]
call fcn.0040c340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.0040c340
jmp 0x44f8e2
lea ecx, [ebp - 0x27c]
call fcn.0044d2d0
mov dword [ebp - 4], 9
mov edx, eax
lea ecx, [ebp - 0x264]
call fcn.0042c530
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 0x10
jb 0x44f755
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x24c]
push eax
call fcn.0044f940
mov byte [ebp - 4], 0xb
mov edx, eax
lea ecx, [ebp - 0x234]
call fcn.0042c680
mov dword [ebp - 0x280], eax
mov byte [ebp - 4], 0xc
cmp edi, eax
je 0x44f7b2
cmp dword [edi + 0x14], 8
jb 0x44f797
push dword [edi]
call fcn.0047cf40
mov eax, dword [ebp - 0x280]
add esp, 4
xor ecx, ecx
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], cx
push eax
mov ecx, edi
call fcn.0040c240
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x220], 8
jb 0x44f7cd
push dword [ebp - 0x234]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x238], 0x10
jb 0x44f805
push dword [ebp - 0x24c]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x238], 0xf
mov dword [ebp - 0x23c], 0
mov byte [ebp - 0x24c], 0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x250], 0x10
jb 0x44f83b
push dword [ebp - 0x264]
call fcn.0047cf40
add esp, 4
mov dword [ebp - 0x250], 0xf
mov dword [ebp - 0x254], 0
mov byte [ebp - 0x264], 0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x268], 8
jb 0x44f871
push dword [ebp - 0x27c]
call fcn.0047cf40
add esp, 4
xor eax, eax
mov dword [ebp - 0x268], 7
mov dword [ebp - 0x26c], 0
mov word [ebp - 0x27c], ax
cmp dword [esi + 0xa0], eax
jne 0x44f8e2
push 0x206
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.004821a0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x44f8e2
lea eax, [ebp - 0x21c]
push eax
mov ecx, edi
call fcn.00402a60
mov edx, 0x5c
mov ecx, edi
call fcn.0042d070
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
push edi
mov ecx, ebx
mov word [ebx], ax
call fcn.0040bd60
mov dword [ebp - 4], 0
mov dword [ebp - 0x284], 1
mov eax, ebx
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.0047cf45
mov esp, ebp
pop ebp
ret 4