Function at 0x40ac60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41ba12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x264
mov al, byte [esp]
push ebp
push esi
xor esi, esi
push esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x14], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
lea ecx, [esp + 8]
lea edx, [esp + 0xb]
push ecx
push esi
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x280], esi
call fcn.0040cd60
mov dword [esp + 0xc], 0x41e064
mov dword [esp + 0x20], esi
mov ebp, dword [esp + 0x288]
lea ecx, [esp + 0xc]
push ebp
mov dword [esp + 0x278], 1
call fcn.00409c80
test eax, eax
je 0x40ae8b
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x6a]
mov word [esp + 0x68], si
push 0xa
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x28c]
stosw word es:[edi], ax
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__itow]
add esp, 0xc
cmp eax, esi
pop edi
je 0x40ae8b
mov eax, dword [esp + 0x27c]
lea edx, [esp + 9]
push edx
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov edx, dword [esp + 0x280]
lea ecx, [esp + 0xa]
push ecx
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x27c], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
lea eax, [esp + 0x34]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x278], 3
call fcn.0040a810
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x10]
call fcn.0040a810
lea edx, [esp + 0x34]
lea ecx, [esp + 0x24]
push edx
call fcn.0040c4b0
push eax
lea ecx, [esp + 0x48]
call fcn.0040aa70
lea eax, [esp + 0x54]
lea ecx, [esp + 0x44]
push eax
mov byte [esp + 0x278], 4
call fcn.0040c7e0
lea ecx, [esp + 0x64]
mov esi, eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [esp + 0x64]
mov ecx, esi
push eax
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
lea eax, [esp + 0x34]
lea ecx, [esp + 0x24]
push eax
call fcn.0040c4b0
lea ecx, [esp + 0x44]
push ecx
mov ecx, eax
call fcn.0040d030
lea ecx, [esp + 0x44]
mov byte [esp + 0x274], 3
call fcn.0040ca20
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x278], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x278], 1
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
push ebp
lea ecx, [esp + 0x10]
call fcn.00409f60
mov esi, eax
mov dword [esp + 0xc], 0x41e064
lea ecx, [esp + 0x24]
mov dword [esp + 0x274], 5
call fcn.0040c640
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ae72
mov cl, byte [eax - 1]
test cl, cl
je 0x40ae66
cmp cl, 0xff
je 0x40ae66
dec cl
mov byte [eax - 1], cl
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
add esp, 0x270
ret
add eax, 0xfffffffe
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
add esp, 0x270
ret
mov dword [esp + 0xc], 0x41e064
lea ecx, [esp + 0x24]
mov dword [esp + 0x274], 6
call fcn.0040c640
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x40aecd
mov al, byte [ecx - 1]
test al, al
je 0x40aec1
cmp al, 0xff
je 0x40aec1
dec al
mov byte [ecx - 1], al
jmp 0x40aecd
add ecx, 0xfffffffe
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x26c]
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x270
ret