Function at 0x10007680
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 0x100076fc
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.10008000
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 0x100076cc
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, 0x1003372c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
push 0x1003372c
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 0x10007773
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, 0x10033730
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10033730
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.10008010
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 0x1000784c
cmp esi, ebp
jae 0x1000788a
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 0x10007821
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x4c]
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.100081a0
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 0x100077e9
cmp esi, ebp
jae 0x1000788a
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 0x1000787e
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x4c]
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.100081a0
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 0x10007a02
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x10007a02
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 0x100079e7
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 0x1000794e
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 0x10007936
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 0x100079c6
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 0x10007971
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 0x100079ac
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 0x100079c8
mov eax, esi
mov ecx, dword [esp + 0x70]
cmp edi, esi
mov edx, dword [ecx + 4]
mov dword [ecx + edx*8 + 8], eax
jle 0x100079d9
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 0x100078a8
mov ecx, dword [esp + 0x70]
push ecx
call fcn.10007aa0
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
add esp, 4
cmp esi, edi
je 0x10007a2e
push ebp
mov ecx, esi
call fcn.10008140
add esi, 0x10
cmp esi, edi
jne 0x10007a1b
mov esi, dword [esp + 0x20]
push esi
call fcn.1002eb22
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