Function at 0x531f90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5a74a2
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x10]
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi], eax
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dword [esi + 8], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
mov dword [esi + 0x18], ebx
mov ecx, dword [eax + 0x12c]
mov dword [eax + 0x130], ecx
mov edx, dword [esi]
push 0x606a01
push 0x606a00
mov dword [edx + 0xc], ebx
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov ecx, eax
call fcn.004708b0
mov dword [esi + 0x28], eax
mov eax, dword [esi + 4]
push 0x6069fd
push 0x6069fc
mov eax, dword [eax]
mov ecx, eax
call fcn.004708b0
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 4]
push 0x6069f9
push str.lower
mov eax, dword [eax]
mov ecx, eax
call fcn.004708b0
mov dword [esi + 0x30], eax
mov eax, dword [esi + 4]
push 0x6069f1
push str.upper
mov ebp, dword [eax]
mov ecx, ebp
call fcn.00536b90
mov edi, eax
cmp edi, ebx
jne 0x5320f3
lea eax, [esp + 0x12]
lea ecx, [esp + 0x18]
push eax
push 0x6069f1
push str.upper
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___char_const___class_std::allocator_char__const__]
mov eax, dword [esp + 0x20]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x40], ebx
jbe 0x5320aa
push edi
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [eax]
push edi
mov byte [esp + 0x18], cl
lea ecx, [esp + 0x1c]
mov edx, dword [esp + 0x18]
and edx, 0xff
mov al, byte [edx + ebp + 0x104]
mov byte [esp + 0x4c], al
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [esp + 0x48]
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x20]
cmp edi, eax
jb 0x53206a
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
mov dword [esp + 0x48], edx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x1c]
add eax, edi
push eax
push ecx
mov ecx, ebp
call fcn.00536b90
push 1
lea ecx, [esp + 0x1c]
mov edi, eax
mov dword [esp + 0x44], 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_]
mov eax, dword [esi + 4]
mov dword [esi + 0x34], edi
push 0x6069e9
push str.alpha
mov ebp, dword [eax]
mov ecx, ebp
call fcn.00536b90
mov edi, eax
cmp edi, ebx
jne 0x5321ca
lea edx, [esp + 0x13]
lea ecx, [esp + 0x28]
push edx
push 0x6069e9
push str.alpha
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___char_const___class_std::allocator_char__const__]
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x40], 1
jbe 0x532181
push edi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov al, byte [eax]
push edi
mov byte [esp + 0x18], al
mov ecx, dword [esp + 0x18]
and ecx, 0xff
mov dl, byte [ecx + ebp + 0x104]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], dl
call dword [sym.imp.MSVCP60.dll_public:_char____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator___unsigned_int_]
mov cl, byte [esp + 0x48]
inc edi
mov byte [eax], cl
mov eax, dword [esp + 0x30]
cmp edi, eax
jb 0x532141
lea ecx, [esp + 0x28]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], edx
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Freeze_void_]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
add eax, edi
push eax
push ecx
mov ecx, ebp
call fcn.00536b90
push 1
lea ecx, [esp + 0x2c]
mov edi, eax
mov dword [esp + 0x44], 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_]
mov dl, byte [esp + 0x48]
mov ecx, dword [esp + 0x38]
mov dword [esi + 0x38], edi
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov byte [esi + 0x5c], bl
mov byte [esi + 0x60], dl
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4