Function at 0x14022f060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov byte [rsp + 0x10], dl
mov qword [rsp + 8], rcx
sub rsp, 0xd8
movzx eax, byte [rsp + 0xe8]
and eax, 1
cmp eax, 1
jne 0x14022f1c4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0xb0]
mov qword [rsp + 0x80], rax
cmp qword [rsp + 0x80], 0
jne 0x14022f1c4
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rax + 0x22c]
mov rax, qword [rsp + 0xe0]
add ecx, dword [rax + 0x238]
mov rax, qword [rsp + 0xe0]
mov eax, dword [rax + 0x23c]
lea eax, [rcx + rax + 1]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax + 0x230]
sub eax, ecx
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x50]
mov eax, dword [rsp + 0x58]
add eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x54]
mov eax, dword [rsp + 0x5c]
add eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xe0]
add rax, 0xa0
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa0]
call fcn.140225710
movzx eax, byte [rsp + 0xe8]
and eax, 2
cmp eax, 2
jne 0x14022f2fc
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0xd8]
mov qword [rsp + 0xa8], rax
cmp qword [rsp + 0xa8], 0
jne 0x14022f2fc
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x118]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + reloc.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x4c]
mov eax, dword [rax + 0x234]
sub eax, ecx
sub eax, 1
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x48]
mov eax, dword [rax + 0x230]
sub eax, ecx
mov dword [rsp + 0xb8], eax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0xbc]
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov ecx, dword [rsp + 0x68]
mov eax, dword [rsp + 0x70]
add eax, ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x3c], eax
mov ecx, dword [rsp + 0x6c]
mov eax, dword [rsp + 0x74]
add eax, ecx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0xe0]
add rax, 0xc8
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0xc0], rax
lea r8, [rsp + 0x38]
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
call fcn.140225710
add rsp, 0xd8
ret