Function at 0x43ee80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6c57
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x669404]
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 dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x78], esi
xor ebx, ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebx + 0x10]
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov edi, esp
push 0xdead003f
push 0xacbeef
lea eax, [ebp - 0x54]
push eax
call fcn.00404610
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x43eeed
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov ecx, dword [eax + 8]
mov dword [edi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0xc], edx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00406010
mov eax, 4
call fcn.00549c70
mov dword [ebp - 0x10], esp
mov eax, esp
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x43ef2a
mov dword [eax], 0xabab00ac
mov dword [ebp - 4], 0xffffffff
jmp 0x43ef48
cmp eax, ebx
je 0x43ef52
mov dword [eax], 0xcdcd00ac
mov dword [ebp - 0x78], 6
test byte [0x679728], 1
jne 0x43ef89
or dword [0x679728], 1
mov dword [ebp - 4], 3
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x78]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x43f0ca
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 4
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 5
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 6
lea edi, [ebp - 0x38]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x43efe6
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.004044f0
jmp 0x43eff4
push str.EnterFunction
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov edi, eax
mov byte [ebp - 4], 7
test byte [0x679728], 1
jne 0x43f036
or dword [0x679728], 1
mov byte [ebp - 4], 8
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 7
mov ecx, 0x6796dc
mov dword [ebp - 0x78], ecx
mov edx, dword [0x6796dc]
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 9
mov ecx, dword [0x679724]
cmp ecx, ebx
je 0x43f07c
cmp dword [edi + 0x14], 8
jb 0x43f061
mov eax, dword [edi]
jmp 0x43f063
mov eax, edi
mov edx, dword [ecx]
push 0xac
push str.SettingsManager_::SaveSettings
push str.SettingsSettingsManager.cpp
push eax
push 6
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 7
mov edx, dword [0x6796dc]
mov ecx, 0x6796dc
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x40], 8
jb 0x43f0a7
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 7
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
xor edx, edx
mov word [ebp - 0x54], dx
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x38]
push eax
call fcn.00419280
jmp 0x43f0cf
mov edi, 7
cmp dword [esi + 0x1f8], ebx
jne 0x43f350
lea eax, [esi + 0x54]
cmp dword [eax + 0x10], ebx
je 0x43f350
cmp dword [eax + 0x14], 8
jb 0x43f0ef
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
je 0x43f350
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x43f111
mov dword [eax], 0xcdcd00b0
mov dword [ebp - 0x78], 5
test byte [0x679728], 1
jne 0x43f148
or dword [0x679728], 1
mov dword [ebp - 4], 0xa
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x78]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
mov esi, 0xf
test al, al
je 0x43f226
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0xd
lea edi, [ebp - 0x38]
call fcn.004193b0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x43f1a6
push 0x2f
push str.Settings_havent_changed._Not_saving_them_again
mov ecx, eax
call fcn.004044f0
jmp 0x43f1b4
push str.Settings_havent_changed._Not_saving_them_again
push ecx
call fcn.004046b0
add esp, 8
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0xe
push 0xb0
push str.SettingsManager_::SaveSettings
push str.SettingsSettingsManager.cpp
push 5
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x40], 8
jb 0x43f200
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov word [ebp - 0x54], cx
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x38]
push edx
call fcn.00419280
xor ebx, ebx
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x43f233
mov dword [eax], 0xcdcd00b1
mov dword [ebp - 0x78], 6
test byte [0x679728], 1
jne 0x43f266
or dword [0x679728], 1
mov dword [ebp - 4], esi
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x78]
push eax
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x43f349
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 4], 0x10
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0x11
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x12
lea edi, [ebp - 0x38]
call fcn.004193b0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x43f2c1
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.004044f0
jmp 0x43f2cf
push str.ExitFunction_Ret:
push eax
call fcn.004046b0
add esp, 8
mov edx, str.True
call fcn.00418da0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x13
push 0xb1
push str.SettingsManager_::SaveSettings
push str.SettingsSettingsManager.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x40], 8
jb 0x43f325
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor eax, eax
mov word [ebp - 0x54], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
push ecx
call fcn.00419280
mov al, 1
jmp 0x43f663
push esi
call fcn.0043f690
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 4], 0x14
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x84], ebx
mov byte [ebp - 4], 0x15
mov edx, 1
mov word [ebp - 0xac], dx
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 4], 0x16
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
push 0xf
push str.GeneralSettings
lea ecx, [ebp - 0x30]
call fcn.00406180
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [esi + 0x1e8]
add edx, 0x10
push esi
lea ecx, [ebp - 0xac]
call fcn.0043fc20
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x1c], 8
jb 0x43f3f9
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov word [ebp - 0x54], cx
push 0xd
push str.LocalSettings
lea ecx, [ebp - 0x54]
call fcn.00406180
mov byte [ebp - 4], 0x18
lea edx, [ebp - 0x54]
push edx
mov edx, dword [esi + 0x1e8]
add edx, 0x20
push esi
lea ecx, [ebp - 0xac]
call fcn.0043fc20
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x40], 8
jb 0x43f454
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
xor ecx, ecx
mov word [ebp - 0x54], cx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
push 0xe
push str.ServerSettings
lea ecx, [ebp - 0x30]
call fcn.00406180
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x30]
push eax
mov edx, dword [esi + 0x1e8]
add edx, 0x30
push esi
lea ecx, [ebp - 0xac]
call fcn.0043fc20
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x1c], 8
jb 0x43f4af
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
xor edx, edx
mov word [ebp - 0x30], dx
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x60], ebx
xor eax, eax
mov word [ebp - 0x70], ax
mov byte [ebp - 4], 0x1a
push ebx
push 0xc
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0xac]
call fcn.004fb510
lea edx, [ebp - 0x70]
push edx
call fcn.00446f80
add esp, 4
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x70]
call fcn.004ab140
mov byte [ebp - 0x71], al
mov dword [esi + 0x1f8], ebx
mov eax, dword [ebp - 0x7c]
cmp eax, ebx
je 0x43f50b
mov dword [eax], 0xcdcd00c2
mov dword [ebp - 0x78], 6
test byte [0x679728], 1
jne 0x43f53c
or dword [0x679728], 1
mov byte [ebp - 4], 0x1b
call fcn.00418470
push 0x5ea290
call fcn.00546cf7
add esp, 4
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x78]
push ecx
mov edi, 0x6796d8
call fcn.00418b90
test al, al
je 0x43f627
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 0x1d
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0x1e
cmp byte [ebp - 0x71], bl
mov esi, str.True
jne 0x43f580
mov esi, str.False
lea edi, [ebp - 0x38]
call fcn.004193b0
mov edi, eax
mov eax, dword [edi + 0x1c]
cmp eax, ebx
jne 0x43f5a1
push 0x11
push str.ExitFunction_Ret:
mov ecx, edi
call fcn.004044f0
jmp 0x43f5af
push str.ExitFunction_Ret:
push eax
call fcn.004046b0
add esp, 8
mov edx, esi
mov esi, edi
call fcn.00418da0
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.00403c90
mov ebx, eax
mov byte [ebp - 4], 0x1f
push 0xc2
push str.SettingsManager_::SaveSettings
push str.SettingsSettingsManager.cpp
push 6
call fcn.00418640
mov ecx, eax
call fcn.00418c40
mov byte [ebp - 4], 0x1e
cmp dword [ebp - 0x40], 8
jb 0x43f604
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x40], 7
mov dword [ebp - 0x44], 0
xor ecx, ecx
mov word [ebp - 0x54], cx
mov byte [ebp - 4], 0x1a
lea edx, [ebp - 0x38]
push edx
call fcn.00419280
xor ebx, ebx
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x5c], 8
jb 0x43f63e
mov eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], ebx
xor ecx, ecx
mov word [ebp - 0x70], cx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.004fa590
mov al, byte [ebp - 0x71]
lea esp, [ebp - 0xbc]
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.00546bdc
mov esp, ebp
pop ebp
ret