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

Disassembly:
push 0xffffffffffffffff
push 0x1002f593
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [esp + 0x9c]
mov esi, dword [esp + 0x88]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x90]
mov ebp, dword [esp + 0x94]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x80], ebx
jne 0x100228e5
mov dword [esp + 0x14], ebx
jmp 0x10022900
mov ecx, ebp
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x58]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp dword [esi + 0x18], 0x10
mov byte [esp + 0x80], 2
jb 0x1002292f
mov ecx, dword [esi + 4]
jmp 0x10022932
lea ecx, [esi + 4]
mov eax, dword [esi + 0x14]
cmp byte [ecx + eax - 1], 0x5c
push esi
lea ecx, [esp + 0x5c]
jne 0x10022949
call dword [0x100321c0]
jmp 0x1002295e
call dword [0x100321c0]
push 0x100350e8
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.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__::operator_char_const__]
xor esi, esi
cmp dword [esp + 0x14], ebx
jle 0x10022aaa
mov ebx, edi
lea esp, [esp]
test edi, edi
je 0x1002298f
mov ecx, ebp
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10022995
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [ecx]
push 1
push eax
push 0x100350e8
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_last_of_char_const___unsigned_int__unsigned_int_const]
mov ebp, eax
add ebp, 1
test edi, edi
je 0x100229d6
mov ecx, dword [esp + 0x94]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x100229dc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 0x14]
sub eax, ebp
test eax, eax
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0x3c]
jle 0x10022b1e
lea edx, [esp + 0x58]
push edx
call dword [0x100321c0]
test edi, edi
je 0x10022a20
mov ecx, dword [esp + 0x94]
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10022a26
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x1c]
push eax
push ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebx
call dword [sym.imp.MSVCP80.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__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 3
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x80], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0xa0]
lea eax, [esp + 0x3c]
push eax
call fcn.100220e0
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
push edx
push 0
lea ecx, [esp + 0x44]
call dword [sym.imp.MSVCP80.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__::erase_unsigned_int__unsigned_int_]
mov ebp, dword [esp + 0x94]
add esi, 1
add ebx, 0x1c
cmp esi, dword [esp + 0x14]
jl 0x10022970
lea ecx, [esp + 0x3c]
mov byte [esp + 0x80], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test edi, edi
mov dword [esp + 0x80], 0xffffffff
je 0x10022afb
cmp edi, ebp
mov esi, edi
je 0x10022af2
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, ebp
jne 0x10022ae3
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.1002d777
add esp, 0x70
ret 0x1c
mov byte [esp + 0x80], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test edi, edi
mov dword [esp + 0x80], 0xffffffff
je 0x10022b78
mov ebx, dword [esp + 0x94]
cmp edi, ebx
mov esi, edi
je 0x10022b6f
lea ebx, [ebx]
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
add esi, 0x1c
cmp esi, ebx
jne 0x10022b60
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
or eax, 0xffffffff
jmp 0x10022afd