Function at 0x410f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e878d
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x6780cc]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x158], ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x164], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x139], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], cx
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
push ecx
push eax
push esi
call fcn.0040fc50
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push dword [ebp - 0x20]
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x78]
push eax
call fcn.00404650
push 1
push 0x647538
lea ecx, [ebp - 0x30]
call fcn.00406270
cmp dword [ebx + 0x3c], 8
lea edx, [ebx + 0x28]
jb 0x411047
mov edx, dword [edx]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411050
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00406270
push 0x11
push str._stringTable.zdct
lea ecx, [ebp - 0x30]
call fcn.00406270
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str.Dictionary_Path:__s
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x1e
call fcn.004090b0
add esp, 0x1c
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
mov dword [ebp - 0x38], 0
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
mov dword [ebp - 0x34], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4110d0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x48]
call fcn.00403460
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411115
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor bl, bl
jmp 0x411117
mov bl, 1
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x411151
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411147
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119e6
push ecx
push edx
call fcn.005a5f31
add esp, 8
test bl, bl
je 0x411589
push str.Error_finding_locale_language_dictionary_file._Defaulting_to_english.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x32
call fcn.004090b0
push str.Searching_for_en_US_locale_dictionary.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x32
call fcn.004090b0
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x30]
add esp, 0x30
test eax, eax
jne 0x4111b7
cmp dword [ebp - 0x64], 8
lea eax, [ebp - 0x78]
push dword [ebp - 0x68]
cmovae eax, dword [ebp - 0x78]
push eax
jmp 0x4111c8
cmp ecx, esi
je 0x4111cd
cmp dword [esi + 0x14], 8
jb 0x4111c3
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.00404650
mov esi, 7
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], esi
mov word [ebp - 0x48], ax
cmp byte [ebp + 0x18], 1
mov byte [ebp - 4], 2
jne 0x411781
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x60]
call fcn.00408fe0
mov ecx, dword [ebp - 0x158]
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 3
push dword [ebp - 0x138]
push eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x15c]
call fcn.0040fe00
push 1
push 0x647538
lea ecx, [ebp - 0x60]
call fcn.00406270
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
push dword [ebp - 0x38]
cmovae eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
push eax
call fcn.00406270
push 0x11
push str._stringTable.zdct
lea ecx, [ebp - 0x60]
call fcn.00406270
cmp dword [ebp - 0x4c], 8
lea edx, [ebp - 0x60]
mov dword [ebp - 0x154], 0
cmovae edx, dword [ebp - 0x60]
mov ecx, edx
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411290
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x154]
call fcn.00403460
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4112ea
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor bl, bl
jmp 0x4112ec
mov bl, 1
mov ecx, dword [ebp - 0x140]
cmp ecx, 8
jb 0x41132c
mov edx, dword [ebp - 0x154]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411322
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119eb
push ecx
push edx
call fcn.005a5f31
add esp, 8
test bl, bl
je 0x4114f6
push str.Error_finding_best_Locale_dictionary_file.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x32
call fcn.004090b0
add esp, 0x18
lea ecx, [ebp - 0x30]
push 1
push 0x647538
call fcn.00406270
push 5
push str.en_US
lea ecx, [ebp - 0x30]
call fcn.00406270
push 0x11
push str._stringTable.zdct
lea ecx, [ebp - 0x30]
call fcn.00406270
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
mov dword [ebp - 0x154], 0
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4113b2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x154]
call fcn.00403460
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41140c
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor bl, bl
jmp 0x41140e
mov bl, 1
mov ecx, dword [ebp - 0x140]
cmp ecx, 8
jb 0x41144e
mov edx, dword [ebp - 0x154]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411444
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119f0
push ecx
push edx
call fcn.005a5f31
add esp, 8
test bl, bl
je 0x41150d
push str.Error_finding_english_dictionary_file.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x32
call fcn.004090b0
mov ecx, dword [ebp - 0x4c]
add esp, 0x18
cmp ecx, 8
jb 0x4114b3
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4114a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 8
jb 0x4118a7
mov edx, dword [ebp - 0x48]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4114e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
jmp 0x4118a7
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x30]
push eax
call fcn.00404650
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
cmp ecx, 8
jb 0x41154b
mov edx, dword [ebp - 0x60]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411541
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov esi, dword [ebp - 0x34]
mov byte [ebp - 4], 1
cmp esi, 8
jb 0x411589
mov ecx, dword [ebp - 0x48]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x41157f
mov ecx, dword [eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push esi
push ecx
call fcn.005a5f31
add esp, 8
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 0x6478a8
cmovae eax, dword [ebp - 0x30]
push eax
lea eax, [ebp - 0x138]
mov dword [ebp - 0x138], 0
push eax
call fcn.005c23f4
add esp, 0xc
lea eax, [ebp - 0x134]
push 0xb8
push 0
push eax
call fcn.005b9e00
mov esi, dword [ebp - 0x138]
add esp, 0xc
mov dword [ebp - 0x134], 0x647994
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov byte [ebp - 4], 5
lea eax, [ebp - 0x124]
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x160], 1
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xc4], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0xc8], 0x58
movlpd qword [ebp - 0x12c], xmm0
call fcn.00413c20
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x138], eax
lea ecx, [ebp - 0x124]
call fcn.00413b40
push 0
push esi
lea ecx, [ebp - 0x124]
mov dword [ebp - method.std::basic_filebuf_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
call fcn.00413800
mov ecx, dword [ebp - 0x164]
lea eax, [ebp - 0x134]
push eax
mov byte [ebp - 4], 8
call fcn.0044df50
lea ecx, [ebp - 0x124]
call fcn.00413910
test eax, eax
jne 0x4116e1
mov eax, dword [ebp - 0x134]
lea ecx, [ebp - 0x134]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0040f170
push str.Dictionary_reading_successful.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x1e
call fcn.004090b0
mov eax, dword [ebp - 0x134]
add esp, 0x18
mov bl, 1
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x138], eax
lea ecx, [ebp - 0x124]
call fcn.00412cd0
mov eax, dword [ebp - 0x134]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x134]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x138], eax
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 9
push eax
mov dword [ebp - 0xc4], vtable.std::ios_base.0
call fcn.005a78df
add esp, 4
jmp 0x41195a
push 1
push 0x647538
lea ecx, [ebp - 0x30]
call fcn.00406270
push 5
push str.en_US
lea ecx, [ebp - 0x30]
call fcn.00406270
push 0x11
push str._stringTable.zdct
lea ecx, [ebp - 0x30]
call fcn.00406270
cmp dword [ebp - 0x1c], 8
lea edx, [ebp - 0x30]
mov dword [ebp - 0x154], 0
cmovae edx, dword [ebp - 0x30]
mov ecx, edx
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4117e0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x154]
call fcn.00403460
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41183a
cmp dword [ebp - 0x140], 8
lea eax, [ebp - 0x154]
cmovae eax, dword [ebp - 0x154]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
xor bl, bl
jmp 0x41183c
mov bl, 1
mov ecx, dword [ebp - 0x140]
cmp ecx, 8
jb 0x41187c
mov edx, dword [ebp - 0x154]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411872
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119f5
push ecx
push edx
call fcn.005a5f31
add esp, 8
test bl, bl
je 0x41154e
push str.Error_finding_english_dictionary_file.
push 0x6424c4
push 0x6424c4
push str.LocalizationManager
push str.C3App
push 0x32
call fcn.004090b0
add esp, 0x18
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x4118e1
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4118d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x41191b
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411911
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
xor al, al
jmp 0x4119c8
mov ecx, dword [ebp - 0x64]
cmp ecx, 8
jb 0x411990
mov edx, dword [ebp - 0x78]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x411986
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov ecx, dword [ebp - 0x1c]
cmp ecx, 8
jb 0x4119c6
mov edx, dword [ebp - 0x30]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4119bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4119fa
push ecx
push edx
call fcn.005a5f31
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.005a5aba
mov esp, ebp
pop ebp
ret 0x14
call fcn.005bd02a
call fcn.005bd02a
call fcn.005bd02a
call fcn.005bd02a
call fcn.005bd02a
int3