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

Disassembly:
push 0xffffffffffffffff
push 0x407f1c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x10], ebp
mov al, byte [esp + 0x88]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x80], 2
mov byte [esp + 0x48], al
call fcn.00404740
lea ecx, [esp + 0x5c]
call fcn.00404740
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
lea ecx, [esp + 0x9c]
lea edx, [esp + 0x8c]
push ecx
push edx
mov byte [esp + 0x88], 3
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
test al, al
je 0x4072d2
cmp dword [esp + 0x74], ebp
je 0x4071e2
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
cmp ecx, edx
je 0x4071e2
lea eax, [ecx + 0x10]
cmp eax, edx
mov dword [esp + 0x64], eax
jne 0x4071d8
lea eax, [esp + 0x8c]
push eax
push ecx
call fcn.00403b90
add esp, 8
lea ecx, [esp + 0x48]
call fcn.004037d0
jmp 0x407209
lea edx, [esp + 0x8c]
push edx
jmp 0x407200
lea ecx, [esp + 0x48]
call fcn.004037d0
mov eax, dword [esp + 0x64]
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x64], eax
lea eax, [esp + 0x8c]
push eax
push ecx
call fcn.00403b90
add esp, 8
mov esi, dword [esp + 0x88]
mov ebx, dword [esp + 0x74]
mov cl, byte [esp + 0x48]
inc ebx
mov byte [esi], cl
lea ecx, [esi + 4]
mov dword [esp + 0x74], ebx
call fcn.00404740
lea ecx, [esi + 0x14]
call fcn.00404740
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x18]
push edx
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.00404750
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x28]
push eax
call fcn.00404750
mov edx, dword [esp + 0x18]
push esi
mov eax, dword [esp + 0x20]
sub esp, 0x10
mov ecx, esp
sub esp, 0x10
mov dword [ecx], edx
mov edx, dword [esp + 0x44]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x48]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x4c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x50]
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00404770
add esp, 0x28
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x74]
mov byte [esp + 0x80], 2
cmp eax, ebp
je 0x407585
lea ecx, [esp + 0x48]
call fcn.00404680
cmp dword [esp + 0x74], ebp
jne 0x4072be
jmp 0x407585
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0xa4]
cmp eax, ecx
ja 0x4073ab
mov esi, dword [esp + 0x88]
mov dl, byte [esp + 0x48]
lea ecx, [esi + 4]
mov byte [esi], dl
call fcn.00404740
lea ecx, [esi + 0x14]
call fcn.00404740
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x28]
push eax
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
call fcn.00404750
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00404750
mov eax, dword [esp + 0x28]
push esi
mov ecx, dword [esp + 0x30]
sub esp, 0x10
mov edx, esp
sub esp, 0x10
mov dword [edx], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x58]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x40]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x44]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x48]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
lea edx, [esp + 0x38]
push edx
call fcn.00404770
mov eax, dword [esp + 0x9c]
add esp, 0x28
cmp eax, ebp
mov dword [esp + 0x10], 1
mov byte [esp + 0x80], 2
je 0x407585
lea ecx, [esp + 0x48]
call fcn.00404680
cmp dword [esp + 0x74], ebp
jne 0x407397
jmp 0x407585
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 eax, ecx
lea ecx, [esp + 0x8c]
mov edx, dword [edx]
push edx
push eax
lea eax, [esp + 0x30]
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 + 0x9c]
mov byte [esp + 0x80], 4
push ecx
push eax
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
lea ecx, [esp + 0x28]
mov bl, al
mov byte [esp + 0x80], 3
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_]
test bl, bl
je 0x40741c
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 + 0x9c]
mov eax, dword [edx]
push eax
push ebp
push ecx
lea ecx, [esp + 0x98]
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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov dl, byte [esp + 0x88]
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c], dl
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 + 0xa0]
mov bl, 5
cmp eax, ebp
mov byte [esp + 0x80], bl
jne 0x40744b
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 ecx, dword [esp + 0xa4]
push ecx
push ebp
push eax
lea ecx, [esp + 0x98]
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 esi, eax
cmp esi, 0xffffffff
je 0x407545
push esi
lea edx, [esp + 0x2c]
push ebp
push edx
lea ecx, [esp + 0x98]
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 edi, eax
mov eax, dword [esp + 0x74]
mov byte [esp + 0x80], 6
cmp eax, ebp
je 0x4074bf
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
cmp ecx, edx
je 0x4074bf
lea eax, [ecx + 0x10]
push edi
cmp eax, edx
mov dword [esp + 0x68], eax
push ecx
jne 0x4074d7
call fcn.00403b90
add esp, 8
lea ecx, [esp + 0x48]
call fcn.004037d0
jmp 0x4074df
lea ecx, [esp + 0x48]
call fcn.004037d0
mov eax, dword [esp + 0x64]
push edi
mov ecx, eax
add eax, 0x10
mov dword [esp + 0x68], eax
push ecx
call fcn.00403b90
add esp, 8
mov eax, dword [esp + 0x74]
push 1
inc eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x78], eax
mov byte [esp + 0x84], bl
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 + 0xa4]
lea ecx, [esp + 0x8c]
add eax, esi
push eax
push 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__::erase_unsigned_int__unsigned_int_]
mov eax, dword [esp + 0xa0]
cmp eax, ebp
jne 0x407523
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 ecx, dword [esp + 0xa4]
push ecx
push ebp
push eax
lea ecx, [esp + 0x98]
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 esi, eax
cmp esi, 0xffffffff
jne 0x40746d
mov esi, dword [esp + 0x88]
lea edx, [esp + 0x48]
push edx
mov ecx, esi
call fcn.00403130
push 1
lea ecx, [esp + 0x3c]
mov dword [esp + 0x14], 1
mov byte [esp + 0x84], 3
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 2
call fcn.00403380
push 1
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 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_]
push 1
lea ecx, [esp + 0xa0]
mov byte [esp + 0x84], 0
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 + 0x78]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x74
ret 0x24