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

Disassembly:
sub esp, 0x7c
mov eax, dword [ecx + 0x421fc]
push ebx
push ebp
push esi
push edi
mov edi, dword [ecx + 0x421f8]
cmp edi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edi
je 0x10006a8e
mov esi, dword [ecx + 0x42198]
mov ecx, dword [ecx + 0x4219c]
cmp esi, ecx
je 0x10006a74
mov edx, dword [edi + 0xc]
cmp dword [esi + 4], edx
jne 0x1000663c
mov eax, dword [edi + 8]
cmp eax, 4
je 0x1000664b
cmp eax, 6
je 0x1000664b
add esi, 0x1f38
cmp esi, ecx
jne 0x1000662a
jmp 0x10006a74
mov eax, dword [edi + 8]
mov ebx, dword [sym.imp.MSVCRT.dll_strncpy]
mov dword [esi + 0x19ac], eax
mov ecx, dword [edi + 4]
lea ebp, [esi + 0x19b4]
push 0x80
push 0x100536d0
push ebp
mov dword [esi + 0x19b0], ecx
mov dword [esp + 0x30], ebp
call ebx
lea eax, [esi + 0x1a34]
push 0x80
push 0x100536d4
push eax
mov dword [esp + 0x30], eax
call ebx
add esi, 0x1ab4
push 0x80
push 0x100536d8
push esi
mov dword [esp + 0x4c], esi
call ebx
mov eax, dword [edi + 0x390]
add esp, 0x24
cmp eax, 5
je 0x100066fc
cmp eax, 4
je 0x100066fc
mov edx, dword [esp + 0x14]
push 0x80
add edx, 0x428
push edx
push ebp
call ebx
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push 0x80
lea eax, [ebp + 0x228]
push eax
push ecx
call ebx
add ebp, 0x4a8
push 0x80
push ebp
push esi
call ebx
add esp, 0x24
jmp 0x10006a74
mov edx, dword [0x10053698]
xor eax, eax
mov ebp, dword [edx + 0x20e0]
mov edx, dword [ebp + 0x18]
test edx, edx
jbe 0x10006a74
lea ecx, [ebp + 0x30]
mov esi, dword [edi + 0xc]
cmp dword [ecx + 0x10], esi
jne 0x10006727
mov esi, dword [ecx]
cmp esi, dword [edi + 4]
je 0x10006737
inc eax
add ecx, 0x324
cmp eax, edx
jb 0x10006718
jmp 0x10006a74
lea ecx, [eax + eax*4]
push 0
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov al, byte [esp + 0x17]
lea ecx, [esp + 0x30]
mov byte [esp + 0x30], al
lea ebp, [ebp + edx*4]
lea esi, [ebp + 0x1c4]
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, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x30]
push edi
mov dword [esp + 0x28], edi
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 0x100067a2
mov ecx, edi
mov edi, dword [esp + 0x30]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
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_]
mov cl, byte [esp + 0x2c]
sub esp, 0x10
mov esi, esp
push 0
mov byte [esi], cl
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_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x3c]
mov eax, dword [edx]
push eax
push 0
push ecx
mov ecx, esi
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea edx, [esp + 0x4c]
push edx
call fcn.10008970
mov eax, dword [esp + 0x54]
add esp, 0x14
test eax, eax
jne 0x100067e9
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 0x80
push eax
mov eax, dword [esp + 0x2c]
push eax
call ebx
mov cl, byte [esp + 0x1f]
add esp, 0xc
mov byte [esp + 0x5c], cl
lea ecx, [esp + 0x5c]
push 0
lea esi, [ebp + 0x244]
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, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x60]
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 0x10006851
mov edi, dword [esp + 0x60]
mov ecx, ebx
mov edx, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x60]
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_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor ebx, ebx
lea edx, [esp + 0x5c]
mov ecx, dword [eax]
push ecx
push ebx
push edx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x60]
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 al, byte [esp + 0x2c]
sub esp, 0x10
mov esi, esp
push ebx
mov ecx, esi
mov byte [esi], 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 ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x3c]
mov edx, dword [ecx]
mov ecx, esi
push edx
push ebx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [esp + 0x8c]
push ecx
call fcn.10008970
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0x14
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x48]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x80]
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 + 0x40]
cmp eax, ebx
jne 0x100068e3
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 edx, dword [esp + 0x18]
push 0x80
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov al, byte [esp + 0x1f]
add esp, 0xc
lea ecx, [esp + 0x4c]
lea esi, [ebp + 0x2c4]
push ebx
mov byte [esp + 0x50], 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, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x50]
push ebp
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 0x1000694f
mov edi, dword [esp + 0x50]
mov ecx, ebp
mov edx, ecx
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 + 0x50]
mov dword [esp + 0x54], ebp
mov byte [eax + ebp], 0
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea eax, [esp + 0x4c]
mov edx, dword [ecx]
lea ecx, [esp + 0x2c]
push edx
push ebx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
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_]
mov dl, byte [esp + 0x2c]
sub esp, 0x10
mov ecx, esp
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [eax]
lea eax, [esp + 0x3c]
push edx
push ebx
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [esp + 0x7c]
push ecx
call fcn.10008970
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
add esp, 0x14
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x48]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x100069e3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x100069da
cmp al, 0xff
je 0x100069da
dec al
mov byte [ecx], al
jmp 0x100069e3
push ecx
call fcn.100463e2
add esp, 4
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], ebx
cmp eax, ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
jne 0x100069fc
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 edx, dword [esp + 0x28]
push 0x80
push eax
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
mov ecx, dword [esp + 0x4c]
add esp, 0xc
cmp ecx, ebx
je 0x10006a34
mov al, byte [ecx - 1]
test al, al
je 0x10006a2a
cmp al, 0xff
je 0x10006a2a
dec al
mov byte [ecx - 1], al
jmp 0x10006a34
dec ecx
push ecx
call fcn.100463e2
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], ebx
cmp ecx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
je 0x10006a64
mov al, byte [ecx - 1]
test al, al
je 0x10006a5a
cmp al, 0xff
je 0x10006a5a
dec al
mov byte [ecx - 1], al
jmp 0x10006a64
dec ecx
push ecx
call fcn.100463e2
add esp, 4
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x14]
add edi, 0x398
mov dword [esp + 0x1c], edi
cmp edi, dword [ecx + 0x421fc]
jne 0x10006613
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret