Function at 0x10023100
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10084590
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x38], 1
test ebp, ebp
je 0x1002315a
mov eax, dword [ebp]
jmp 0x1002315c
xor eax, eax
mov ecx, dword [esp + 0x40]
or al, 0x20
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.10026db0
add esp, 8
lea edx, [esp + 0x28]
lea ecx, [esp + 0xc]
mov bl, al
push edx
call sub.MFC42.DLL_CString::CString_2
test bl, bl
mov byte [esp + 0x38], 2
je 0x10023310
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x44]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10023240
mov ecx, dword [esi]
mov eax, dword [ecx - 8]
test eax, eax
je 0x10023240
push ecx
mov eax, esp
mov dword [esp + 0x50], esp
mov dword [eax], ecx
lea ecx, [esp + 0x50]
push ecx
call fcn.10023aa0
add esp, 8
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 3
call fcn.1002c286
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 8]
test eax, eax
jne 0x10023204
mov eax, dword [esi]
cmp byte [eax], 0x3c
jne 0x10023204
push str.UTF_8
lea ecx, [esp + 0x30]
call fcn.1002c27a
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
test eax, eax
je 0x10023240
lea edx, [esp + 0x2c]
push 0x10099618
lea eax, [esp + 0x50]
push edx
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x50]
test eax, eax
je 0x100232dd
push eax
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x20]
mov bl, 5
cmp eax, 1
mov byte [esp + 0x38], bl
jne 0x100232cf
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x100232cf
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x100232cf
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
push edx
call fcn.1002c286
push str.forced
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator
lea eax, [esp + 0x2c]
push 0x10099618
lea ecx, [esp + 0x44]
push eax
push ecx
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x10]
push edx
push esi
call fcn.10027a40
mov bl, al
lea eax, [esp + 0x18]
push eax
call fcn.10027d00
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
test ebp, ebp
je 0x10023310
mov edx, dword [esp + 0x14]
mov dword [ebp], edx
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x10023322
lea eax, [esp + 0xc]
push eax
call fcn.1002c286
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x38], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop esi
mov al, bl
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret