Function at 0x46c2d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4ed754
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.0045ae70
xor ebx, ebx
mov dword [esi], 0x4f8570
mov dword [esi + 8], str.hue_gump
lea ebp, [esi + 0x24]
mov dword [esi + 0x60], ebx
lea edi, [esi + 0x20]
mov dword [esi + 0x54], ebx
push ebp
mov dword [esi + 0x64], ebx
push edi
mov dword [esi + 0x50], ebx
push 0x906
mov dword [esp + 0x28], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
call fcn.004447f0
mov eax, dword [0x541bec]
mov ecx, dword [edi]
sub eax, ecx
mov ecx, dword [ebp]
cdq
sub eax, edx
push str.framedata_for_CDumbGump
sar eax, 1
mov dword [esi + 0x30], eax
mov eax, dword [0x541bf0]
sub eax, ecx
mov ecx, dword [esp + 0x34]
cdq
sub eax, edx
mov dx, word [esp + 0x38]
sar eax, 1
mov dword [esi + 0x34], eax
mov eax, 0x22
mov dword [esi + 0xd4], eax
mov dword [esi + 0xd8], eax
mov dword [esi + 0xc8], ecx
mov cx, word [esp + 0x3c]
mov eax, 1
push 8
mov dword [esi + 0xdc], 0xc1
mov dword [esi + 0xe0], 0x71
mov word [esi + 0xe4], 3
mov word [esi + 0xe6], ax
mov dword [esi + 0xb0], ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xbc], ebx
mov word [esi + 0xcc], dx
mov word [esi + 0xce], cx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], 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.dumb_frame0
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 [esi + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [esi + 0x3c]
mov dword [edx + 4], eax
mov ecx, dword [ebp]
imul ecx, dword [esi + 0x20]
mov edx, dword [esi + 0x3c]
xor eax, eax
shl ecx, 1
mov edi, dword [edx + 4]
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 [esi + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [esi + 0x3c]
mov dx, word [ebp]
mov ecx, dword [eax + 4]
mov word [ecx + 2], dx
mov eax, dword [esi + 0x3c]
xor ecx, ecx
xor edx, edx
mov eax, dword [eax + 4]
mov cx, word [eax + 2]
mov dx, word [eax]
push ecx
add eax, 4
push edx
push eax
push ebx
push ebx
push 0x906
push fcn.004c00b0
call fcn.00444850
add esp, 0x38
mov ecx, esi
call fcn.0046c780
push 0xbc
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x46c4c9
push 0x845
push esi
push 0xba
push ebx
push 0x8e
push 0x26
mov ecx, eax
call fcn.004231c0
jmp 0x46c4cb
xor eax, eax
mov dword [esi + 0x9c], eax
mov word [eax + 0xb4], 0x846
mov ecx, dword [esi + 0x9c]
push 1
push esi
mov byte [esp + 0x24], bl
call fcn.0045a530
mov ecx, dword [esi + 0x9c]
xor eax, eax
mov ax, word [esi + 0xe6]
push 4
push eax
call fcn.004236e0
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 2
je 0x46c53e
push ebx
push 0x420b90
push ebx
push 2
push esi
push 0x9e
push 0x27
push 0x8e
push 0x1a
mov ecx, eax
call fcn.00422b10
jmp 0x46c540
xor eax, eax
push 1
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [esi + 0xa0], eax
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 3
je 0x46c595
push ebx
push 0x420bd0
push ebx
push 2
push esi
push 0x9e
push 0xc5
push 0x8e
push 0xb8
mov ecx, eax
call fcn.00422b10
jmp 0x46c597
xor eax, eax
push 1
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [esi + 0xa4], eax
call fcn.0045a530
push 0xec
call fcn.004ddf8e
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebx
mov byte [esp + 0x1c], 4
je 0x46c5eb
push ebx
push 0x908
push 0x907
push 0x4c85c0
push ebx
push ebx
push esi
push 0x8a
push 0xd0
mov ecx, eax
call fcn.00422990
jmp 0x46c5ed
xor eax, eax
push 1
push esi
mov ecx, eax
mov byte [esp + 0x24], bl
mov dword [eax + 0xac], 0x909
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 0xc