Function at 0x421790
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4d4bc8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x34]
lea ebx, [esi + esi + 2]
cmp ebx, eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], esi
jge 0x421875
lea ecx, [ecx]
mov eax, ebx
shl eax, 4
add eax, ebx
lea edx, [ebp + eax*4]
lea ecx, [edx - 0x44]
lea eax, [esp + 0x7c]
call fcn.0041f600
test al, al
je 0x4217fe
sub ebx, 1
mov edx, esi
mov ecx, ebx
shl ecx, 4
shl edx, 4
add ecx, ebx
add edx, esi
lea edi, [ebp + ecx*4]
lea esi, [ebp + edx*4]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP80.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__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [edi + 0x1c]
mov ebp, edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
sub ebp, esi
mov ecx, 0x10
nop
mov dl, byte [eax + ebp]
mov byte [eax], dl
add eax, 1
sub ecx, 1
jne 0x421830
mov eax, dword [edi + 0x30]
mov ebp, dword [esp + 0x18]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov esi, ebx
lea ebx, [ebx + ebx + 2]
cmp ebx, dword [esp + 0x34]
jl 0x4217e0
mov eax, dword [esp + 0x34]
cmp ebx, eax
jne 0x421899
mov edx, eax
shl edx, 4
add edx, eax
mov eax, esi
shl eax, 4
add eax, esi
lea edi, [ebp + edx*4 - 0x44]
lea esi, [ebp + eax*4]
call fcn.00420fd0
mov ecx, dword [esp + 0x34]
lea esi, [ecx - 1]
mov edx, dword [esp + 0x7c]
push edx
sub esp, 0x44
mov edi, esp
lea eax, [esp + 0x80]
mov dword [esp + 0x60], esp
push eax
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x9c]
mov dword [edi + 0x1c], ecx
mov edx, dword [esp + 0xa0]
mov dword [edi + 0x20], edx
mov eax, dword [esp + 0xa4]
mov dword [edi + 0x24], eax
mov ecx, dword [esp + 0xa8]
mov dword [edi + 0x28], ecx
mov edx, dword [esp + 0xac]
mov dword [edi + 0x2c], edx
mov eax, dword [esp + 0xb0]
mov dword [edi + 0x30], eax
mov ecx, dword [esp + 0xb4]
mov dword [edi + 0x34], ecx
mov edx, dword [esp + 0xb8]
mov dword [edi + 0x38], edx
mov eax, dword [esp + 0xbc]
mov edx, dword [esp + 0x64]
mov dword [edi + 0x3c], eax
mov ecx, dword [esp + 0xc0]
push edx
mov dword [edi + 0x40], ecx
push ebp
mov ecx, esi
call fcn.00421aa0
add esp, 0x50
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret