Function at 0x4bf0d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x55adfe
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x2c]
mov ecx, edi
call fcn.004e4d7d
xor ebx, ebx
mov dword [esp + 0x24], ebx
lea ecx, [edi + 0x40]
mov dword [edi], 0x58b5fc
call fcn.004145f0
lea ecx, [edi + 0x50]
call fcn.004145f0
lea ecx, [edi + 0x60]
call fcn.004145f0
lea ecx, [edi + 0x70]
call fcn.004145f0
lea ecx, [edi + 0x88]
call fcn.004145f0
lea ecx, [edi + 0xc8]
call fcn.004145f0
lea esi, [edi + 0xe8]
mov ecx, esi
call fcn.004145f0
mov dword [esi], 0x58b884
mov dword [esi + 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
lea ecx, [edi + 0x10c]
call fcn.004169e0
lea ecx, [edi + 0x114]
call fcn.004169e0
lea ecx, [edi + 0x11c]
call fcn.004169e0
lea ecx, [edi + 0x124]
call fcn.004169e0
mov byte [esp + 0x24], 5
mov ebp, 1
push 0x24
mov dword [edi + 0x12c], ebp
mov dword [edi + 0xe4], ebx
mov dword [edi + 0xe0], ebx
mov dword [edi + 0xfc], ebx
call fcn.004dd6e4
add esp, 4
cmp eax, ebx
je 0x4bf1fd
mov esi, eax
call fcn.004c24c0
mov esi, eax
cmp esi, ebx
je 0x4bf1fd
mov ecx, dword [edi + 0xe0]
cmp ecx, ebx
je 0x4bf1dd
mov eax, dword [ecx]
mov edx, dword [eax]
push ebp
call edx
mov dword [edi + 0xe0], esi
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
mov dword [esi + 0x1c], edi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x40]
mov ecx, esi
call edx
call fcn.004bf460
mov eax, dword [edi]
mov edx, dword [eax + 0x68]
mov ecx, edi
call edx
mov esi, dword [0x55e73c]
push ebx
push ebx
push ebx
push ebx
lea eax, [edi + 0x40]
push eax
mov dword [edi + 0x20], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x24], ebp
mov dword [edi + 0xb8], ebp
mov dword [edi + 0x30], ebx
mov dword [edi + 0x34], ebx
mov dword [edi + 0x104], ebx
mov dword [edi + 0x108], ebx
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebp
mov dword [edi + 0xac], ebp
call esi
push ebx
push ebx
push ebx
push ebx
lea eax, [edi + 0x50]
push eax
call esi
push ebx
push ebx
push ebx
push ebx
lea eax, [edi + 0x60]
push eax
call esi
push 0x10
push 0x10
lea ecx, [esp + 0x1c]
mov dword [edi + 0xb4], ebx
call fcn.004108d0
mov ecx, dword [eax]
push ebx
push 6
push ebx
mov dword [edi + 0x88], ecx
mov edx, dword [eax + 4]
push 6
lea eax, [edi + 0x70]
push eax
mov dword [edi + 0x8c], edx
mov dword [edi + 0xd8], 0x46
mov dword [edi + 0xd4], ebx
mov dword [edi + 0xd0], ebx
mov dword [edi + 0x94], ebp
mov dword [edi + 0x90], ebx
mov dword [edi + 0x98], ebp
mov dword [edi + 0xa0], ebx
mov dword [edi + 0xa4], ebx
mov dword [edi + 0xa8], ebp
mov dword [edi + 0xdc], 2
mov dword [edi + 0xb0], ebp
mov dword [edi + 0x130], ebx
mov dword [edi + 0xbc], ebx
mov dword [edi + 0xc0], ebx
call esi
push 0xf
push 0xe
lea ecx, [esp + 0x1c]
mov dword [edi + 0xc4], ebp
mov dword [edi + 0x9c], 4
call fcn.004108d0
mov ecx, dword [eax]
mov dword [edi + 0xc8], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0xcc], edx
mov ecx, edi
call fcn.0050822e
mov ecx, edi
call fcn.004bf820
mov eax, edi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4