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

Disassembly:
push 0xffffffffffffffff
push 0x4fca63
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 + 0x24]
mov edx, dword [esp + 0x28]
lea ebp, [esi + 0x2c]
lea ebx, [esi + 0x28]
xor eax, eax
push ebp
mov dword [esi], 0x5066c4
push ebx
mov dword [0x80c300], esi
mov byte [0x80c2ed], al
mov byte [0x80c2ec], al
mov dword [0x80c2e8], 0xffffffff
push 0xfa1
mov dword [esp + 0x28], eax
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 2
call fcn.004a9760
mov eax, 1
push str.ChatGump_framedata
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
shl eax, 3
push 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 [ebx]
imul eax, dword [ebp]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
mov dword [edx + 0xc], eax
mov ecx, dword [ebx]
imul ecx, dword [ebp]
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 ecx, dword [ebx]
mov edx, dword [esi + 0x40]
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
lea ecx, [esi + 0x11a]
push str.Messages
push ecx
call fcn.004d9a60
add esp, 0x40
push 0x1868
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 1
je 0x45e363
push 0
push esi
mov ecx, eax
call fcn.00476f70
jmp 0x45e365
xor eax, eax
push 0
push 1
mov ecx, esi
mov byte [esp + 0x24], 0
mov dword [esi + 0xf24], eax
call fcn.0045c470
push 0
push 2
mov ecx, esi
call fcn.0045c470
push 0
push 0
mov ecx, esi
call fcn.0045c470
push 1
push 0xc
mov ecx, esi
call fcn.0045c470
push 6
push 7
mov ecx, esi
call fcn.0045c470
push 7
push 9
mov ecx, esi
call fcn.0045c470
push 8
push 0xa
mov ecx, esi
call fcn.0045c470
push 9
push 8
mov ecx, esi
call fcn.0045c470
push 5
push 0xd
mov ecx, esi
call fcn.0045c470
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
mov dword [esi + 0xf34], 0x190
mov dword [esi + 0xf38], 0x12c
jg 0x45e3f6
mov eax, dword [esi + 0x20]
test ecx, ecx
jg 0x45e3fd
mov ecx, dword [esi + 0x24]
cmp eax, 0x190
jge 0x45e409
mov eax, 0x190
cmp ecx, 0x12c
jge 0x45e416
mov ecx, 0x12c
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
push 1
push 0
mov ecx, esi
call fcn.0046af30
push 0
push 0
push 0
push 0
push 0
push 0x51
call fcn.004e3cb0
mov ecx, dword [esp + 0x2c]
add esp, 0x18
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x10