Function at 0x44c786
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2454
mov eax, dword fs:[0]
push eax
mov eax, 0x2318
call fcn.00593490
mov eax, dword [0x637190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 7
pop edi
xor ebx, ebx
mov dword [ebp - 0x2018], edi
push ebx
xor eax, eax
mov dword [ebp - 0x201c], ebx
push 0x5c4f10
lea ecx, [ebp - 0x202c]
mov word [ebp - 0x202c], ax
call fcn.00404be0
xor eax, eax
mov dword [ebp - 4], ebx
push 0x2000
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push ebx
push eax
call fcn.0058e700
add esp, 0xc
mov dword [ebp - 0x2320], ebx
xor eax, eax
mov dword [ebp - 0x2030], edi
lea ecx, [ebp - 0x2044]
mov dword [ebp - 0x2034], ebx
mov word [ebp - 0x2044], ax
push ebx
push 0x5c4f10
call fcn.00404be0
lea ecx, [ebp - 0x231c]
mov byte [ebp - 4], 1
call fcn.004365c4
mov byte [ebp - 4], 2
cmp dword [esi + 0x14], ebx
je 0x44cc10
mov edi, str.Readme.
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x202c]
call fcn.00404be0
lea edi, [esi + 0x376]
cmp word [edi], bx
jne 0x44c876
mov eax, ebx
jmp 0x44c87d
push edi
call fcn.0058edd4
pop ecx
push eax
push edi
lea ecx, [ebp - 0x202c]
call fcn.00404a83
lea edi, [esi + 4]
cmp dword [edi + 0x14], 8
jb 0x44c897
mov ecx, dword [edi]
jmp 0x44c899
mov ecx, edi
cmp dword [ebp - 0x2018], 8
lea eax, [ebp - 0x202c]
push 1
push dword [esi + 0x20]
cmovae eax, dword [ebp - 0x202c]
push ecx
push 0x104
lea ecx, [ebp - 0x2014]
push ecx
push 0x5c4f10
push eax
push 0x5d311c
call fcn.00470de9
mov ebx, dword [ebp - 0x2320]
lea eax, [ebp - 0x2320]
mov ecx, dword [esi + 0x20]
add esp, 0x20
inc ebx
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0046f4e7
test eax, eax
je 0x44c904
push ebx
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
jne 0x44c9ca
mov ebx, str.Readme.
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x202c]
call fcn.00404be0
lea ebx, [esi + 0x380]
xor eax, eax
cmp word [ebx], ax
je 0x44c931
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x202c]
call fcn.00404a83
cmp dword [edi + 0x14], 8
jb 0x44c948
mov ecx, dword [edi]
jmp 0x44c94a
mov ecx, edi
cmp dword [ebp - 0x2018], 8
lea eax, [ebp - 0x202c]
push 1
push dword [esi + 0x20]
cmovae eax, dword [ebp - 0x202c]
push ecx
push 0x104
lea ecx, [ebp - 0x2014]
push ecx
push 0x5c4f10
push eax
push 0x5d311c
call fcn.00470de9
mov ebx, dword [ebp - 0x2320]
lea eax, [ebp - 0x2320]
mov ecx, dword [esi + 0x20]
add esp, 0x20
inc ebx
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0046f4e7
test eax, eax
je 0x44c9b1
push ebx
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
jne 0x44c9ca
mov ebx, str.Readme
push ebx
call fcn.0058edd4
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x202c]
call fcn.00404be0
cmp dword [edi + 0x14], 8
jb 0x44c9d4
mov ecx, dword [edi]
jmp 0x44c9d6
mov ecx, edi
cmp dword [ebp - 0x2018], 8
lea eax, [ebp - 0x202c]
push 1
push dword [esi + 0x20]
cmovae eax, dword [ebp - 0x202c]
push ecx
push 0x104
lea ecx, [ebp - 0x2014]
push ecx
push 0x5c4f10
push eax
push 0x5d311c
call fcn.00470de9
mov ebx, dword [ebp - 0x2320]
lea eax, [ebp - 0x2320]
mov ecx, dword [esi + 0x20]
add esp, 0x20
inc ebx
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0046f4e7
test eax, eax
je 0x44cb89
push ebx
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
je 0x44cb89
lea eax, [esi + 0x24]
cmp dword [eax + 0x14], 8
jb 0x44ca50
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x231c]
call fcn.004366a9
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x2014]
push eax
call fcn.0046ed66
lea ebx, [esi + 0x408]
push eax
mov ecx, ebx
call fcn.00404bb9
cmp dword [ebx + 0x14], 8
jb 0x44ca83
mov eax, dword [ebx]
jmp 0x44ca85
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44cb61
push str.Readme.Default
call fcn.0058edd4
pop ecx
push eax
push str.Readme.Default
lea ecx, [ebp - 0x202c]
call fcn.00404be0
cmp dword [edi + 0x14], 8
jb 0x44cabb
mov ecx, dword [edi]
jmp 0x44cabd
mov ecx, edi
cmp dword [ebp - 0x2018], 8
lea eax, [ebp - 0x202c]
push 1
push dword [esi + 0x20]
cmovae eax, dword [ebp - 0x202c]
push ecx
push 0x104
lea ecx, [ebp - 0x2014]
push ecx
push 0x5c4f10
push eax
push 0x5d311c
call fcn.00470de9
mov eax, dword [ebp - 0x2320]
add esp, 0x20
mov ecx, dword [esi + 0x20]
inc eax
mov dword [ebp - 0x2324], eax
lea eax, [ebp - 0x2320]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0046f4e7
test eax, eax
je 0x44cb61
push dword [ebp - 0x2324]
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
je 0x44cb61
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x2014]
push eax
call fcn.0046ed66
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44cb61
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x2014]
push eax
call fcn.0046ed66
push eax
mov ecx, ebx
call fcn.00404bb9
cmp dword [ebx + 0x14], 8
jb 0x44cb69
mov ebx, dword [ebx]
push ebx
push str.m_strFileReadme____1_s___n
push str.CInstLanguageSelector::SelectReadme
push 5
call fcn.00424dad
add esp, 0x10
lea ecx, [ebp - 0x231c]
call fcn.00437089
cmp dword [edi + 0x14], 8
jb 0x44cb91
mov edi, dword [edi]
xor ebx, ebx
lea eax, [ebp - 0x2014]
push ebx
push dword [esi + 0x20]
push edi
push 0x104
push eax
push 0x5c4f10
push str.ReadmeShortcut
push 0x5d311c
call fcn.00470de9
add esp, 0x20
cmp dword [esi + 0x418], ebx
jne 0x44cc5b
mov edi, dword [ebp - 0x2320]
lea eax, [ebp - 0x2320]
mov ecx, dword [esi + 0x20]
inc edi
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0046f4e7
test eax, eax
je 0x44cc5b
push edi
push eax
call fcn.00591dbe
pop ecx
pop ecx
test eax, eax
je 0x44cc5b
mov eax, dword [esi + 0x3c]
push str.Readme__ReadmeShortcut
push 0x5d311c
push 0xbb9
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
add esp, 0x10
mov esi, ebx
lea ecx, [ebp - 0x231c]
mov byte [ebp - 4], 1
call fcn.00436650
push ebx
push 1
lea ecx, [ebp - 0x2044]
call fcn.00404970
push ebx
push 1
lea ecx, [ebp - 0x202c]
call fcn.00404970
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058f6bb
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x20]
lea eax, [ebp - 0x2014]
push eax
call fcn.0046ed66
push eax
lea ecx, [esi + 0x420]
call fcn.00404bb9
xor esi, esi
inc esi
jmp 0x44cc12