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

Disassembly:
sub esp, 0x5c
mov al, byte [esp + 0x60]
push ebx
push esi
xor esi, esi
push edi
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4c], 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 edx, dword [esp + 0x70]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x50]
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 + 0x48]
push ecx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
cmp dword [esp + 0x40], esi
jbe 0x10007f4c
push esi
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov dl, byte [eax]
push edx
call fcn.10008b20
add esp, 4
lea ecx, [esp + 0x38]
mov bl, al
push esi
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov byte [eax], bl
mov eax, dword [esp + 0x40]
inc esi
cmp esi, eax
jb 0x10007f1c
xor esi, esi
lea eax, [esp + 0x38]
lea ecx, [esp + 0x28]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ebx, 1
lea ecx, [esp + 0x38]
push ebx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push ebx
lea ecx, [esp + 0x4c]
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, 0x1004c83c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x1004c83c
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x10007fc3
mov eax, dword [esp + 0x6c]
push ebx
lea ecx, [esp + 0x2c]
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], 0xffff
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 ebx
add esp, 0x5c
ret
mov dl, byte [esp + 0x6c]
mov al, byte [esp + 0x6c]
push ebp
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x20], dl
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x40], 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, 0x1004c840
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x1004c840
lea ecx, [esp + 0x44]
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 + 0x1c]
call fcn.10008b30
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, eax
cmp edi, dword [edx]
je 0x1000809c
cmp esi, ebp
jae 0x100080da
mov eax, edi
lea ecx, [esp + 0x4c]
sub eax, esi
push eax
push esi
push ecx
lea ecx, [esp + 0x38]
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__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x10008071
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.10008cc0
lea esi, [edi + ebx]
lea ecx, [esp + 0x3c]
push esi
push ecx
lea ecx, [esp + 0x34]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
push 1
lea ecx, [esp + 0x50]
mov edi, eax
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [edx]
jne 0x10008039
cmp esi, ebp
jae 0x100080da
sub ebp, esi
lea eax, [esp + 0x4c]
push ebp
push esi
push eax
lea ecx, [esp + 0x38]
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__::substr_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x54]
test eax, eax
je 0x100080ce
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.10008cc0
push 1
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x40]
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 ebx, dword [sym.imp.MSVCRT.dll_atoi]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x10008252
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x10008252
add esi, eax
push 1
lea edx, [esp + 0x78]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x80], 0x3a
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x10008237
push 1
lea edx, [esp + 0x78]
push ebp
push edx
mov ecx, esi
mov byte [esp + 0x80], 0x2d
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov ebp, eax
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ebp, dword [eax]
jne 0x1000819e
mov edx, dword [eax]
lea ecx, [esp + 0x11]
push ecx
push edx
push 2
push esi
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x10008186
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]
push eax
call ebx
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
mov edi, esi
push 1
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 0x10008216
lea eax, [esp + 0x12]
lea ecx, [ebp - 2]
push eax
push ecx
push 2
push esi
lea ecx, [esp + 0x4c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x100081c1
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]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x3c]
mov edi, eax
push 1
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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x13]
push edx
inc ebp
mov ecx, dword [eax]
push ecx
push ebp
push esi
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov eax, dword [esp + 0x60]
test eax, eax
jne 0x100081fc
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]
push eax
call ebx
add esp, 4
lea ecx, [esp + 0x5c]
mov esi, eax
push 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp edi, esi
mov eax, edi
jl 0x10008218
mov eax, esi
mov ecx, dword [esp + 0x70]
cmp edi, esi
mov edx, dword [ecx + 4]
mov dword [ecx + edx*8 + 8], eax
jle 0x10008229
mov esi, edi
mov eax, dword [ecx + 4]
mov dword [ecx + eax*8 + 0xc], esi
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
inc ecx
add esi, 0x10
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
xor ebp, ebp
jmp 0x100080f8
mov ecx, dword [esp + 0x70]
push ecx
call fcn.100082f0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 4
cmp esi, edi
je 0x1000827e
push ebp
mov ecx, esi
call fcn.10008c60
add esi, 0x10
cmp esi, edi
jne 0x1000826b
mov esi, dword [esp + 0x20]
push esi
call fcn.100463e2
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
push 1
mov dword [esp + 0x2c], ebp
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 ebp
pop edi
pop esi
pop ebx
add esp, 0x5c
ret