Function at 0x4bdfc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x55ae30
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
call fcn.00402010
mov dword [esp + 0x94], ebp
mov al, byte [edi + 0x1d8]
mov dword [esp + 0x1c], 0x120
cmp al, 0xff
jne 0x4be021
mov ecx, edi
call fcn.004e3e8f
and al, 0xf
mov ecx, edi
mov byte [esp + 0x1b], al
call fcn.004e3e8f
mov esi, eax
mov al, byte [edi + 0x1d8]
cmp al, 0xff
jne 0x4be041
mov ecx, edi
call fcn.004e3e8f
and al, 0xf
cmp al, 1
jbe 0x4be0e8
cmp al, 0xb
je 0x4be0e8
test esi, 0x1000
jne 0x4be0e8
movzx edx, byte [esp + 0x1b]
mov eax, dword [esp + 0x9c]
movzx ecx, byte [edx + 0x58b1c8]
push eax
push edi
lea ebx, [esp + 0x58]
mov dword [esp + 0x38], ebp
call fcn.004bdd20
xor ebp, ebp
lea ecx, [esp + 0x28]
push ecx
mov ecx, edi
call fcn.004e20c7
call fcn.004bdc30
mov ebx, eax
mov ecx, edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebp
call fcn.004e3e8f
mov ecx, edi
test al, al
jns 0x4be162
push ebp
push ebp
push 0xf6
call fcn.00418ff0
mov dword [esp + 0x34], eax
cmp eax, ebp
je 0x4be5cf
lea edx, [esp + 0x70]
push edx
push 0x18
push eax
call dword [0x55e1ac]
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], ebp
jmp 0x4be217
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], 1
call fcn.00402010
lea eax, [esp + 0x34]
push eax
mov ecx, edi
mov byte [esp + 0x98], 1
call fcn.004e20c7
lea ecx, [esp + 0x38]
call fcn.004145f0
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00410a90
call fcn.004bdc30
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov edx, dword [ecx + 0x140]
mov eax, ecx
mov eax, dword [eax + 0x13c]
neg edx
push edx
neg eax
push eax
lea ecx, [esp + 0x58]
push ecx
call dword [0x55e7c8]
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 0
call fcn.00408b90
jmp 0x4be081
call fcn.004e3e8f
test al, 0x40
je 0x4be197
push ebp
push 1
push 0xf6
mov ecx, edi
call fcn.00418ff0
mov ecx, eax
mov dword [esp + 0x34], ecx
cmp ecx, ebp
je 0x4be5cf
lea esi, [esp + 0x2c]
lea eax, [esp + 0x24]
call fcn.004b4da0
jmp 0x4be213
lea ecx, [esp + 0x28]
call fcn.00401f20
test al, al
jne 0x4be5cf
mov ecx, edi
call fcn.004e3e8f
test eax, 0x2000
je 0x4be1be
mov dword [esp + 0x1c], 0x2110
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x50]
push ebp
push ecx
push ebp
push ebp
lea ecx, [esp + 0x50]
call fcn.00410d70
mov edx, dword [esp + 0x1c]
or edx, 0x400
push edx
lea ecx, [esp + 0x44]
call fcn.004145f0
mov ecx, dword [esp + 0xa0]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00416bb0
lea ecx, [esp + 0x40]
call fcn.00416af0
lea ecx, [esp + 0x40]
mov dword [esp + 0x24], eax
call fcn.00410a70
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x2c]
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x64]
push edx
call dword [0x55e6f0]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4be260
mov ecx, edi
call fcn.004e3e8f
test eax, 0x2000
jne 0x4be260
mov eax, dword [edi + 0x58]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x134]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x68]
push eax
call dword [0x55e7c8]
mov eax, ebx
and eax, 0x300
cmp eax, 0x100
je 0x4be2c3
cmp eax, 0x200
je 0x4be28f
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x24]
add eax, dword [esp + 0x58]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
or dword [esp + 0x1c], 1
jmp 0x4be2dd
test esi, esi
je 0x4be2b0
mov ecx, dword [edi + 0x58]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x134]
mov ebx, dword [esp + 0x58]
sub ebx, eax
sub ebx, dword [esp + 0x24]
or dword [esp + 0x1c], 2
jmp 0x4be2dd
mov ebx, dword [esp + 0x58]
xor eax, eax
sub ebx, eax
sub ebx, dword [esp + 0x24]
or dword [esp + 0x1c], 2
jmp 0x4be2dd
test esi, esi
je 0x4be2d5
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov ebx, dword [ecx + 0x134]
jmp 0x4be2d7
xor ebx, ebx
mov edx, dword [esp + 0x50]
add ebx, edx
mov eax, dword [esp + 0x38]
and eax, 0xc00
cmp eax, 0x400
je 0x4be33f
cmp eax, 0x800
je 0x4be30c
mov eax, dword [esp + 0x5c]
sub eax, ebp
add eax, dword [esp + 0x54]
cdq
sub eax, edx
mov esi, eax
sar esi, 1
or dword [esp + 0x1c], 4
jmp 0x4be35c
cmp dword [esp + 0x30], 0
je 0x4be32e
mov eax, dword [edi + 0x58]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx + 0x138]
mov esi, dword [esp + 0x5c]
sub esi, eax
sub esi, ebp
or dword [esp + 0x1c], 8
jmp 0x4be35c
mov esi, dword [esp + 0x5c]
xor eax, eax
sub esi, eax
sub esi, ebp
or dword [esp + 0x1c], 8
jmp 0x4be35c
cmp dword [esp + 0x30], 0
je 0x4be354
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x38]
mov esi, dword [eax + 0x138]
jmp 0x4be356
xor esi, esi
mov ecx, dword [esp + 0x54]
add esi, ecx
mov ecx, edi
call fcn.004e3e8f
test al, al
jns 0x4be3bd
mov edx, dword [esp + 0x24]
push ebp
push edx
lea ecx, [esp + 0x24]
call fcn.004108d0
mov ebp, dword [eax]
mov eax, dword [eax + 4]
push esi
push ebx
lea ecx, [esp + 0x48]
mov dword [esp + 0x44], eax
call fcn.004108d0
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push 4
push edx
push ebp
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
push 0
push eax
push 0
push 0
push edx
call fcn.00419070
mov ebp, dword [esp + 0x2c]
jmp 0x4be4ac
mov ecx, edi
call fcn.004e3e8f
test al, 0x40
je 0x4be411
mov eax, dword [esp + 0x24]
push ebp
push eax
lea ecx, [esp + 0x48]
call fcn.004108d0
push esi
push ebx
lea ecx, [esp + 0x40]
mov ebp, eax
call fcn.004108d0
mov ecx, dword [esp + 0x34]
mov edx, dword [ebp + 4]
push 0
push 0
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
push eax
call fcn.004190b0
mov ebp, dword [esp + 0x2c]
jmp 0x4be4ac
cmp byte [esp + 0x1b], 8
je 0x4be4ac
push 0
push 0
push 0x129
mov ecx, edi
call fcn.00418ff0
test al, 2
je 0x4be438
or dword [esp + 0x1c], 0x100000
mov ecx, edi
call fcn.004e3ea9
test eax, 0x2000
je 0x4be44e
or dword [esp + 0x1c], 0x20000
mov ecx, edi
call fcn.004e3e8f
test eax, 0x2000
je 0x4be48c
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x24]
or eax, 0x100
push eax
lea ecx, [esi + ebp]
push ecx
lea eax, [ebx + edx]
push eax
push esi
push ebx
lea ecx, [esp + 0x54]
call fcn.00410d70
mov ecx, eax
call fcn.004145f0
push eax
lea ecx, [esp + 0x30]
push ecx
jmp 0x4be4a0
mov edx, dword [esp + 0x1c]
push edx
lea ecx, [esp + 0x64]
call fcn.004145f0
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, dword [esp + 0xa8]
call fcn.00416bb0
call dword [0x55e6a8]
cmp eax, dword [edi + 0x20]
jne 0x4be5cf
push 0
push 0
push 0x129
mov ecx, edi
call fcn.00418ff0
test al, 1
jne 0x4be5cf
cmp dword [esp + 0x30], 0
jne 0x4be579
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
call fcn.00410a90
cmp byte [esp + 0x1b], 8
jne 0x4be506
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x54]
push eax
call dword [0x55e6f0]
jmp 0x4be59c
mov edi, dword [edi + 0x58]
mov ecx, dword [edi + 0x38]
sub esi, dword [ecx + 0x138]
mov eax, dword [esp + 0x44]
cmp eax, esi
jle 0x4be51c
mov esi, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], esi
mov edx, dword [edi + 0x38]
mov eax, dword [edx + 0x140]
add eax, esi
add eax, ebp
cmp ecx, eax
mov dword [esp + 0x5c], ecx
jl 0x4be53d
mov dword [esp + 0x5c], eax
mov ecx, dword [edi + 0x38]
sub ebx, dword [ecx + 0x134]
mov eax, dword [esp + 0x40]
cmp eax, ebx
jle 0x4be550
mov ebx, eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x50], ebx
mov edx, dword [edi + 0x38]
mov eax, dword [edx + 0x13c]
add eax, ebx
add eax, ecx
mov ecx, dword [esp + 0x48]
cmp ecx, eax
jge 0x4be573
mov dword [esp + 0x58], ecx
jmp 0x4be59c
mov dword [esp + 0x58], eax
jmp 0x4be59c
mov edx, dword [edi + 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 0x138]
mov edx, dword [eax + 0x134]
neg ecx
push ecx
neg edx
push edx
lea eax, [esp + 0x58]
push eax
call dword [0x55e7c8]
mov esi, dword [esp + 0x9c]
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
push 0
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x2c]
push 0xffffff
mov ecx, esi
call eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.00411740
push eax
call dword [0x55e82c]
lea ecx, [esp + 0x28]
call fcn.00408b90
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret 4