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

Disassembly:
push 0xffffffffffffffff
push 0x4fca23
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]
push ebp
xor eax, eax
mov dword [esi], 0x506520
push ebx
mov dword [0x80c304], esi
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 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 0x108
call fcn.004ed8ee
add esp, 0x3c
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 1
je 0x45de61
push 1
push 0
push 0
push 0
push esi
mov ecx, eax
call fcn.00474350
jmp 0x45de63
xor eax, eax
test eax, eax
mov byte [esp + 0x1c], 0
mov dword [esi + 0xf30], eax
mov byte [esi + 0x118], 1
je 0x45dee4
push 1
push str._TITLE_LOADING__TITLE__BODY_Loading_page__please_wait...__BODY_
mov ecx, eax
call fcn.00474820
mov ecx, dword [esi + 0xf30]
mov eax, dword [ecx + 0x100]
test eax, eax
je 0x45deaf
add eax, 0x2c
push pe_nt_image_headers32
lea edx, [esi + 0x11a]
push eax
push edx
call fcn.004d9a90
add esp, 0xc
mov eax, dword [esi + 0x20]
mov edx, dword [esi + 0xf34]
mov ecx, dword [esi + 0x24]
cmp eax, edx
jge 0x45dec1
mov eax, edx
mov edx, dword [esi + 0xf38]
cmp ecx, edx
jge 0x45decd
mov ecx, edx
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 [0x8d0a50]
test eax, eax
jne 0x45df1f
push 0x200
call fcn.004ed8ee
push 0x51d584
push eax
mov dword [0x8d0280], eax
call fcn.004d9a60
mov eax, dword [0x8d0a50]
add esp, 0xc
inc eax
mov dword [0x51e5fc], 0
mov dword [0x8d0a50], eax
push 0
push 2
mov ecx, esi
call fcn.0045c470
push 0
push 0
mov ecx, esi
call fcn.0045c470
push 5
push 5
mov ecx, esi
call fcn.0045c470
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
test eax, eax
mov dword [esi + 0xf34], 0x140
mov dword [esi + 0xf38], 0xa0
jg 0x45df63
mov eax, dword [esi + 0x20]
test ecx, ecx
jg 0x45df6a
mov ecx, dword [esi + 0x24]
cmp eax, 0x140
jge 0x45df76
mov eax, 0x140
cmp ecx, 0xa0
jge 0x45df83
mov ecx, 0xa0
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
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 0x10