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

Disassembly:
push 0xffffffffffffffff
push 0x454893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ebp, dword [esp + 0x124]
lea eax, [esp + 0x28]
xor ebx, ebx
push 7
push eax
mov ecx, ebp
mov dword [esp + 0x124], ebx
mov dword [esp + 0x1c], ebx
call fcn.0040a150
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 byte [esp + 0x11c], 1
mov edx, dword [ecx]
lea ecx, [edi + 0x10]
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 + 0x2c]
mov byte [esp + 0x120], 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_]
lea eax, [esp + 0x28]
push 8
push eax
mov ecx, ebp
call fcn.0040a150
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 byte [esp + 0x11c], 2
mov edx, dword [ecx]
lea ecx, [edi + 0x20]
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 + 0x2c]
mov byte [esp + 0x120], 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_]
lea eax, [esp + 0x28]
push 9
push eax
mov ecx, ebp
call fcn.0040a150
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 byte [esp + 0x11c], 3
mov edx, dword [ecx]
lea ecx, [edi + 0x30]
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 + 0x2c]
mov byte [esp + 0x120], 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_]
lea eax, [esp + 0x28]
push 0xa
push eax
mov ecx, ebp
call fcn.0040a150
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 byte [esp + 0x11c], 4
mov edx, dword [ecx]
lea ecx, [edi + 0x40]
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_]
mov byte [esp + 0x11c], bl
push 1
lea ecx, [esp + 0x2c]
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 eax, [esp + 0x28]
push 0xc
push eax
mov ecx, ebp
call fcn.0040a150
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 byte [esp + 0x11c], 5
mov edx, dword [ecx]
lea ecx, [edi + 0x50]
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 + 0x2c]
mov byte [esp + 0x120], 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_]
push 0xb
mov ecx, ebp
call fcn.0040a0e0
mov eax, dword [eax]
lea edx, [esp + 0x20]
push edx
mov eax, dword [eax]
mov dword [edi + 0x60], eax
mov ecx, dword [ebp + 4]
call fcn.00410ae0
mov eax, dword [esp + 0x20]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x38], eax
cmp eax, dword [ecx + 4]
je 0x409b79
mov ecx, dword [eax + 0xc]
add ecx, 0xfffffff3
cmp ecx, 9
ja case.default.0x409a66
jmp dword [ecx*4 + 0x409fe4]
mov eax, dword [eax + 0x10]
cmp dword [eax], ebx
setne cl
mov byte [edi + 0x64], cl
jmp case.default.0x409a66
mov edx, dword [eax + 0x10]
cmp dword [edx], ebx
setne al
mov byte [edi + 0x65], al
jmp case.default.0x409a66
mov ecx, dword [eax + 0x10]
cmp dword [ecx], ebx
setne dl
mov byte [edi + 0x66], dl
jmp case.default.0x409a66
mov eax, dword [eax + 0x10]
cmp dword [eax], ebx
setne cl
mov byte [edi + 0x67], cl
jmp case.default.0x409a66
mov edx, dword [eax + 0x10]
cmp dword [edx], ebx
setne al
mov byte [edi + 0x68], al
jmp case.default.0x409a66
mov ecx, dword [eax + 0x10]
cmp dword [ecx], ebx
setne dl
mov byte [edi + 0x69], dl
jmp case.default.0x409a66
mov eax, dword [eax + 0x10]
cmp dword [eax], ebx
setne cl
mov byte [edi + 0x6a], cl
jmp case.default.0x409a66
mov edx, dword [eax + 0x10]
cmp dword [edx], ebx
setne al
mov byte [edi + 0x6b], al
jmp case.default.0x409a66
lea ecx, [esp + 0x28]
push ecx
lea ecx, [eax + 0x10]
call fcn.0040a010
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 byte [esp + 0x11c], 6
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [edi + 0x6c]
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 byte [esp + 0x11c], bl
push 1
lea ecx, [esp + 0x2c]
jmp 0x409b58
lea edx, [esp + 0x58]
lea ecx, [eax + 0x10]
push edx
call fcn.0040a010
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 byte [esp + 0x11c], 7
mov edx, dword [ecx]
lea ecx, [edi + 0x7c]
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_]
mov byte [esp + 0x11c], bl
push 1
lea ecx, [esp + 0x5c]
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 + 0x38]
call fcn.004046c0
mov eax, dword [ebp + 4]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x38]
cmp eax, ecx
jne 0x409a57
mov ecx, dword [ebp]
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov ecx, dword [ecx + 4]
cmp eax, ecx
je 0x409f85
mov eax, dword [eax + 0xc]
lea ecx, [esp + 0x12]
push ecx
lea edx, [esp + 0x17]
push ebx
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x48], eax
call fcn.0040d7b0
lea eax, [esp + 0x58]
lea ecx, [esp + 0x3c]
push eax
push ecx
lea ecx, [esp + 0x108]
mov byte [esp + 0x124], 8
call fcn.0040d5b0
lea edx, [esp + 0xa8]
push eax
push edx
mov ecx, edi
mov byte [esp + 0x124], 9
call fcn.0040d460
mov esi, dword [eax]
lea ecx, [esp + 0x104]
mov byte [esp + 0x11c], 8
call fcn.0040d140
lea ecx, [esp + 0x58]
mov byte [esp + 0x11c], bl
call fcn.0040d140
mov ecx, dword [esp + 0x18]
add esi, 0x10
mov dword [esp + 0x20], esi
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x10]
cmp eax, dword [ecx + 4]
je 0x409f6c
cmp dword [esp + 0x14], ebx
jne 0x409f6c
cmp dword [esp + 0x130], ebx
je 0x409eee
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x40]
push ecx
mov dword [esp + 0x28], 5
mov esi, dword [eax + 4]
push edx
mov ecx, eax
call fcn.0040d410
cmp dword [esp + 0x40], esi
je 0x409eea
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x28], 5
mov ecx, dword [eax + 0x14]
lea esi, [eax + 0x14]
lea eax, [esp + 0x48]
push eax
call fcn.0040d410
mov esi, dword [esi]
mov ebp, dword [esp + 0x44]
mov esi, dword [esi + 4]
cmp ebp, esi
je 0x409fa2
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0xc8]
push 3
push ecx
lea ecx, [edx + 0x10]
call fcn.0040a150
mov esi, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x11c], 0xa
mov ecx, dword [eax + 0xc]
lea eax, [esp + 0x128]
mov edx, dword [ecx*4 + 0x461a20]
lea ecx, [esp + 0xb0]
push edx
push eax
push ecx
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
push 0x5c
lea edx, [esp + 0xe8]
push eax
push edx
mov byte [esp + 0x134], 0xb
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_
push esi
push eax
lea eax, [esp + 0x110]
mov byte [esp + 0x13c], 0xc
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____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, 0x24
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x120], 0xd
call fcn.00414e60
push 1
lea ecx, [esp + 0xf4]
mov byte [esp + 0x120], 0x12
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 + 0xdc]
mov byte [esp + 0x120], 0x11
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 + 0xb4]
mov byte [esp + 0x120], 0x10
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 + 0xcc]
mov byte [esp + 0x120], 0xf
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 + 0x78]
call fcn.004157c0
test al, al
jne 0x409e29
mov cl, byte [esp + 0x128]
sub esp, 0x10
mov esi, esp
mov dword [esp + 0x24], esp
push ebx
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 + 0x138]
mov eax, dword [edx]
push eax
push ebx
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_]
call fcn.00415c20
mov edx, esp
mov dword [esp + 0x24], esp
push edx
lea ecx, [esp + 0x8c]
call fcn.004150c0
call fcn.00415c20
add esp, 0x10
lea eax, [esp + 0x28]
lea ecx, [esp + 0x78]
push eax
call fcn.00403270
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
mov byte [esp + 0x124], 0x13
push ecx
call fcn.0041aee0
add esp, 0xc
lea ecx, [esp + 0x28]
mov dword [esp + 0x14], eax
mov byte [esp + 0x11c], 0xf
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_]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x78]
push edx
call fcn.00403270
lea eax, [esp + 0x48]
lea ecx, [esp + 0xe8]
push eax
push ecx
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x124], 0x14
call fcn.0040d7e0
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x409e7a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x409e71
cmp al, 0xff
je 0x409e71
dec al
mov byte [ecx], al
jmp 0x409e7a
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
push 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x120], 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_]
push 1
lea ecx, [esp + 0x8c]
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 + 0x7c]
cmp ecx, ebx
je 0x409ecf
mov al, byte [ecx - 1]
cmp al, bl
je 0x409ec5
cmp al, 0xff
je 0x409ec5
dec al
mov byte [ecx - 1], al
jmp 0x409ecf
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
jmp 0x409f4f
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x68]
push 3
push edx
lea ecx, [eax + 0x10]
call fcn.0040a150
mov ecx, dword [esp + 0x20]
push eax
lea eax, [esp + 0xc4]
mov byte [esp + 0x120], 0x15
push eax
call fcn.0040d7e0
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x11c], bl
cmp eax, ebx
je 0x409f43
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x409f3a
cmp al, 0xff
je 0x409f3a
dec al
mov byte [ecx], al
jmp 0x409f43
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
lea ecx, [esp + 0x1c]
call fcn.00404040
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x10]
cmp eax, dword [edx + 4]
jne 0x409c2a
lea ecx, [esp + 0x18]
call fcn.00404040
mov ecx, dword [ebp]
mov eax, dword [esp + 0x18]
cmp eax, dword [ecx + 4]
jne 0x409b90
mov ecx, dword [esp + 0x12c]
cmp ecx, ebx
je 0x409fc3
mov al, byte [ecx - 1]
cmp al, bl
je 0x409fb9
cmp al, 0xff
je 0x409fb9
dec al
mov byte [ecx - 1], al
jmp 0x409fc3
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x12]
push 0x45c3a8
push eax
mov byte [esp + 0x1a], dl
call sub.MSVCRT.dll__CxxThrowException
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x114]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x110
ret 0x14