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

Disassembly:
push 0xffffffffffffffff
push 0x4fcdf3
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.0045c280
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
lea ebp, [esi + 0x2c]
lea ebx, [esi + 0x28]
mov dword [esi + 0xf50], ecx
mov ecx, dword [esp + 0x2c]
push ebp
xor eax, eax
push ebx
push 0xfa1
mov dword [esp + 0x28], eax
mov dword [esi], 0x5073e4
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 2
call fcn.004a9760
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.004b9f50
mov ecx, dword [esi + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [esi + 0x40], 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.004b9f50
mov edx, dword [esi + 0x40]
mov dword [edx + 0xc], eax
mov ecx, dword [ebp]
imul ecx, dword [ebx]
mov edx, dword [esi + 0x40]
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 + 0x40]
mov dx, word [ebx]
mov ecx, dword [eax + 0xc]
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [ebp]
mov ecx, dword [eax + 0xc]
mov word [ecx + 2], dx
mov eax, dword [ebp]
mov edx, dword [esi + 0x40]
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.004d52c0
call fcn.004a97c0
push pe_nt_image_headers32
lea ecx, [esi + 0x11a]
push str.Edit_Description
push ecx
mov byte [esi + 0x118], 1
call fcn.004d9a90
mov edx, dword [esp + 0x80]
add esp, 0x44
lea eax, [esi + 0x31a]
push pe_nt_image_headers32
push edx
push eax
call fcn.004d9a90
push 0x108
mov byte [esi + 0x119], 1
call fcn.004ed8ee
add esp, 0x10
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0x1c], 1
je 0x462cd8
push 1
push 0
push 0x135
push 0
push esi
mov ecx, eax
call fcn.00474350
jmp 0x462cda
xor eax, eax
mov ecx, dword [esp + 0x40]
push 1
push ecx
mov ecx, eax
mov byte [esp + 0x24], 0
mov dword [esi + 0xf30], eax
call fcn.00474820
mov edx, dword [esi + 0xf30]
push 1
push 3
mov ecx, esi
mov byte [edx + 0xa9], 0
call fcn.0045c470
push 5
push 4
mov ecx, esi
call fcn.0045c470
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
test eax, eax
mov dword [esi + 0xf34], 0x96
mov dword [esi + 0xf38], 0x4b
jg 0x462d39
mov eax, dword [esi + 0x20]
test ecx, ecx
jg 0x462d40
mov ecx, dword [esi + 0x24]
cmp eax, 0x96
jge 0x462d4c
mov eax, 0x96
cmp ecx, 0x4b
jge 0x462d56
mov ecx, 0x4b
mov dword [esi + 0x24], ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
call fcn.0045cbb0
mov ecx, esi
call fcn.0045d320
mov eax, dword [esp + 0x24]
push 1
push eax
mov ecx, esi
call fcn.0046af30
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