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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1008fe49
push eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push ebp
xor ebp, ebp
push esi
cmp ecx, ebp
push edi
je 0x10056f0b
mov ebx, dword [esp + 0x78]
jmp 0x100569d9
mov ecx, dword [esp + 0x80]
xor ebp, ebp
mov eax, dword [esp + 0x84]
cmp eax, ebp
je 0x10056f0b
lea edx, [ecx + eax]
cmp edx, 2
je 0x10056c91
mov esi, dword [esp + 0x88]
cmp ecx, eax
jg 0x10056a0b
mov edx, dword [esi + 0x10]
cmp ecx, dword [edx + 0xc]
jle 0x10056ccd
mov edx, dword [esi + 0x10]
cmp eax, dword [edx + 0xc]
jle 0x10056dd3
cmp eax, ecx
jge 0x10056a91
mov eax, ecx
mov ecx, dword [esp + 0x74]
cdq
sub eax, edx
push ebp
sar eax, 1
mov edi, eax
mov dword [esp + 0x14], eax
shl edi, 4
add edi, ecx
lea ecx, [esp + 0x1c]
mov al, byte [edi]
mov byte [esp + 0x1c], 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]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push edx
push ebp
push edi
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 + 0x8c]
mov edx, dword [esp + 0x7c]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
push edx
push ebx
call fcn.10054330
add esp, 0x14
lea ecx, [esp + 0x18]
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_]
mov eax, dword [esp + 0x10]
mov ebp, esi
sub ebp, ebx
sar ebp, 4
jmp 0x10056b14
cdq
sub eax, edx
push 0
mov ebp, eax
lea ecx, [esp + 0x2c]
sar ebp, 1
mov esi, ebp
shl esi, 4
add esi, ebx
mov al, byte [esi]
mov byte [esp + 0x2c], 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]
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
push edx
push 0
push 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_]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x74]
push 0
lea ecx, [esp + 0x2c]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x80], 0
call fcn.1005cc70
add esp, 0x14
lea ecx, [esp + 0x28]
mov edi, eax
mov dword [esp + 0x6c], 0xffffffff
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 edx, dword [esp + 0x74]
mov eax, edi
sub eax, edx
sar eax, 4
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x88]
sub edx, eax
cmp edx, ebp
mov dword [esp + 0x14], edx
jg 0x10056bb7
mov eax, dword [ecx + 0x10]
cmp edx, dword [eax + 0xc]
jg 0x10056bb7
call fcn.10080280
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.1005ad00
push ebx
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.10059f70
add esp, 0x20
lea ecx, [esp + 0x3c]
call fcn.100542d0
cmp ebx, esi
je 0x10056b9b
mov eax, edi
sub eax, ebx
mov dword [esp + 0x80], eax
jmp 0x10056b7f
mov eax, dword [esp + 0x80]
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 ecx, dword [edx]
push ecx
push 0
push ebx
lea ecx, [eax + ebx]
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_]
add ebx, 0x10
cmp ebx, esi
jne 0x10056b78
mov edx, dword [esp + 0x88]
push esi
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call fcn.100530b0
add esp, 0xc
jmp 0x10056c24
mov eax, dword [ecx + 0x10]
cmp ebp, dword [eax + 0xc]
jg 0x10056c12
call fcn.10080280
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x94], esp
push eax
call fcn.1005ad00
push esi
lea ecx, [esp + 0x68]
push ebx
push ecx
call fcn.10059f70
add esp, 0x20
lea ecx, [esp + 0x50]
call fcn.100542d0
push esi
push ebx
push edi
call fcn.100530b0
mov edx, dword [esp + 0x94]
push edi
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
call fcn.10054bf0
add esp, 0x18
jmp 0x10056c24
push esi
push ebx
push edi
call fcn.1005cce0
mov eax, ebp
add esp, 0xc
shl eax, 4
add eax, edi
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x7c]
push ebp
push edx
push eax
push edi
push ecx
call fcn.100569a0
mov edx, dword [esp + 0xa0]
mov eax, dword [esp + 0x30]
sub edx, ebp
add esp, 0x1c
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x78]
test eax, eax
mov dword [esp + 0x80], eax
mov ebx, esi
mov dword [esp + 0x74], edx
jne 0x100569d0
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov esi, dword [esp + 0x74]
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 eax, dword [esi + 4]
cmp eax, ebp
jne 0x10056ca4
mov eax, edx
mov ecx, dword [ebx + 4]
cmp ecx, ebp
jne 0x10056cad
mov ecx, edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jge 0x10056f0b
push ebp
push ebx
push esi
call fcn.1005cb00
jmp 0x10056f08
mov ecx, esi
call fcn.10080280
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x9c], esp
push ebx
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov eax, dword [eax + 0x10]
mov ebp, dword [esp + 0x8c]
mov dword [ecx + 0x10], eax
lea ecx, [esp + 0x40]
push ebp
push ecx
call fcn.10059f70
mov edi, dword [esp + 0x48]
add esp, 0x20
test edi, edi
je 0x10056d36
cmp edi, dword [esp + 0x30]
je 0x10056d2d
push 0
mov ecx, edi
call fcn.1002db60
mov eax, dword [esp + 0x30]
add edi, 0x10
cmp edi, eax
jne 0x10056d15
mov edi, dword [esp + 0x28]
push edi
call fcn.10088e50
add esp, 4
mov esi, dword [esi + 0x10]
mov edi, ebp
mov eax, dword [esi + 4]
mov esi, dword [esi]
cmp esi, eax
mov dword [esp + 0x74], eax
je 0x10056da2
mov ebp, dword [sym.imp.MSVCRT.dll__mbsicmp]
cmp ebx, dword [esp + 0x7c]
je 0x10056da2
mov eax, dword [esi + 4]
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]
test eax, eax
jne 0x10056d63
mov eax, edx
mov ecx, dword [ebx + 4]
test ecx, ecx
jne 0x10056d6c
mov ecx, edx
push eax
push ecx
call ebp
add esp, 8
test eax, eax
jge 0x10056d7e
mov eax, ebx
add ebx, 0x10
jmp 0x10056d83
mov eax, esi
add esi, 0x10
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 ecx, dword [edx]
push ecx
push 0
push eax
mov ecx, edi
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 + 0x74]
add edi, 0x10
cmp esi, eax
jne 0x10056d4e
mov edx, dword [esp + 0x74]
push edi
push edx
push esi
call fcn.10054bf0
push eax
mov eax, dword [esp + 0x8c]
push eax
push ebx
call fcn.10054bf0
add esp, 0x18
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov ecx, esi
call fcn.10080280
sub esp, 0x14
mov ecx, esp
mov dword [esp + 0x9c], esp
mov dword [ecx], ebp
mov dword [ecx + 4], ebp
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebp
mov ebp, dword [esp + 0x90]
mov edx, dword [eax + 0x10]
push ebp
lea eax, [esp + 0x40]
push ebx
push eax
mov dword [ecx + 0x10], edx
call fcn.10059f70
mov edi, dword [esp + 0x48]
add esp, 0x20
test edi, edi
je 0x10056e3c
cmp edi, dword [esp + 0x30]
je 0x10056e33
push 0
mov ecx, edi
call fcn.1002db60
mov eax, dword [esp + 0x30]
add edi, 0x10
cmp edi, eax
jne 0x10056e1b
mov edi, dword [esp + 0x28]
push edi
call fcn.10088e50
add esp, 4
mov esi, dword [esi + 0x10]
mov dl, byte [esp + 0x8c]
mov edi, ebp
mov ebp, dword [esp + 0x74]
mov ecx, dword [esi]
mov esi, dword [esi + 4]
cmp ebp, ebx
mov dword [esp + 0x88], ecx
mov byte [esp + 0x80], dl
je 0x10056ec1
cmp dword [esp + 0x88], esi
je 0x10056f00
sub ebx, 0x10
sub esi, 0x10
push ebx
push esi
lea ecx, [esp + 0x88]
call fcn.10054bb0
test al, al
je 0x10056ea3
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
sub edi, 0x10
mov ecx, dword [eax]
push ecx
push 0
push ebx
mov ecx, edi
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_]
add esi, 0x10
jmp 0x10056ebd
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
sub edi, 0x10
mov ecx, edi
mov eax, dword [edx]
push eax
push 0
push 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_]
add ebx, 0x10
cmp ebp, ebx
jne 0x10056e63
cmp dword [esp + 0x88], esi
je 0x10056f0b
sub edi, esi
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
sub esi, 0x10
mov edx, dword [ecx]
lea ecx, [edi + esi]
push edx
push 0
push 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_]
cmp esi, dword [esp + 0x88]
jne 0x10056ecc
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
push edi
push ebx
push ebp
call fcn.100530b0
add esp, 0xc
mov ecx, dword [esp + 0x64]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x60
ret