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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c5e11
mov eax, dword fs:[0]
push eax
sub esp, 0x1d0
mov eax, dword [0x100eb6ac]
xor eax, esp
mov dword [esp + 0x1c8], eax
push ebx
push esi
push edi
mov eax, dword [0x100eb6ac]
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 0x1001c996
xor al, al
jmp 0x1001d0d3
push eax
call fcn.10020940
push esi
lea ebx, [esp + 0x1a4]
call fcn.1007c4a0
add esp, 4
mov dword [esp + 0x1e8], 0
cmp dword [eax + 0x10], 0
jne 0x1001c9c1
xor al, al
jmp 0x1001c9d6
cmp dword [eax + 0x14], 8
jb 0x1001c9c9
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 0x1001ca00
mov edx, dword [esp + 0x1a0]
push edx
call fcn.1009c0c0
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 0x1001ca9d
push esi
lea ebx, [esp + 0x1a4]
mov byte [0x100f0594], 1
call fcn.1007c4a0
add esp, 4
mov dword [esp + 0x1e8], 1
mov ecx, eax
call fcn.1006e390
mov edx, dword [esp + 0x18]
mov byte [edx + 0x14], al
mov dword [esp + 0x1e8], 0xffffffff
cmp dword [esp + 0x1b4], 8
jb 0x1001ca78
mov eax, dword [esp + 0x1a0]
push eax
call fcn.1009c0c0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1b4], 7
mov dword [esp + 0x1b0], 0
mov word [esp + 0x1a0], cx
jmp 0x1001d0cc
mov dword [esp + 0x1b0], eax
xor edx, edx
push eax
mov eax, 0x100d7118
lea esi, [esp + 0x1a4]
mov dword [esp + 0x1b8], edi
mov word [esp + 0x1a4], dx
call fcn.10019760
mov dword [esp + 0x1e8], 2
lea eax, [esp + 0xd0]
push eax
mov edx, esi
lea ecx, [esp + 0x190]
call fcn.100710c0
or ebx, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], ebx
cmp dword [esp + 0x1b4], 8
jb 0x1001cb0f
mov ecx, dword [esp + 0x1a0]
push ecx
call fcn.1009c0c0
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.10016880
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 0x1001cb82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001cb82
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 0x1001ccef
push str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call esi
lea ecx, [esp + 0xdc]
push ecx
call fcn.1001f0a0
mov dword [esp + 0x1e8], 3
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x1001cba6
mov eax, dword [eax]
cmp dword [esp + 0x140], 0
jne 0x1001cd14
push 0x40
push 1
push eax
call fcn.1009b913
add esp, 0xc
test eax, eax
je 0x1001cd14
push 1
push eax
lea ecx, [esp + 0xf4]
call fcn.100169b0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0xf0]
push eax
call fcn.10020420
mov byte [esp + 0x1e8], 4
push eax
call fcn.1001e180
add esp, 4
push eax
lea ecx, [esp + 0xf0]
call fcn.10016ba0
mov byte [esp + 0x1e8], 3
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x1001cc63
push 0
lea ecx, [esp + 0x14]
call fcn.1009b6fe
mov byte [esp + 0x1e8], 5
mov eax, dword [ebx + 4]
test eax, eax
je 0x1001cc3b
cmp eax, 0xffffffff
jae 0x1001cc3b
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.1009b726
and esi, ebx
je 0x1001cc63
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.100021a0
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 0x1001cd45
mov dword [esp + 0x1e8], ebx
lea ecx, [esp + 0x144]
call fcn.1001f1e0
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 0x1001d0c4
cmp eax, 0x102
jne 0x1001cb82
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 0x1001d0cc
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 0x1001cd38
or eax, 4
push 0
push eax
call fcn.100021a0
jmp 0x1001cc90
lea edx, [esp + 0x84]
mov ebx, vtable.std::ios_base.0
mov dword [esp + 0x24], 0x100cec88
mov dword [esp + 0x34], 0x100ced38
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.1001fd50
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.10019560
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.1001e6f0
lea ecx, [esp + 0xec]
call fcn.10016920
test eax, eax
jne 0x1001ce34
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 0x1001ce2d
or eax, 4
push esi
push eax
call fcn.100021a0
lea edx, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x28]
call fcn.1001f3f0
mov byte [esp + 0x1e8], 0xd
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c0]
call fcn.1006cb50
add esp, 4
cmp dword [esp + 0x1cc], esi
jne 0x1001cf29
mov ecx, dword [esp + 0x18]
mov byte [ecx + 0x14], 1
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x1001ce98
mov edx, dword [esp + 0x1bc]
push edx
call fcn.1009c0c0
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.1001f350
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.1009b22d
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.1001f1e0
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 0x1001d0bd
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x1bc]
mov edx, esi
call fcn.10020a50
mov byte [esi + 0x14], al
mov byte [esp + 0x1e8], 0xc
cmp dword [esp + 0x1d0], 0x10
jb 0x1001cf60
mov ecx, dword [esp + 0x1bc]
push ecx
call fcn.1009c0c0
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 0x1001cfd4
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
push eax
call fcn.1009c0c0
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.100123c0
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.1009b22d
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1e8], esi
lea ecx, [esp + 0x144]
call fcn.1001f1e0
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.1009b22d
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.1009c0cb
mov esp, ebp
pop ebp
ret 4