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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e1fa7
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x1010e07c]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push esi
push edi
mov eax, dword [0x1010e07c]
xor eax, esp
push eax
lea eax, [esp + 0x1e8]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], eax
cmp dword [edi + 0x10], ebx
jne 0x10081ee4
xor al, al
jmp 0x100826a4
call fcn.10084000
lea ecx, [esp + 0x1a8]
push edi
push ecx
call fcn.1005ede0
add esp, 8
mov dword [esp + 0x1f0], ebx
cmp dword [eax + 0x10], ebx
jne 0x10081f0a
xor al, al
jmp 0x10081f1f
cmp dword [eax + 0x14], 8
jb 0x10081f12
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], 8
jb 0x10081f4b
mov edx, dword [esp + 0x1a8]
push edx
call fcn.100b2678
add esp, 4
xor eax, eax
mov esi, 7
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], ax
lea ecx, [esp + 0x1a8]
cmp byte [esp + 0x17], bl
je 0x10081fe0
push edi
push ecx
mov byte [0x10112d94], 1
call fcn.1005ede0
mov dword [esp + 0x1f8], 1
push eax
call fcn.10067490
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov byte [edx + 0x14], al
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1bc], 8
jb 0x10081fc3
mov eax, dword [esp + 0x1a8]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], cx
jmp 0x1008269d
push ebx
xor edx, edx
push 0x100eb174
mov dword [esp + 0x1c4], esi
mov dword [esp + 0x1c0], ebx
mov word [esp + 0x1b0], dx
call fcn.10006a20
mov dword [esp + 0x1f0], 2
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x198]
push ecx
lea edx, [esp + 0xe0]
push edx
call fcn.10069ca0
add esp, 0xc
mov dword [esp + 0x1f0], 0xffffffff
cmp dword [esp + 0x1bc], 8
jb 0x10082053
mov eax, dword [esp + 0x1a8]
push eax
call fcn.100b2678
add esp, 4
xor ecx, ecx
mov word [esp + 0x1a8], cx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebx
call fcn.10006030
push eax
push ebx
push ebx
lea edx, [esp + 0xe4]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esp + 0x1c], eax
cmp eax, ebx
je 0x100820c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100820c2
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.FXConfigImpl::read_Parse_Mutex_ALREADY_EXISTED
call esi
mov eax, dword [esp + 0x1c]
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x100820e5
push str.FXConfigImpl::read_Parse_WaitForSingleObject_mutex_OK.
call esi
push 1
lea ecx, [esp + 0xe8]
call fcn.1000c2d0
mov dword [esp + 0x1f0], 3
cmp dword [edi + 0x14], 0x10
jb 0x1008210a
mov eax, dword [edi]
jmp 0x1008210c
cmp eax, 0x102
jne 0x100820c2
push str.FXConfigImpl::read_TIME_OUT.
call esi
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1008269d
mov eax, edi
cmp dword [esp + 0x148], ebx
jne 0x1008224f
push 0x40
push 1
push eax
call fcn.100b2359
add esp, 0xc
cmp eax, ebx
je 0x1008224f
push 1
push eax
lea ecx, [esp + 0xfc]
call fcn.1000d020
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0xf8]
call fcn.1000dec0
mov byte [esp + 0x1f0], 4
push eax
call fcn.1000f6e0
add esp, 4
push eax
lea ecx, [esp + 0xf8]
call fcn.1000d210
mov byte [esp + 0x1f0], 3
mov edi, dword [esp + 0x28]
cmp edi, ebx
je 0x100821c8
push ebx
lea ecx, [esp + 0x1c]
call fcn.100b166a
mov byte [esp + 0x1f0], 5
mov eax, dword [edi + 4]
cmp eax, ebx
jbe 0x1008219e
cmp eax, 0xffffffff
jae 0x1008219e
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 + 0x18]
call fcn.100b1692
cmp esi, ebx
je 0x100821c8
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov edx, dword [esp + 0xe4]
mov ecx, dword [edx + 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.10001f30
mov esi, dword [esp + 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x148], ebx
jne 0x1008227b
or esi, 0xffffffff
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.1000c5a0
lea eax, [esp + 0x14c]
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 + 0x1f0], esi
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x1008268d
mov ecx, dword [esp + 0xe4]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0xf0]
lea ecx, [esp + ecx + 0xe4]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x100821ea
or eax, 4
jmp 0x100821ea
lea edx, [esp + 0x8c]
mov dword [esp + 0x2c], 0x100f7630
mov dword [esp + 0x3c], 0x100f7638
mov dword [esp + 0x18], edx
mov dword [esp + 0x8c], vtable.std::ios_base.0
mov byte [esp + 0x1f0], 7
mov dword [esp + 0x8c], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [esp + 0x1f0], 8
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x2c], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov esi, dword [edx + 4]
lea esi, [esp + esi + 0x2c]
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.100020a0
lea eax, [esp + 0x44]
push 0x20
mov ecx, esi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], ebx
call fcn.10006f40
mov byte [esi + 0x40], al
cmp dword [esi + 0x38], ebx
jne 0x1008231a
mov eax, dword [esi + 0xc]
or eax, 4
or eax, 4
push ebx
push eax
mov ecx, esi
call fcn.10001f30
mov dword [esp + 0x1f0], 0xd
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [esp + eax + 0x3c], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov edi, 0x10
mov dword [esp + 0x1f0], edi
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
mov dword [esp + edx + 0x2c], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov dword [esp + 0x1f0], 0x11
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x44]
mov dword [esp + ecx + 0x2c], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov ecx, edx
mov dword [esp + 0x18], edx
call fcn.100067f0
mov byte [esp + 0x1f0], 0x12
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], 0x15
lea eax, [esp + 0xf4]
push eax
lea ecx, [esp + 0x40]
call fcn.10063950
lea ecx, [esp + 0xf4]
call fcn.1000cf90
test eax, eax
jne 0x100823f1
mov ecx, dword [esp + 0xe4]
mov ecx, dword [ecx + 4]
mov eax, dword [esp + ecx + 0xf0]
lea ecx, [esp + ecx + 0xe4]
or eax, 2
cmp dword [ecx + 0x38], ebx
jne 0x100823ea
or eax, 4
push ebx
push eax
call fcn.10001f30
lea edx, [esp + 0x1c4]
push edx
lea ecx, [esp + 0x30]
call fcn.10083010
mov byte [esp + 0x1f0], 0x16
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c4]
push eax
push ecx
call fcn.1005d8c0
add esp, 8
cmp dword [esp + 0x1d4], ebx
jne 0x100824e5
mov edx, dword [esp + 0x20]
mov byte [edx + 0x14], 1
mov byte [esp + 0x1f0], 0x15
cmp dword [esp + 0x1d8], edi
jb 0x10082455
mov eax, dword [esp + 0x1c4]
push eax
call fcn.100b2678
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.10082f70
lea ecx, [esp + 0x8c]
mov edi, vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x10], ecx
mov dword [esp + 0x8c], edi
mov byte [esp + 0x1f0], 3
mov edx, ecx
mov ebx, vtable.std::ios_base.0
push edx
mov dword [esp + 0x90], ebx
call fcn.100b1bb9
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.1000c5a0
lea eax, [esp + 0x14c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14c], edi
jmp 0x1008267f
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x1c4]
push edx
mov ecx, esi
call fcn.10084110
mov byte [esi + 0x14], al
mov byte [esp + 0x1f0], 0x15
cmp dword [esp + 0x1d8], edi
jb 0x1008251c
mov eax, dword [esp + 0x1c4]
push eax
call fcn.100b2678
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], 0x19
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x44], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov byte [esp + 0x1f0], 0x1b
test byte [esp + 0x84], 1
je 0x10082590
mov edx, dword [esp + 0x54]
mov eax, dword [edx]
push eax
call fcn.100b2678
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], 0x19
lea ecx, [esp + 0x44]
call fcn.10003b30
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], 0x1c
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 edi, 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], edi
mov byte [esp + 0x1f0], 3
mov edx, ecx
mov ebx, vtable.std::ios_base.0
push edx
mov dword [esp + 0x90], ebx
call fcn.100b1bb9
or esi, 0xffffffff
add esp, 4
mov dword [esp + 0x1f0], esi
lea ecx, [esp + 0x14c]
call fcn.1000c5a0
lea eax, [esp + 0x14c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14c], edi
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x14c], ebx
lea ecx, [esp + 0x14c]
push ecx
call fcn.100b1bb9
add esp, 4
mov edx, dword [esp + 0x20]
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.100b2b2c
mov esp, ebp
pop ebp
ret 8