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

Disassembly:
push 0xffffffffffffffff
push 0x4f7b72
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov eax, dword [0x54f4a0]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x9c]
push ebp
mov ebp, dword [esp + 0xa4]
push esi
mov esi, ecx
mov dword [esp + 0x90], eax
mov eax, dword [esi + 0x20]
push edi
inc eax
mov edi, 0
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x20], eax
mov edx, eax
mov dword [esp + 0x18], edi
jne 0x4be522
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, ebx
mov dword [esp + 0xa0], edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be333
lea ecx, [esp + 0x5c]
push ecx
sub eax, edx
push eax
push ebx
call fcn.004bb5c0
push 0x90
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, edi
mov byte [esp + 0xa0], 1
je 0x4be37f
cmp dword [esp + 0x74], 8
mov ecx, dword [esp + 0x60]
jae 0x4be374
lea ecx, [esp + 0x60]
push edi
push ecx
mov ecx, eax
call fcn.004bc8c0
jmp 0x4be381
xor eax, eax
mov dword [esi + 0x18], eax
add eax, 0xc
push eax
mov byte [esp + 0xa4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x18]
mov dword [ecx + eax*4], edx
cmp dword [ebp], edi
je 0x4be519
mov dword [esp + 0x10], ebp
nop
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov byte [esp + 0xa0], 3
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be3e1
sub eax, ecx
mov ebx, eax
lea ebp, [ebx + ebx]
lea edi, [ebp + 2]
push edi
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
add esp, 4
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push ebp
mov ecx, edx
push esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call sub.MFC71U.DLL_operator_new
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 4]
mov eax, ebx
add esp, 4
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be446
sub eax, esi
mov ebp, eax
lea edi, [ebp + ebp + 2]
push edi
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp + ebp]
push eax
push esi
push ebp
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call sub.MFC71U.DLL_operator_new
mov ecx, dword [esp + 0x5c]
mov esi, dword [esp + 0x48]
mov eax, 8
add esp, 4
cmp ecx, eax
jae 0x4be4b2
lea esi, [esp + 0x44]
cmp dword [esp + 0x3c], eax
mov edx, dword [esp + 0x28]
jae 0x4be4c0
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + eax*4]
push esi
push edx
call fcn.004be1b0
mov esi, dword [esp + 0x18]
add esi, 2
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], esi
mov byte [esp + 0xa0], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
lea eax, [eax + esi*4]
mov dword [esp + 0x10], eax
jne 0x4be3b0
lea ecx, [esp + 0x5c]
jmp 0x4be75e
mov ecx, dword [esi + 0x1c]
cmp ecx, edi
je 0x4be55a
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [eax + edx*4 - 4]
call fcn.004bd170
mov edi, dword [esi + 0x1c]
lea ecx, [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4be553
test edi, edi
je 0x4be553
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov dword [esi + 0x1c], 0
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, ebx
mov dword [esp + 0xa0], 4
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be574
lea ecx, [esp + 0x78]
push ecx
sub eax, edx
push eax
push ebx
call fcn.004bb5c0
push 0x90
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0xa0], 5
je 0x4be5cf
mov edx, dword [esi + 0x20]
mov edi, dword [esp + 0x90]
mov ecx, dword [esi + 0xc]
dec edx
cmp edi, 8
mov edi, dword [esp + 0x7c]
jae 0x4be5c1
lea edi, [esp + 0x7c]
mov edx, dword [ecx + edx*4]
push edx
push edi
mov ecx, eax
call fcn.004bc8c0
jmp 0x4be5d1
xor eax, eax
mov ecx, dword [esi + 0x20]
mov esi, dword [esi + 0xc]
mov dword [esi + ecx*4], eax
cmp dword [ebp], 0
mov byte [esp + 0xa0], 4
je 0x4be75a
mov dword [esp + 0x10], ebp
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0xa0], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov byte [esp + 0xa0], 7
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4be621
sub eax, ecx
mov ebp, eax
lea ebx, [ebp + ebp]
lea edi, [ebx + 2]
push edi
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
add esp, 4
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push ebx
mov ecx, edx
push esi
and ecx, 3
push ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call sub.MFC71U.DLL_operator_new
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 4]
mov eax, ebx
add esp, 4
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4be687
sub eax, esi
mov ebp, eax
lea edi, [ebp + ebp + 2]
push edi
call sub.MFC71U.DLL_SerializeElements
mov esi, eax
mov ecx, edi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [ebp + ebp]
push eax
push esi
push ebp
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push esi
call sub.MFC71U.DLL_operator_new
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x2c]
mov eax, 8
add esp, 4
cmp ecx, eax
jae 0x4be6f3
lea esi, [esp + 0x28]
cmp dword [esp + 0x58], eax
mov edx, dword [esp + 0x44]
jae 0x4be701
lea edx, [esp + 0x44]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + eax*4]
push esi
push edx
call fcn.004be1b0
mov esi, dword [esp + 0x18]
add esi, 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x18], esi
mov byte [esp + 0xa0], 6
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0xa0], 4
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
lea eax, [eax + esi*4]
mov dword [esp + 0x10], eax
jne 0x4be5f0
lea ecx, [esp + 0x78]
mov dword [esp + 0xa0], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x88]
pop ebx
xor ecx, esp
call fcn.004e6c56
add esp, 0x94
ret 8