Function at 0x42aed0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4eb4e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.0045ae70
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [ebp], 0x4f3af0
mov dword [ebp + 0x30], eax
mov eax, dword [esp + 0x34]
xor ebx, ebx
mov dword [ebp + 0x34], ecx
mov edx, dword [esp + 0x30]
mov dword [ebp + 8], str.InputControl_gump
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x54], ebx
mov dword [ebp + 0x1b0], ebx
mov word [ebp + 0xe8], bx
mov word [ebp + 0xec], bx
mov word [ebp + 0xea], bx
and eax, 0xffff
mov dword [ebp + 0x64], ebx
mov dword [ebp + 0x50], ebx
mov dword [ebp + 0x24], eax
mov dword [ebp + 0x4c], ebx
and edx, 0xffff
mov eax, 1
push str.framedata_for_CInputControlGump
mov dword [ebp + 0x48], ebx
push 8
mov dword [esp + 0x24], ebx
mov dword [ebp + 0x44], ebx
mov dword [ebp + 0x40], ebx
mov dword [ebp + 0x20], edx
mov dword [ebp + 0xd0], eax
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x18], eax
call fcn.00479630
mov ecx, dword [ebp + 0x18]
mov edi, eax
shl ecx, 3
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebp + 0x3c], edi
push str.inpctrl_frame0
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x24]
imul eax, dword [ebp + 0x20]
lea ecx, [eax + eax + 4]
push ecx
call fcn.00479630
mov edx, dword [ebp + 0x3c]
add esp, 0x10
mov dword [edx + 4], eax
mov ecx, dword [ebp + 0x24]
imul ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 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 [ebp + 0x3c]
mov dx, word [ebp + 0x20]
mov ecx, dword [eax + 4]
mov word [ecx], dx
mov eax, dword [ebp + 0x3c]
mov dx, word [ebp + 0x24]
mov ecx, dword [eax + 4]
mov al, byte [esp + 0x38]
mov word [ecx + 2], dx
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov dword [ebp + 0xb4], edx
mov edx, dword [esp + 0x50]
mov dword [ebp + 0x1b4], ecx
xor ecx, ecx
cmp edx, ebx
mov byte [ebp + 0xf0], al
mov eax, dword [esp + 0x4c]
mov edi, 0x74166c
setne cl
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xcc], ecx
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp + 0xbc], ebx
mov dword [ebp + 0xb8], ebx
mov dword [ebp + 0xc8], ebx
mov dword [ebp + 0xc4], ebx
mov dword [ebp + 0xe4], ebx
mov dword [ebp + 0xe0], ebx
mov dword [ebp + 0xdc], ebx
mov dword [ebp + 0xd8], ebx
mov dword [ebp + 0xd4], ebx
mov byte [ebp + 0xee], 3
mov byte [ebp + 0xef], 2
lea edx, [ebp + 0xf8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [ebp + 0xf0]
mov dword [ebp + 0xf4], ebx
cmp al, 1
jne 0x42b0b8
mov dword [ebp + 0x1b8], 1
jmp 0x42b0be
mov dword [ebp + 0x1b8], ebx
mov cx, word [esp + 0x40]
mov dx, word [esp + 0x44]
mov word [ebp + 0x1c0], cx
mov ecx, ebp
mov dword [ebp + 0x1bc], ebx
mov word [ebp + 0x1c2], dx
mov dword [ebp + 0x1c4], ebx
call fcn.0042b1a0
mov ecx, dword [esp + 0x14]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x30