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

Disassembly:
mov eax, 0x62e8
call fcn.10047e80
mov al, byte [esp + 3]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x2c], al
xor esi, esi
mov ecx, 0x18a0
xor eax, eax
lea edi, [esp + 0x78]
mov dword [esp + 0x74], esi
push esi
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x17]
mov dword [esp + 0x34], esi
mov byte [esp + 0x1c], cl
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 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_]
mov edi, 0x10051e48
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10051e48
lea ecx, [esp + 0x20]
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 + 0x2c]
call fcn.10019750
mov ebp, dword [esp + 0x6300]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push esi
mov edx, dword [ebp + 8]
push ecx
mov ecx, ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
xor edi, edi
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 ebx, eax
cmp ebx, dword [edx]
je 0x10022d01
cmp edi, dword [esp + 0x14]
jae 0x10022d4b
mov eax, ebx
lea ecx, [esp + 0x3c]
sub eax, edi
push eax
push edi
push ecx
mov ecx, ebp
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_]
lea edx, [esp + 0x3c]
push 0x1005096c
push edx
call fcn.1000c7f0
mov ecx, dword [esp + 0x3c]
add esp, 8
lea eax, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x34]
call fcn.100197d0
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x18]
mov ecx, ebp
lea edi, [ebx + edx]
push edi
push eax
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 + 0x40]
mov ebx, 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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp ebx, dword [ecx]
jne 0x10022c92
mov eax, dword [esp + 0x14]
cmp edi, eax
jae 0x10022d4b
sub eax, edi
lea edx, [esp + 0x3c]
push eax
push edi
push edx
mov ecx, ebp
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_]
lea eax, [esp + 0x3c]
push 0x1005096c
push eax
call fcn.1000c7f0
mov edx, dword [esp + 0x3c]
add esp, 8
lea ecx, [esp + 0x3c]
push ecx
push edx
lea ecx, [esp + 0x34]
call fcn.100197d0
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_]
push 1
lea ecx, [esp + 0x1c]
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, dword [esp + 0x30]
cmp ecx, esi
jne 0x10022d63
xor eax, eax
jmp 0x10022d6c
mov eax, dword [esp + 0x34]
sub eax, ecx
sar eax, 4
cmp eax, esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x28], esi
jbe 0x10022fd7
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x180]
jmp 0x10022d8b
xor esi, esi
mov cl, byte [esp + 0x13]
mov al, byte [esp + 0x13]
mov byte [esp + 0x3c], cl
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 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_]
mov edi, 0x10051e4c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10051e4c
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_]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
lea ebp, [eax + edx]
call fcn.10019750
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x3c]
mov dword [esp + 0x4c], ecx
push 0
push eax
mov ecx, ebp
mov dword [esp + 0x58], edx
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 ecx, 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 [ecx]
je 0x10022e7d
cmp esi, dword [esp + 0x4c]
jae 0x10022ec7
mov edx, edi
lea eax, [esp + 0x54]
sub edx, esi
mov ecx, ebp
push edx
push esi
push eax
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_]
lea ecx, [esp + 0x54]
push 0x1005096c
push ecx
call fcn.1000c7f0
mov eax, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 0x54]
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.100197d0
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x3c]
lea esi, [edi + ecx]
mov ecx, ebp
push esi
push edx
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 + 0x58]
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 eax, 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 [eax]
jne 0x10022e0f
mov eax, dword [esp + 0x4c]
cmp esi, eax
jae 0x10022ec7
sub eax, esi
lea ecx, [esp + 0x64]
push eax
push esi
push ecx
mov ecx, ebp
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_]
lea edx, [esp + 0x64]
push 0x1005096c
push edx
call fcn.1000c7f0
mov ecx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x64]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.100197d0
push 1
lea ecx, [esp + 0x68]
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 eax, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [eax + 4]
cmp eax, ebp
jne 0x10022ee5
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]
mov esi, dword [sym.imp.MSVCRT.dll_strncpy]
push 0x103
lea edx, [ebx - 0x103]
push eax
push edx
call esi
mov eax, dword [esp + 0x28]
mov byte [ebx], 0
add esp, 0xc
mov eax, dword [eax + 0x14]
cmp eax, ebp
jne 0x10022f10
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 0x103
lea ecx, [ebx + 0x105]
push eax
push ecx
call esi
mov eax, dword [esp + 0x28]
mov edx, 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]
mov byte [ebx + 0x208], 0
add esp, 0xc
mov ecx, dword [eax + 0x24]
mov edi, edx
cmp ecx, ebp
je 0x10022f3e
mov edi, ecx
mov cl, byte [edi]
mov byte [ebx - 0x104], cl
mov eax, dword [eax + 0x34]
cmp eax, ebp
jne 0x10022f4f
mov eax, edx
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov edx, dword [esp + 0x20]
mov dword [ebx - 0x108], eax
add esp, 4
mov eax, dword [edx + 0x44]
cmp eax, ebp
jne 0x10022f6f
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 0x103
push eax
lea eax, [ebx + 1]
push eax
call esi
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov byte [ebx + 0x104], 0
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.10019960
mov eax, dword [esp + 0x1c]
push eax
call fcn.10047cb0
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x78]
add esp, 4
inc eax
add esi, 0x10
add ebx, 0x314
cmp eax, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], esi
jb 0x10022d89
lea ecx, [esp + 0x74]
push 0x800
push ecx
mov ecx, dword [0x10056a0c]
push 0x6284
push 0x10509
call fcn.10009950
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esp + 0x34]
call fcn.10019960
mov ecx, dword [esp + 0x30]
push ecx
call fcn.10047cb0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x62e8
ret