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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a2ed1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x4bf6bc]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x4bf6bc]
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 0x458a66
xor al, al
jmp 0x4591a3
push eax
call fcn.0045b8b0
push esi
lea ebx, [esp + 0x1a4]
call fcn.00468940
add esp, 4
mov dword [esp + 0x1e8], 0
cmp dword [eax + 0x10], 0
jne 0x458a91
xor al, al
jmp 0x458aa6
cmp dword [eax + 0x14], 8
jb 0x458a99
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 0x458ad0
mov edx, dword [esp + 0x1a0]
push edx
call fcn.0047bd91
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 0x458b6d
push esi
lea ebx, [esp + 0x1a4]
mov byte [0x4c3c64], 1
call fcn.00468940
add esp, 4
mov dword [esp + 0x1e8], 1
mov ecx, eax
call fcn.0045d3a0
mov edx, dword [esp + 0x18]
mov byte [edx + 0x14], al
mov dword [esp + 0x1e8], 0xffffffff
cmp dword [esp + 0x1b4], 8
jb 0x458b48
mov eax, dword [esp + 0x1a0]
push eax
call fcn.0047bd91
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1b4], 7
mov dword [esp + 0x1b0], 0
mov word [esp + 0x1a0], cx
jmp 0x45919c
mov dword [esp + 0x1b0], eax
xor edx, edx
push eax
mov eax, 0x4a7b2c
lea esi, [esp + 0x1a4]
mov dword [esp + 0x1b8], edi
mov word [esp + 0x1a4], dx
call fcn.00408600
mov dword [esp + 0x1e8], 2
lea eax, [esp + 0xd0]
push eax
mov edx, esi
lea ecx, [esp + 0x190]
call fcn.00460dc0
or ebx, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], ebx
cmp dword [esp + 0x1b4], 8
jb 0x458bdf
mov ecx, dword [esp + 0x1a0]
push ecx
call fcn.0047bd91
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.00405920
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 0x458c52
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x458c52
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 0x458dbf
push str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call esi
lea ecx, [esp + 0xdc]
push ecx
call fcn.0040df60
mov dword [esp + 0x1e8], 3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x458c76
mov eax, dword [eax]
cmp dword [esp + 0x140], 0
jne 0x458de4
push 0x40
push 1
push eax
call fcn.0047bcab
add esp, 0xc
test eax, eax
je 0x458de4
push 1
push eax
lea ecx, [esp + 0xf4]
call fcn.0040ea60
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xf0]
push eax
call fcn.0040f8e0
mov byte [esp + 0x1e8], 4
push eax
call fcn.00410d60
add esp, 4
push eax
lea ecx, [esp + 0xf0]
call fcn.0040ec50
mov byte [esp + 0x1e8], 3
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x458d33
push 0
lea ecx, [esp + 0x14]
call fcn.0047b456
mov byte [esp + 0x1e8], 5
mov eax, dword [ebx + 4]
test eax, eax
je 0x458d0b
cmp eax, 0xffffffff
jae 0x458d0b
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.0047b47e
and esi, ebx
je 0x458d33
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.00402030
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 0x458e15
mov dword [esp + 0x1e8], ebx
lea ecx, [esp + 0x144]
call fcn.0040e220
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 0x459194
cmp eax, 0x102
jne 0x458c52
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 0x45919c
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 0x458e08
or eax, 4
push 0
push eax
call fcn.00402030
jmp 0x458d60
lea edx, [esp + 0x84]
mov ebx, vtable.std::ios_base.0
mov dword [esp + 0x24], 0x4b1f0c
mov dword [esp + 0x34], 0x4b1f14
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.0045aa80
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.00408370
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.00459a60
lea ecx, [esp + 0xec]
call fcn.0040e9d0
test eax, eax
jne 0x458f04
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 0x458efd
or eax, 4
push esi
push eax
call fcn.00402030
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x28]
call fcn.0045a0e0
mov byte [esp + 0x1e8], 0xd
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c0]
call fcn.0046b3d0
add esp, 4
cmp dword [esp + 0x1cc], esi
jne 0x458ff9
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x458f68
mov edx, dword [esp + 0x1bc]
push edx
call fcn.0047bd91
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.0045a040
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.0047af85
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.0040e220
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 0x45918d
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1bc]
mov edx, esi
call fcn.0045b9c0
mov byte [esi + 0x14], al
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x459030
mov ecx, dword [esp + 0x1bc]
push ecx
call fcn.0047bd91
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 0x4590a4
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
push eax
call fcn.0047bd91
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.00405230
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.0047af85
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.0040e220
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.0047af85
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.0047bd9c
mov esp, ebp
pop ebp
ret 4