Function at 0x401a40
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x40de04
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
xor edx, edx
mov dword [ecx], eax
lea edi, [esi + 0x11]
xor ebx, ebx
mov byte [esp + 0x41], 0x37
mov dword [ecx + 4], eax
push ebx
mov byte [esp + 0x46], 0x71
mov byte [esp + 0x48], 0x63
mov dword [ecx + 8], eax
mov byte [esp + 0x4b], 0x41
mov byte [esp + 0x4c], 0x75
mov byte [esp + 0x4d], 0x4b
mov dword [ecx + 0xc], eax
mov byte [esp + 0x4e], 0x70
mov byte [esp + 0x4f], 0x4e
mov byte [esp + 0x50], 0x34
mov byte [ecx + 0x10], al
mov eax, edi
mov cl, 0x5e
mov byte [esp + 0x53], 0x61
mov dword [eax], edx
mov byte [esp + 0x44], cl
mov byte [esp + 0x49], cl
mov cl, 0x46
mov dword [eax + 4], edx
mov byte [esp + 0x59], cl
mov byte [esp + 0x5f], cl
mov cl, byte [esp + 0x13]
mov dword [eax + 8], edx
mov byte [esp + 0x24], cl
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], bl
mov dword [eax + 0xc], edx
mov byte [esp + 0x58], 0x68
mov byte [esp + 0x5a], 0x36
mov byte [esp + 0x5c], 0x38
mov byte [eax + 0x10], dl
mov al, 0x39
mov byte [esp + 0x47], al
mov byte [esp + 0x4a], al
mov al, 0x32
mov dl, 0x21
mov byte [esp + 0x51], al
mov byte [esp + 0x52], dl
mov byte [esp + 0x5b], dl
mov byte [esp + 0x5d], 0x25
mov byte [esp + 0x5e], 0x4b
mov byte [esp + 0x60], 0x73
mov byte [esp + 0x61], 0x59
mov byte [esp + 0x62], 0x47
mov byte [esp + 0x63], 0x76
mov byte [esp + 0x64], 0x67
mov byte [esp + 0x65], al
mov byte [esp + 0x66], 0x6f
mov byte [esp + 0x67], al
mov byte [esp + 0x68], 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 dl, byte [esp + 0xf]
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x74], ebx
mov byte [esp + 0x14], 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_]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
push ecx
mov byte [esp + 0x78], 1
call fcn.00405640
lea edx, [esp + 0x18]
lea eax, [esp + 0x5c]
push edx
push eax
call fcn.00405640
add esp, 0x10
lea ecx, [esp + 0x30]
push 0x10
push 0x10
push ecx
lea ecx, [esp + 0x2c]
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 + 0x70], 2
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x2c]
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 + 0x34]
mov byte [esp + 0x74], 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 0x10
lea edx, [esp + 0x34]
push 0x10
push edx
lea ecx, [esp + 0x1c]
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 + 0x70], 3
mov edx, dword [ecx]
lea ecx, [esp + 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_]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x401c0b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x401c02
cmp al, 0xff
je 0x401c02
dec al
mov byte [ecx], al
jmp 0x401c0b
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0x24]
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]
cmp edx, ebx
je 0x401c1a
mov eax, edx
mov ecx, dword [eax]
mov dword [esi], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xc], eax
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]
cmp ecx, ebx
je 0x401c3f
mov eax, ecx
mov esi, dword [eax]
cmp ecx, ebx
mov dword [edi], esi
mov esi, dword [eax + 4]
mov dword [edi + 4], esi
mov esi, dword [eax + 8]
mov dword [edi + 8], esi
mov eax, dword [eax + 0xc]
mov dword [edi + 0xc], eax
je 0x401c79
mov al, byte [ecx - 1]
cmp al, bl
je 0x401c6b
cmp al, 0xff
je 0x401c6b
dec al
mov byte [ecx - 1], al
jmp 0x401c75
dec ecx
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [esp + 0x24]
cmp edx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
je 0x401cb7
mov al, byte [edx - 1]
cmp al, bl
je 0x401cad
cmp al, 0xff
je 0x401cad
dec al
pop edi
mov byte [edx - 1], al
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret
dec edx
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret