Function at 0x4668e0
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c5eb1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4eb6b8]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4eb6b8]
xor eax, esp
push eax
lea eax, [esp + 0x1e0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
mov dword [esp + 0x20], 0
cmp dword [esi + 0x10], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], ecx
jne 0x466946
xor al, al
jmp 0x467083
push eax
call fcn.00468ed0
push esi
lea ebx, [esp + 0x1a4]
call fcn.0046f050
add esp, 4
mov dword [esp + 0x1e8], 0
cmp dword [eax + 0x10], 0
jne 0x466971
xor al, al
jmp 0x466986
cmp dword [eax + 0x14], 8
jb 0x466979
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
test al, al
sete bl
mov dword [esp + 0x1e8], 0xffffffff
cmp dword [esp + 0x1b4], 8
jb 0x4669b0
mov edx, dword [esp + 0x1a0]
push edx
call fcn.0049b30a
add esp, 4
xor eax, eax
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], eax
mov word [esp + 0x1a0], cx
test bl, bl
je 0x466a4d
push esi
lea ebx, [esp + 0x1a4]
mov byte [0x4f02cc], 1
call fcn.0046f050
add esp, 4
mov dword [esp + 0x1e8], 1
mov ecx, eax
call fcn.0047c430
mov edx, dword [esp + 0x18]
mov byte [edx + 0x14], al
mov dword [esp + 0x1e8], 0xffffffff
cmp dword [esp + 0x1b4], 8
jb 0x466a28
mov eax, dword [esp + 0x1a0]
push eax
call fcn.0049b30a
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1b4], 7
mov dword [esp + 0x1b0], 0
mov word [esp + 0x1a0], cx
jmp 0x46707c
mov dword [esp + 0x1b0], eax
xor edx, edx
push eax
mov eax, 0x4d5f38
lea esi, [esp + 0x1a4]
mov dword [esp + 0x1b8], edi
mov word [esp + 0x1a4], dx
call fcn.00415f60
mov dword [esp + 0x1e8], 2
lea eax, [esp + 0xd0]
push eax
mov edx, esi
lea ecx, [esp + 0x190]
call fcn.00487ac0
or ebx, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], ebx
cmp dword [esp + 0x1b4], 8
jb 0x466abf
mov ecx, dword [esp + 0x1a0]
push ecx
call fcn.0049b30a
add esp, 4
mov eax, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1b4], edi
mov dword [esp + 0x1b0], 0
mov word [esp + 0x1a0], dx
call fcn.00410cd0
push eax
push 0
push 0
lea eax, [esp + 0xdc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x466b32
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x466b32
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FXConfigImpl::read_Parse_Mutex_already_EXISTED
call esi
push 0xbb8
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x466c9f
push str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call esi
lea ecx, [esp + 0xdc]
push ecx
call fcn.0041e320
mov dword [esp + 0x1e8], 3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x466b56
mov eax, dword [eax]
cmp dword [esp + 0x140], 0
jne 0x466cc4
push 0x40
push 1
push eax
call fcn.0049b19d
add esp, 0xc
test eax, eax
je 0x466cc4
push 1
push eax
lea ecx, [esp + 0xf4]
call fcn.0041ed50
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xf0]
push eax
call fcn.0041f110
mov byte [esp + 0x1e8], 4
push eax
call fcn.0041f3e0
add esp, 4
push eax
lea ecx, [esp + 0xf0]
call fcn.0041ef40
mov byte [esp + 0x1e8], 3
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x466c13
push 0
lea ecx, [esp + 0x14]
call fcn.0049a280
mov byte [esp + 0x1e8], 5
mov eax, dword [ebx + 4]
test eax, eax
je 0x466beb
cmp eax, 0xffffffff
jae 0x466beb
dec eax
mov dword [ebx + 4], eax
mov esi, dword [ebx + 4]
neg esi
sbb esi, esi
not esi
mov byte [esp + 0x1e8], 3
lea ecx, [esp + 0x10]
call fcn.0049a2a8
and esi, ebx
je 0x466c13
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [esp + 0xdc]
mov ecx, dword [edx + 4]
mov eax, dword [esp + ecx + 0x114]
lea ecx, [esp + ecx + 0xdc]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push 0
push eax
call fcn.004020e0
or ebx, 0xffffffff
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x140], 0
jne 0x466cf5
mov dword [esp + 0x1e8], ebx
lea ecx, [esp + 0x144]
call fcn.0041e5e0
lea eax, [esp + 0x144]
mov dword [esp + 0x10], eax
mov dword [esp + method.std::basic_ios_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x1e8], ebx
mov ecx, eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
push ecx
jmp 0x467074
cmp eax, 0x102
jne 0x466b32
push str.FXConfigImpl::read_TIME_OUT.
call esi
push edi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x46707c
mov ecx, dword [esp + 0xdc]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0xe8]
lea ecx, [esp + ecx + 0xdc]
or eax, 2
cmp dword [ecx + 0x38], 0
jne 0x466ce8
or eax, 4
push 0
push eax
call fcn.004020e0
jmp 0x466c40
lea edx, [esp + 0x84]
mov ebx, vtable.std::ios_base.0
mov dword [esp + 0x24], 0x4d7ef4
mov dword [esp + 0x34], 0x4cda28
mov dword [esp + 0x10], edx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x1e8], 7
mov edi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x84], edi
mov byte [esp + 0x1e8], 8
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], 1
call fcn.004686a0
mov dword [esp + 0x1e8], 9
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + eax + 0x24], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x10], ecx
call fcn.00415d60
mov byte [esp + 0x1e8], 0xa
xor esi, esi
mov dword [esp + 0x3c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov byte [esp + 0x1e8], 0xc
lea edx, [esp + 0xec]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00467620
lea ecx, [esp + 0xec]
call fcn.0041ecc0
test eax, eax
jne 0x466de4
mov ecx, dword [esp + 0xdc]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0xe8]
lea ecx, [esp + ecx + 0xdc]
or eax, 2
cmp dword [ecx + 0x38], esi
jne 0x466ddd
or eax, 4
push esi
push eax
call fcn.004020e0
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x28]
call fcn.00467c10
mov byte [esp + 0x1e8], 0xd
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c0]
call fcn.00487070
add esp, 4
cmp dword [esp + 0x1cc], esi
jne 0x466ed9
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x466e48
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0049b30a
add esp, 4
mov dword [esp + 0x1d0], 0xf
mov dword [esp + 0x1cc], esi
mov byte [esp + 0x1bc], 0
mov byte [esp + 0x1e8], 3
lea ecx, [esp + 0x84]
call fcn.00467b70
lea eax, [esp + 0x84]
mov dword [esp + 0x10], eax
mov dword [esp + 0x84], edi
mov byte [esp + 0x1e8], 3
mov ecx, eax
push ecx
mov dword [esp + 0x88], ebx
call fcn.0049aeac
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.0041e5e0
lea edx, [esp + 0x144]
mov dword [esp + 0x10], edx
mov dword [esp + 0x144], edi
mov dword [esp + 0x1e8], esi
mov eax, edx
push eax
jmp 0x46706d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1bc]
mov edx, esi
call fcn.00468fe0
mov byte [esi + 0x14], al
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x466f10
mov ecx, dword [esp + 0x1bc]
push ecx
call fcn.0049b30a
add esp, 4
xor esi, esi
mov dword [esp + 0x1d0], 0xf
mov dword [esp + 0x1cc], esi
mov byte [esp + 0x1bc], 0
mov byte [esp + 0x1e8], 3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x10], edx
mov dword [esp + ecx + 0x24], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x1e8], 0x10
lea edx, [esp + 0x3c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x3c], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x1e8], 0x12
test byte [esp + 0x7c], 1
je 0x466f84
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
push eax
call fcn.0049b30a
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [ecx], esi
mov edx, dword [esp + 0x5c]
mov dword [edx], esi
mov eax, dword [esp + 0x6c]
mov dword [eax], esi
mov ecx, dword [esp + 0x50]
mov dword [ecx], esi
mov edx, dword [esp + 0x60]
mov dword [edx], esi
mov eax, dword [esp + 0x70]
mov dword [eax], esi
and dword [esp + 0x7c], 0xfffffffe
mov dword [esp + 0x78], esi
mov byte [esp + 0x1e8], 0x10
lea ecx, [esp + 0x3c]
call fcn.00410550
mov byte [esp + 0x1e8], 3
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + eax + 0x24], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov byte [esp + 0x1e8], 0x13
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x34], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov byte [esp + 0x1e8], 3
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x84]
mov dword [esp + ecx + 0x24], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], edx
mov dword [esp + 0x84], edi
mov byte [esp + 0x1e8], 3
mov eax, edx
push eax
mov dword [esp + 0x88], ebx
call fcn.0049aeac
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.0041e5e0
lea ecx, [esp + 0x144]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x144], edi
mov dword [esp + 0x1e8], esi
mov edx, ecx
push edx
mov dword [esp + 0x148], ebx
call fcn.0049aeac
add esp, 4
mov eax, dword [esp + 0x18]
mov al, byte [eax + 0x14]
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1c8]
xor ecx, esp
call fcn.0049b315
mov esp, ebp
pop ebp
ret 4