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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4bd8e1
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x4ff1a0]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x4ff1a0]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
cmp dword [esi + 0x10], ebx
jne 0x407213
xor al, al
jmp 0x407961
push eax
call fcn.0040b490
lea edx, [esp + 0x1a8]
push esi
push edx
call fcn.00418a60
add esp, 8
mov dword [esp + 0x1f0], ebx
mov esi, 8
cmp dword [eax + 0x10], ebx
jne 0x40723f
xor al, al
jmp 0x407253
cmp dword [eax + 0x14], esi
jb 0x407246
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
sete al
cmp al, bl
sete byte [esp + 0x17]
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1bc], esi
jb 0x40727e
mov eax, dword [esp + 0x1a8]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], cx
cmp byte [esp + 0x17], bl
je 0x407317
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x1ac]
push eax
mov byte [0x502e1c], 1
call fcn.00418a60
add esp, 8
mov dword [esp + 0x1f0], 1
mov ecx, eax
call fcn.00421d90
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], al
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1bc], esi
jb 0x4072fa
mov edx, dword [esp + 0x1a8]
push edx
call fcn.00490458
add esp, 4
xor eax, eax
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], ax
jmp 0x40795a
xor ecx, ecx
push ebx
mov word [esp + 0x1ac], cx
push 0x4c42e8
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x1c4], edi
mov dword [esp + 0x1c0], ebx
call fcn.0040e680
mov dword [esp + 0x1f0], 2
lea edx, [esp + 0xd8]
push edx
lea edx, [esp + 0x1ac]
lea ecx, [esp + 0x198]
call fcn.0042c920
add esp, 4
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1bc], esi
jb 0x40738e
mov eax, dword [esp + 0x1a8]
push eax
call fcn.00490458
add esp, 4
xor ecx, ecx
mov word [esp + 0x1a8], cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1bc], edi
mov dword [esp + 0x1b8], ebx
call fcn.0040f1e0
push eax
push ebx
push ebx
lea edx, [esp + 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x4073ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4073ff
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FXConfigImpl::read_Parse_Mutex_already_EXISTED
call edi
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x40756e
push str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call edi
lea eax, [esp + 0xe4]
push eax
call fcn.00408a50
mov dword [esp + 0x1f0], 3
mov eax, dword [esp + 0x20]
cmp dword [eax + 0x14], 0x10
jb 0x407423
mov eax, dword [eax]
cmp dword [esp + 0x148], ebx
jne 0x407593
push 0x40
push 1
push eax
call fcn.004902f7
add esp, 0xc
cmp eax, ebx
je 0x407593
push 1
push eax
lea ecx, [esp + 0xfc]
call fcn.00406230
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0xf8]
push edx
call fcn.0040abb0
mov byte [esp + 0x1f0], 4
push eax
call fcn.004081b0
add esp, 4
push eax
lea ecx, [esp + 0xf8]
call fcn.00406420
mov byte [esp + 0x1f0], 3
mov edi, dword [esp + 0x24]
cmp edi, ebx
je 0x4074e4
push ebx
lea ecx, [esp + 0x14]
call fcn.0048f6c1
mov byte [esp + 0x1f0], 5
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x4074b6
cmp eax, 0xffffffff
jae 0x4074b6
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
and esi, edi
mov byte [esp + 0x1f0], 3
lea ecx, [esp + 0x10]
call fcn.0048f6e9
cmp esi, ebx
je 0x4074e0
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0xe4]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0x11c]
lea ecx, [esp + ecx + 0xe4]
neg eax
sbb eax, eax
and eax, 0xfffffffc
add eax, 4
push ebx
push eax
call fcn.0040dbb0
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x148], ebx
jne 0x4075bf
or esi, 0xffffffff
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.00408b90
lea edx, [esp + 0x14c]
mov dword [esp + 0x10], edx
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 + 0x1f0], esi
mov eax, edx
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
push eax
jmp 0x407952
cmp eax, 0x102
jne 0x4073ff
push str.FXConfigImpl::read_TIME_OUT.
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40795a
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0xf0]
lea ecx, [esp + ecx + 0xe4]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x407506
or eax, 4
jmp 0x407506
lea ecx, [esp + 0x8c]
mov edi, vtable.std::ios_base.0
mov dword [esp + 0x2c], 0x4c45e4
mov dword [esp + 0x3c], 0x4c4fe4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x8c], edi
mov byte [esp + 0x1f0], 7
mov esi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x8c], esi
mov byte [esp + 0x1f0], 8
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x30], 1
call fcn.0040a100
mov dword [esp + 0x1f0], 9
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x44]
mov ecx, eax
mov dword [esp + edx + 0x2c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x10], eax
call fcn.0040a6a0
mov byte [esp + 0x1f0], 0xa
mov dword [esp + 0x44], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov byte [esp + 0x1f0], 0xd
lea ecx, [esp + 0xf4]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.004084b0
lea ecx, [esp + 0xf4]
call fcn.004061a0
test eax, eax
jne 0x4076b4
mov eax, dword [esp + 0xe4]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0xf0]
lea ecx, [esp + ecx + 0xe4]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x4076ad
or eax, 4
push ebx
push eax
call fcn.0040dbb0
lea ecx, [esp + 0x1c4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00408dd0
mov byte [esp + 0x1f0], 0xe
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c4]
push edx
call fcn.004303b0
add esp, 4
cmp dword [esp + 0x1d4], ebx
jne 0x4077ac
mov eax, dword [esp + 0x18]
mov byte [eax + 0x14], 1
mov byte [esp + 0x1f0], 0xd
cmp dword [esp + 0x1d8], 0x10
jb 0x407718
mov ecx, dword [esp + 0x1c4]
push ecx
call fcn.00490458
add esp, 4
mov dword [esp + 0x1d8], 0xf
mov dword [esp + 0x1d4], ebx
mov byte [esp + 0x1c4], bl
mov byte [esp + 0x1f0], 3
lea ecx, [esp + 0x8c]
call fcn.00408d30
lea edx, [esp + 0x8c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x8c], esi
mov byte [esp + 0x1f0], 3
mov eax, edx
push eax
mov dword [esp + 0x90], edi
call fcn.0048fc10
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.00408b90
lea ecx, [esp + 0x14c]
mov dword [esp + 0x10], ecx
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 + 0x1f0], esi
mov edx, ecx
push edx
jmp 0x40794b
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1c4]
mov edx, esi
call fcn.0040b5a0
mov byte [esi + 0x14], al
mov byte [esp + 0x1f0], 0xd
cmp dword [esp + 0x1d8], 0x10
jb 0x4077e3
mov eax, dword [esp + 0x1c4]
push eax
call fcn.00490458
add esp, 4
mov dword [esp + 0x1d8], 0xf
mov dword [esp + 0x1d4], ebx
mov byte [esp + 0x1c4], bl
mov byte [esp + 0x1f0], 3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x10], ecx
mov dword [esp + eax + 0x2c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x1f0], 0x11
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x44], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x1f0], 0x13
test byte [esp + 0x84], 1
je 0x407857
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
push eax
call fcn.00490458
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [eax], ebx
mov ecx, dword [esp + 0x64]
mov dword [ecx], ebx
mov edx, dword [esp + 0x74]
mov dword [edx], ebx
mov eax, dword [esp + 0x58]
mov dword [eax], ebx
mov ecx, dword [esp + 0x68]
mov dword [ecx], ebx
mov edx, dword [esp + 0x78]
mov dword [edx], ebx
and dword [esp + 0x84], 0xfffffffe
mov dword [esp + 0x80], ebx
mov byte [esp + 0x1f0], 0x11
lea ecx, [esp + 0x44]
call fcn.0040e410
mov byte [esp + 0x1f0], 3
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
lea eax, [esp + 0x44]
mov dword [esp + 0x10], eax
mov dword [esp + edx + 0x2c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov byte [esp + 0x1f0], 0x14
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x3c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov byte [esp + 0x1f0], 3
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x8c]
mov ebx, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + eax + 0x2c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x8c], ebx
mov byte [esp + 0x1f0], 3
mov edx, ecx
push edx
mov dword [esp + 0x90], edi
call fcn.0048fc10
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.00408b90
lea eax, [esp + 0x14c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x1f0], esi
mov ecx, eax
push ecx
mov dword [esp + 0x150], edi
call fcn.0048fc10
add esp, 4
mov edx, dword [esp + 0x18]
mov al, byte [edx + 0x14]
mov ecx, dword [esp + 0x1e8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.004911d1
mov esp, ebp
pop ebp
ret 4