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

Disassembly:
sub esp, 0xb4
push ebp
push esi
mov esi, dword [esp + 0xc0]
mov ebp, ecx
push edi
mov ecx, esi
call fcn.1001be90
cmp eax, 7
ja case.default.0x10023832
jmp dword [eax*4 + 0x10023c7c]
mov al, byte [esp + 0xf]
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x54], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x1004ece0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1004ece0
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
lea ecx, [esp + 0x50]
push ecx
mov ecx, ebp
call fcn.10024120
push 1
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
mov ecx, esi
call fcn.1001c4c0
lea edx, [esp + 0xa0]
push eax
push edx
call fcn.10020ca0
add esp, 8
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0xa4]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
mov ecx, esi
call fcn.1001c7a0
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10020df0
add esp, 8
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0x74]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
mov ecx, esi
call fcn.1001ca80
sub esp, 8
lea ecx, [esp + 0x88]
fstp qword [esp]
push ecx
call fcn.10020ee0
add esp, 0xc
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
mov ecx, esi
call fcn.1001c2a0
lea edx, [esp + 0x90]
push eax
push edx
call fcn.10021160
add esp, 8
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
mov ecx, esi
call fcn.1001cbc0
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.10021080
add esp, 8
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0xb4]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
push esi
mov ecx, ebp
call fcn.10023ca0
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4
lea ecx, [esp + 0x30]
push ebx
push ecx
mov ecx, esi
call fcn.1001d780
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100239ed
mov edx, dword [esp + 0x3c]
sub edx, eax
test edx, 0xfffffff0
jne 0x10023a64
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x1004ece8
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x48]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10023a47
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov edx, ecx
mov esi, 0x1004ece8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea eax, [esp + 0x44]
mov ecx, ebp
push eax
call fcn.10024120
push 1
lea ecx, [esp + 0x48]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x10023c43
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x28], cl
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x1004ecec
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x28]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10023ac6
mov edi, dword [esp + 0x28]
mov ecx, ebx
mov edx, ecx
mov esi, 0x1004ecec
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x2c], ebx
mov byte [eax + ebx], 0
lea ecx, [esp + 0x24]
push ecx
mov ecx, ebp
call fcn.10024310
push 1
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, ebp
call fcn.10024330
mov edi, dword [esp + 0x38]
push edi
mov ecx, esi
call fcn.1001d570
mov esi, eax
mov ecx, ebp
push esi
call fcn.10024590
mov eax, dword [edi + 4]
xor ebx, ebx
cmp eax, ebx
jne 0x10023b09
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
lea edx, [esp + 0x64]
push eax
push edx
call fcn.10021160
add esp, 8
mov ecx, ebp
push eax
call fcn.10024310
mov eax, dword [esp + 0x68]
cmp eax, ebx
je 0x10023b44
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10023b3b
cmp al, 0xff
je 0x10023b3b
dec al
mov byte [ecx], al
jmp 0x10023b44
push ecx
call fcn.100463e2
add esp, 4
mov eax, dword [ebp + 0x10]
push 0x1004ecf0
push eax
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
add esp, 8
mov ecx, ebp
push esi
call fcn.10023810
mov eax, dword [esp + 0x3c]
add edi, 0x10
cmp edi, eax
je 0x10023b9b
mov ecx, dword [ebp + 0x10]
push 0x1004ecf4
push ecx
call dword [sym.imp.MSVCP60.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::operator___class_std::basic_ostream_char__struct_std::char_traits_char_____char_const__]
add esp, 8
mov ecx, ebp
push esi
call fcn.10024650
mov esi, dword [esp + 0xc8]
jmp 0x10023ae9
push esi
mov ecx, ebp
call fcn.10024650
mov ecx, ebp
call fcn.100243f0
mov edi, 0x1004ecf8
or ecx, 0xffffffff
xor eax, eax
mov dl, byte [esp + 0x13]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ebx, ecx
push 1
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1c], dl
call dword [sym.imp.MSVCP60.dll_private:_bool___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Grow_unsigned_int__bool_]
test al, al
je 0x10023c04
mov edi, dword [esp + 0x18]
mov ecx, ebx
mov eax, ecx
mov esi, 0x1004ecf8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Eos_unsigned_int_]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call fcn.10024310
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, esi
je 0x10023c37
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x10023c2e
cmp al, 0xff
je 0x10023c2e
dec al
mov byte [ecx], al
jmp 0x10023c37
push ecx
call fcn.100463e2
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
cmp esi, edi
pop ebx
je 0x10023c65
push 1
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
add esi, 0x10
cmp esi, edi
jne 0x10023c50
mov esi, dword [esp + 0x34]
push esi
call fcn.100463e2
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xb4
ret 4