Function at 0x4a5b00
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x52c018
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov ecx, dword [esp + 0x44]
xor eax, eax
push ebx
push ebp
mov ebx, dword [ecx + 4]
mov ax, word [ecx + 0xe]
imul eax, ebx
add eax, 0x1f
push esi
mov esi, dword [ecx + 8]
push edi
sar eax, 3
and al, 0xfc
mov dword [esp + 0x30], esi
mov dword [esp + 0x28], eax
lea eax, [ebx + 2]
add esi, 2
imul esi, eax
push esi
mov dword [esp + 0x20], esi
call sub.MFC42.DLL_operatornew
mov ebp, eax
push esi
mov dword [esp + 0x3c], ebp
call sub.MFC42.DLL_operatornew
mov edi, eax
push esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], edi
call sub.MFC42.DLL_operatornew
push esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov ecx, esi
xor eax, eax
mov edx, ecx
mov dword [esp + 0x4c], 0
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x10]
mov ecx, esi
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x14]
mov ecx, esi
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4a5c47
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x58]
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
lea eax, [edx + ebx + 2]
inc eax
test ebx, ebx
mov dword [esp + 0x54], eax
jle 0x4a5c31
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
sub edi, edx
sub ecx, edx
mov edx, eax
mov dword [esp + 0x58], ebx
add edx, ebx
mov dword [esp + 0x54], edx
mov dl, byte [esi]
add esi, 3
mov byte [edi + eax], dl
mov dl, byte [esi - 2]
mov byte [eax], dl
mov dl, byte [esi - 1]
mov byte [ecx + eax], dl
mov edx, dword [esp + 0x58]
inc eax
dec edx
mov dword [esp + 0x58], edx
jne 0x4a5c06
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
inc eax
add esi, edi
dec ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], ecx
jne 0x4a5be5
mov esi, dword [esp + 0x64]
mov dword [esp + 0x54], 4
test esi, esi
je 0x4a5c6a
mov eax, dword [esp + 0x68]
push 0x38
push 4
push eax
call esi
test eax, eax
je 0x4a60d2
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 1
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5cc7
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x559a10]
push ebp
push edx
mov edx, dword [edi + 0x559a00]
push eax
push ebx
neg ecx
push 1
push ecx
neg edx
push edx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5d10
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
push eax
mov eax, dword [esp + 0x70]
push eax
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x559a10]
push ebp
push ecx
mov ecx, dword [edi + 0x559a00]
push edx
push ebx
neg eax
push 0xffffffffffffffff
push eax
neg ecx
push ecx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5d59
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov eax, ecx
push 0x38
inc ecx
push eax
push edx
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 0xffffffffffffffff
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5d9e
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
add edi, 4
cmp edi, 0x10
jl 0x4a5c82
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 1
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5e07
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x559a10]
push ebp
push edx
mov edx, dword [edi + 0x559a00]
push eax
push ebx
neg ecx
push 1
push ecx
neg edx
push edx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5e50
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
push eax
mov eax, dword [esp + 0x70]
push eax
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x559a10]
push ebp
push ecx
mov ecx, dword [edi + 0x559a00]
push edx
push ebx
neg eax
push 0xffffffffffffffff
push eax
neg ecx
push ecx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5e99
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov eax, ecx
push 0x38
inc ecx
push eax
push edx
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 0xffffffffffffffff
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5ede
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
add edi, 4
cmp edi, 0x10
jl 0x4a5dc2
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 1
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5f47
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x30]
mov ecx, dword [edi + 0x559a10]
push ebp
push edx
mov edx, dword [edi + 0x559a00]
push eax
push ebx
neg ecx
push 1
push ecx
neg edx
push edx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5f90
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
push eax
mov eax, dword [esp + 0x70]
push eax
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov eax, dword [edi + 0x559a10]
push ebp
push ecx
mov ecx, dword [edi + 0x559a00]
push edx
push ebx
neg eax
push 0xffffffffffffffff
push eax
neg ecx
push ecx
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a5fd9
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov eax, ecx
push 0x38
inc ecx
push eax
push edx
mov dword [esp + 0x60], ecx
call esi
test eax, eax
je 0x4a6116
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x559a10]
push ebp
push eax
mov eax, dword [edi + 0x559a00]
push ecx
push ebx
push 0xffffffffffffffff
push edx
push eax
call fcn.004a61b0
add esp, 0x1c
test esi, esi
je 0x4a601e
mov ecx, dword [esp + 0x54]
push 0x38
mov eax, ecx
inc ecx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
test eax, eax
je 0x4a6116
add edi, 4
cmp edi, 0x10
jl 0x4a5f02
mov ecx, dword [esp + 0x30]
test ecx, ecx
jle 0x4a60b7
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x60]
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ecx
lea eax, [edx + ebx + 2]
inc eax
test ebx, ebx
mov dword [esp + 0x54], eax
jle 0x4a60a1
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ebx
sub ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x14]
sub ecx, edx
mov edx, eax
add edx, ebx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x24]
add edi, 3
mov dl, byte [edx + eax]
inc eax
mov byte [edi - 3], dl
mov dl, byte [eax - 1]
mov byte [edi - 2], dl
mov dl, byte [ecx + eax - 1]
mov byte [edi - 1], dl
mov edx, dword [esp + 0x58]
dec edx
mov dword [esp + 0x58], edx
jne 0x4a606f
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
inc eax
add edi, ecx
mov ecx, dword [esp + 0x60]
dec ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ecx
jne 0x4a604a
test esi, esi
je 0x4a615a
mov eax, dword [esp + 0x68]
push 0x38
push 0x38
push eax
call esi
test eax, eax
jne 0x4a615a
push ebp
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push ebp
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x1c]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret
push ebp
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esp + 0x18]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x20]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x54]
add esp, 0x10
mov eax, 1
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret