Function at 0x4b1590
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55c708
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebx]
lea ecx, [esp + 0x28]
call fcn.004145f0
mov ecx, esi
call fcn.004116a0
push eax
call dword [0x55e6dc]
test eax, eax
je 0x4b15f3
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call fcn.004116a0
push eax
call dword [0x55e6c4]
jmp 0x4b15fe
lea ecx, [esp + 0x28]
push ecx
call dword [0x55e770]
mov esi, dword [ebp + 8]
lea edx, [esi + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [0x55e6f0]
lea edi, [ebx + 4]
mov ecx, edi
call fcn.00411740
test eax, eax
je 0x4b164f
lea ecx, [esp + 0x38]
push ecx
mov ecx, edi
call fcn.004117a0
lea ecx, [esp + 0x28]
call fcn.00410a70
cmp dword [esp + 0x40], eax
jne 0x4b1648
lea ecx, [esp + 0x28]
call fcn.00416af0
cmp dword [esp + 0x3c], eax
je 0x4b164f
mov ecx, edi
call fcn.004f5fb3
cmp dword [ebx + 0x18], 0
jne 0x4b16fd
cmp dword [ebx + 0x14], 0
jne 0x4b16fd
mov esi, dword [ebx]
call fcn.0044ec90
cmp dword [eax + 0x88], 0
jne 0x4b16fa
mov ecx, edi
call fcn.004f5fb3
mov edx, dword [ebp + 8]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.0043fd30
sub esp, 0x10
mov eax, esp
xor esi, esi
mov dword [esp + 0x98], esi
mov edi, dword [esp + 0x28]
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1a0]
mov dword [eax], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 0xc], edi
lea eax, [esp + 0x48]
push eax
call edx
call fcn.004b09a0
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.0043fe70
mov dword [ebx + 0xc], esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
jne 0x4b174b
mov ecx, edi
call fcn.00411740
test eax, eax
je 0x4b174b
push edi
push esi
lea eax, [esp + 0x70]
push eax
call fcn.004403c0
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push 0xcc0020
push 0
push 0
lea ecx, [esp + 0x74]
push ecx
push edx
push eax
push 0
push 0
mov ecx, esi
call fcn.004116d0
lea ecx, [esp + 0x68]
call fcn.004404e0
jmp 0x4b18af
lea ecx, [esp + 0x38]
call fcn.004f577f
push esi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x8c], 1
call fcn.00411770
mov ecx, edi
call fcn.00411740
test eax, eax
jne 0x4b17b0
lea ecx, [esp + 0x28]
call fcn.00410a70
push eax
lea ecx, [esp + 0x2c]
call fcn.00416af0
push eax
push esi
mov ecx, edi
call fcn.00416a40
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
push edi
lea ecx, [esp + 0x3c]
call fcn.00411710
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.0040ee00
mov dword [esp + 0x10], 0x5605e4
lea ecx, [esp + 0x18]
mov byte [esp + 0x88], 2
call fcn.004145f0
push eax
call dword [0x55e11c]
push eax
lea ecx, [esp + 0x14]
call fcn.004f5f5b
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x3c]
call fcn.004f5964
mov esi, dword [esp + 0x18]
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1a0]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x34]
mov dword [eax + 0xc], esi
lea eax, [esp + 0x48]
push eax
call edx
push 0
lea ecx, [esp + 0x3c]
call fcn.004f5964
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push eax
push ecx
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x28]
call fcn.00410a70
push eax
lea ecx, [esp + 0x2c]
call fcn.00416af0
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.004116d0
push edi
lea ecx, [esp + 0x3c]
call fcn.00411710
call fcn.004b09a0
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0x5605e4
call fcn.0040ee60
lea ecx, [esp + 0x38]
mov dword [esp + 0x88], 0xffffffff
call fcn.004f5d08
mov dword [ebx + 0xc], 0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4