Function at 0x476080
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4fd94a
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.0046b880
mov eax, dword [esp + 0x28]
xor ebx, ebx
mov ebp, 1
push str.HTMLBox_framedata
push 8
mov dword [esp + 0x24], ebx
mov dword [esi], 0x508094
mov dword [esi + 0xa0], eax
mov dword [esi + 0x54], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0xb4], ebx
mov dword [esi + 0xbc], ebp
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xb8], ebp
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov byte [esi + 0xcc], bl
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
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.HTMLBox_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi + 0x24]
imul eax, dword [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.004b9f50
mov edx, dword [esi + 0x40]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x24]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x40]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
mov edx, ecx
add edi, 4
push 0x108
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 [esi + 0x20]
mov edi, dword [esp + 0x3c]
mov ecx, dword [eax + 4]
cmp edi, ebx
mov word [ecx], dx
mov eax, dword [esi + 0x40]
mov dx, word [esi + 0x24]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
jne 0x4761cb
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x4761f2
push ebp
push ebx
push 0x11b7
push ebx
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4761f4
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x4761f2
push ebp
push ebx
push 0x1b7
push ebx
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4761f4
xor eax, eax
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esi + 0xa4]
push ebp
push eax
mov byte [esp + 0x24], bl
call fcn.00474820
cmp edi, ebx
push 0x108
jne 0x47623f
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x476266
push ebp
push ebx
push 0x11b7
push ebp
push esi
mov ecx, eax
call fcn.00474350
jmp 0x476268
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 4
je 0x476266
push ebp
push ebx
push 0x1b7
push ebp
push esi
mov ecx, eax
call fcn.00474350
jmp 0x476268
xor eax, eax
mov ecx, dword [esp + 0x30]
push ebp
push ecx
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [esi + 0xa8], eax
call fcn.00474820
cmp edi, ebx
push 0x108
jne 0x4762b0
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 5
je 0x4762d8
push ebp
push ebx
push 0x11b7
push 2
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4762da
call fcn.004ed8ee
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 6
je 0x4762d8
push ebp
push ebx
push 0x1b7
push 2
push esi
mov ecx, eax
call fcn.00474350
jmp 0x4762da
xor eax, eax
mov edx, dword [esp + 0x34]
push ebp
push edx
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [esi + 0xac], eax
call fcn.00474820
mov eax, dword [esp + 0x24]
push ebp
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 0x18