Function at 0x452200
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ec973
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call fcn.0044b940
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea ebp, [esi + 0x2c]
lea ebx, [esi + 0x28]
mov dword [esi + 0xf4c], ecx
mov ecx, dword [esp + 0x2c]
push ebp
xor eax, eax
push ebx
push 0xfa1
mov dword [esp + 0x28], eax
mov dword [esi], 0x4f6f68
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 2
call fcn.004447f0
mov edx, dword [esi + 0x18]
mov eax, 1
shl edx, 3
push str.ChatGump_framedata
push edx
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.00479630
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x3c], edi
push str.ChatGump_frame1
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp]
imul eax, dword [ebx]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp]
imul ecx, dword [ebx]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 0xc]
mov edx, ecx
add edi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x3c]
mov dx, word [ebx]
mov ecx, dword [eax + 0xc]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [ebp]
mov ecx, dword [eax + 0xc]
mov word [ecx + 2], dx
mov eax, dword [ebp]
mov edx, dword [esi + 0x3c]
mov ecx, dword [ebx]
push eax
push ecx
mov eax, dword [edx + 0xc]
add eax, 4
push eax
push 0
push 0
push 0xfa1
push fcn.004c00b0
call fcn.00444850
push 0x100
lea ecx, [esi + 0x116]
push str.Edit_Description
push ecx
mov byte [esi + 0x114], 1
call fcn.004cb040
mov edx, dword [esp + 0x80]
add esp, 0x44
lea eax, [esi + 0x316]
push 0x100
push edx
push eax
call fcn.004cb040
push 0x104
mov byte [esi + 0x115], 1
call fcn.004ddf8e
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x1c], 1
je 0x452388
push 1
push 0
push 0x135
push 0
push esi
mov ecx, eax
call fcn.00465c20
jmp 0x45238a
xor eax, eax
mov ecx, dword [esp + 0x40]
push 1
push ecx
mov ecx, eax
mov byte [esp + 0x24], 0
mov dword [esi + 0xf2c], eax
call fcn.004660f0
mov edx, dword [esi + 0xf2c]
push 1
push 3
mov ecx, esi
mov byte [edx + 0xa5], 0
call fcn.0044bb20
push 5
push 4
mov ecx, esi
call fcn.0044bb20
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
mov dword [esi + 0xf30], 0x96
mov dword [esi + 0xf34], 0x4b
jg 0x4523e9
mov eax, dword [esi + 0x20]
test ecx, ecx
jg 0x4523f0
mov ecx, dword [esi + 0x24]
cmp eax, 0x96
jge 0x4523fc
mov eax, 0x96
cmp ecx, 0x4b
jge 0x452406
mov ecx, 0x4b
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.0044c260
mov ecx, esi
call fcn.0044c9d0
mov eax, dword [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.0045a530
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20