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

Disassembly:
push 0xffffffffffffffff
push 0x412175
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
mov eax, dword [esp + 0x100]
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.00409840
add esp, 8
mov dl, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x10c], 0
mov byte [esp + 0x4c], 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 al, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x60]
mov byte [esp + 0x10c], 1
mov byte [esp + 0x60], 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 cl, byte [esp + 0x12]
push 0
mov byte [esp + 0xa4], cl
lea ecx, [esp + 0xa4]
mov byte [esp + 0x10c], 2
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, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4172c0
lea ecx, [esp + 0xa8]
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 dl, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x94]
mov byte [esp + 0x10c], 3
mov byte [esp + 0x94], 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 edi, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4172c0
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__::assign_char_const___unsigned_int_]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x90]
push eax
push ecx
lea ecx, [esp + 0xd8]
mov byte [esp + 0x110], 4
call fcn.00409ab0
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x10c], 7
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 + 0xa4]
mov byte [esp + 0x10c], 6
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 + 0x12]
push 0
mov byte [esp + 0x84], dl
lea ecx, [esp + 0x84]
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, 0x416f04
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x416f04
lea ecx, [esp + 0x88]
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 al, byte [esp + 0x12]
mov bl, 8
push 0
lea ecx, [esp + 0x74]
mov byte [esp + 0x10c], bl
mov byte [esp + 0x74], 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, 0x416f00
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x416f00
lea ecx, [esp + 0x78]
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 + 0x80]
lea edx, [esp + 0x70]
push ecx
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0xdc]
mov byte [esp + 0x114], 9
call fcn.00409eb0
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x10c], 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 + 0x84]
mov byte [esp + 0x10c], 6
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 0
lea ecx, [esp + 0xd4]
call fcn.00409d30
mov esi, eax
test esi, esi
mov dword [esp + 0x6c], esi
jne 0x40adb2
mov eax, dword [ebp + 0x24]
test eax, eax
jne 0x40ad3a
xor edx, edx
jmp 0x40ad50
mov ecx, dword [ebp + 0x28]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
mov dword [ebp + 0x1c], edx
call fcn.0040b690
lea ecx, [esp + 0xd0]
mov byte [esp + 0x108], 2
call fcn.00409c60
push 1
lea ecx, [esp + 0x60]
mov byte [esp + 0x10c], 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 + 0x4c]
mov byte [esp + 0x10c], 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_]
push 1
lea ecx, [esp + 0x18]
mov dword [esp + 0x10c], 0xffffffff
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
jmp 0x40b3d2
lea edx, [esp + 0x12]
lea ecx, [esp + 0x28]
push edx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x38]
push eax
mov byte [esp + 0x10c], 0xa
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
xor eax, eax
mov byte [esp + 0x108], 0xb
test esi, esi
mov dword [esp + 0x58], eax
jle 0x40b244
push eax
lea ecx, [esp + 0xa4]
push 0
push ecx
lea ecx, [esp + 0xdc]
call fcn.00409d70
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 + 0x108], 0xc
mov ecx, dword [edx]
push ecx
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0xa4]
mov byte [esp + 0x10c], 0xb
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 + 0x13]
push 0
lea ecx, [esp + 0x74]
mov byte [esp + 0x74], 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 edi, 0x416efc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x416efc
lea ecx, [esp + 0x78]
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 al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x10c], 0xd
mov byte [esp + 0x84], 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, 0x416efc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x416efc
lea ecx, [esp + 0x88]
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 + 0x70]
lea edx, [esp + 0x80]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x98]
push eax
push ecx
mov byte [esp + 0x118], 0xe
call fcn.00409990
add esp, 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 byte [esp + 0x108], 0xf
mov ecx, dword [edx]
push ecx
push 0
push eax
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push 1
lea ecx, [esp + 0x94]
mov byte [esp + 0x10c], 0xe
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 + 0x84]
mov byte [esp + 0x10c], 0xd
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 byte [esp + 0x108], 0xb
push 1
lea ecx, [esp + 0x74]
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]
test eax, eax
je 0x40b22f
mov ebx, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
lea edx, [esp + 0x14]
push 0x41623c
push edx
call ebx
add esp, 8
test al, al
jne 0x40b1db
lea eax, [esp + 0x14]
push 0x416ef0
push eax
call ebx
add esp, 8
test al, al
jne 0x40b1db
lea ecx, [esp + 0x14]
push 0x416ef8
push ecx
call ebx
add esp, 8
test al, al
jne 0x40b1db
lea edx, [esp + 0x14]
push 0x416ef4
push edx
call ebx
add esp, 8
test al, al
jne 0x40b1db
lea eax, [esp + 0x14]
push 0x416200
push eax
call ebx
add esp, 8
test al, al
jne 0x40b1db
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, 0x41623c
xor eax, eax
mov edx, dword [ecx]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x41623c
lea ecx, [esp + 0x20]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::rfind_char_const___unsigned_int__unsigned_int_const]
mov esi, eax
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 esi, dword [eax]
jne 0x40b011
mov byte [esp + 0x24], 1
mov edx, dword [eax]
push edx
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x34]
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_]
jmp 0x40b1ff
push esi
lea eax, [esp + 0xc4]
push 0
push eax
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__::substr_unsigned_int__unsigned_int_]
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 + 0x108], 0x10
mov edx, dword [ecx]
lea ecx, [esp + 0x48]
push edx
push 0
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 + 0xc4]
mov byte [esp + 0x10c], 0xb
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]
lea ecx, [esp + 0xb0]
sub eax, esi
dec eax
inc esi
push eax
push esi
push ecx
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__::substr_unsigned_int__unsigned_int_]
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 + 0x108], 0x11
mov ecx, dword [edx]
push ecx
push 0
push eax
lea ecx, [esp + 0x68]
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 + 0xb4]
mov byte [esp + 0x10c], 0xb
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]
push 0x4172c0
push edx
call ebx
add esp, 8
test al, al
jne 0x40b189
lea eax, [esp + 0x48]
push 0x416ef0
push eax
call ebx
add esp, 8
test al, al
jne 0x40b189
lea ecx, [esp + 0x5c]
push 0x4172c0
push ecx
call ebx
add esp, 8
test al, al
jne 0x40b123
lea edx, [esp + 0x5c]
push 0x416ef0
push edx
call ebx
add esp, 8
test al, al
jne 0x40b123
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 byte [esp + 0x24], 4
lea edx, [esp + 0x48]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0x34]
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_]
jmp 0x40b1ad
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 byte [esp + 0x24], 3
lea edx, [esp + 0x48]
mov ecx, dword [eax]
push ecx
push 0
push edx
lea ecx, [esp + 0x34]
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 edi, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x3c]
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 0x40b1c6
mov edi, dword [esp + 0x3c]
mov ecx, ebx
mov eax, ecx
mov esi, 0x4172c0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x3c]
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_]
jmp 0x40b1c6
mov edi, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], 2
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4172c0
lea ecx, [esp + 0x30]
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 eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x5c]
mov ecx, dword [eax]
push ecx
push 0
push edx
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x20]
lea edx, [esp + 0x24]
push edx
push 1
push eax
call fcn.0040c7a0
jmp 0x40b22f
mov edi, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x24], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4172c0
lea ecx, [esp + 0x30]
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 edi, 0x4172c0
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x4172c0
lea ecx, [esp + 0x40]
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 eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x20]
lea edx, [esp + 0x24]
push edx
push eax
call fcn.0040bc80
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x58], eax
jl 0x40adee
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
push 0
push eax
push ecx
call fcn.0040ea20
mov edi, dword [ebp + 0x28]
mov esi, dword [ebp + 0x24]
add esp, 0xc
cmp esi, edi
mov ebx, esi
je 0x40b2d1
add esi, 0x24
cmp esi, edi
je 0x40b2d1
push esi
mov ecx, ebx
call fcn.0040b640
test eax, eax
jne 0x40b279
mov ebx, esi
jmp 0x40b262
cmp ebx, edi
mov eax, ebx
je 0x40b28f
mov eax, dword [esp + 0x6c]
push eax
push ebx
push edi
push ebx
call fcn.00410800
add esp, 0x10
mov ebx, dword [ebp + 0x28]
mov esi, eax
cmp edi, ebx
je 0x40b2aa
push edi
mov ecx, esi
call fcn.0040b3f0
add edi, 0x24
add esi, 0x24
cmp edi, ebx
jne 0x40b298
mov ebx, dword [ebp + 0x28]
mov edi, esi
cmp esi, ebx
je 0x40b2c1
mov ecx, edi
call fcn.004014c0
add edi, 0x24
cmp edi, ebx
jne 0x40b2b3
mov dword [ebp + 0x28], esi
mov eax, dword [ebp + 0x24]
xor esi, esi
cmp eax, esi
jne 0x40b2d5
xor edx, edx
jmp 0x40b2eb
mov eax, edi
jmp 0x40b28f
mov ecx, dword [ebp + 0x28]
sub ecx, eax
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, ebp
mov dword [ebp + 0x1c], edx
call fcn.0040b690
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 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_]
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x40b32e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x40b325
cmp al, 0xff
je 0x40b325
dec al
mov byte [ecx], al
jmp 0x40b32e
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0xd0]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov byte [esp + 0x108], 2
call fcn.00409c60
mov ecx, dword [esp + 0x60]
cmp ecx, esi
je 0x40b372
mov al, byte [ecx - 1]
test al, al
je 0x40b368
cmp al, 0xff
je 0x40b368
dec al
mov byte [ecx - 1], al
jmp 0x40b372
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x60], esi
cmp ecx, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
je 0x40b3a2
mov al, byte [ecx - 1]
test al, al
je 0x40b398
cmp al, 0xff
je 0x40b398
dec al
mov byte [ecx - 1], al
jmp 0x40b3a2
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x4c], esi
cmp ecx, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
je 0x40b3d2
mov al, byte [ecx - 1]
test al, al
je 0x40b3c8
cmp al, 0xff
je 0x40b3c8
dec al
mov byte [ecx - 1], al
jmp 0x40b3d2
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x100]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xfc
ret 4