Function at 0x100023fb
Capabilities:
Print debug messages

Disassembly:
push 0x20
mov eax, 0x1002c770
call fcn.1002b09b
cmp byte [0x1003cdfb], 0
mov ebx, 0x1003c818
mov esi, dword [ebp + 8]
jne 0x10002421
cmp byte [0x1003cdfa], 0
je 0x1000245a
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1000242b
mov eax, dword [esi]
push eax
push str.CMemMappedFile_CreateAndLoadFromFile__file__11S_
push ebx
call fcn.100229c5
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x1000244a
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000245a
push ebx
call fcn.10005eb0
pop ecx
xor edi, edi
call fcn.100229c5
test al, al
jne 0x100024d7
push 0x34
call fcn.100229c5
pop ecx
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x10002484
mov ecx, eax
call fcn.10001d40
mov edi, eax
jmp 0x10002486
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002bcc
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 1
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, edi
call esi
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10002651
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.100229c5
pop ecx
jmp 0x100025eb
call fcn.1001be5e
test al, al
je 0x100025ee
push esi
call fcn.100229c5
mov ebx, eax
pop ecx
test ebx, ebx
je 0x100025a4
cmp byte [0x1003cdfb], 0
jne 0x10002507
cmp byte [0x1003cdfa], 0
je 0x10002584
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x10002511
mov eax, dword [esi]
push eax
push str.CMemMappedFile::CreateAndLoadFromFile___11S_
mov edi, 0x1003c818
push edi
call fcn.100229c5
add esp, 0xc
cmp byte [0x1003cdfa], 0
je 0x10002535
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000254e
push edi
call fcn.10005eb0
cmp byte [0x1003cdfb], 0
pop ecx
jne 0x10002557
cmp byte [0x1003cdfa], 0
je 0x10002574
push str.CMemMappedFile___remote_creation
push edi
call fcn.100229c5
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x10002574
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10002584
push edi
call fcn.10005eb0
pop ecx
push ebx
call fcn.1001bc5c
mov edi, eax
pop ecx
push esi
mov ecx, dword [edi]
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x1002f5c0]
mov ecx, edi
call esi
jmp 0x10002651
cmp byte [0x1003cdfb], 0
jne 0x100025ba
cmp byte [0x1003cdfa], 0
je 0x10002651
push str.CMemMappedFile__ERROR_diskFileSize__0_
mov esi, 0x1003c818
push esi
call fcn.100229c5
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x100025dc
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x10002651
push esi
call fcn.10005eb0
pop ecx
jmp 0x10002651
cmp byte [0x1003cdfb], 0
jne 0x10002600
cmp byte [0x1003cdfa], 0
je 0x1000262d
push str.CMemMappedFile___creation_deferred
push ebx
call fcn.100229c5
cmp byte [0x1003cdfa], 0
pop ecx
pop ecx
je 0x1000261d
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cdfb], 0
je 0x1000262d
push ebx
call fcn.10005eb0
pop ecx
push 0x34
call fcn.100229c5
pop ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x1000264f
push esi
mov ecx, eax
call fcn.100229c5
mov edi, eax
jmp 0x10002651
xor edi, edi
mov eax, edi
call fcn.1002b045
ret