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

Disassembly:
push 0xffffffffffffffff
push 0x555f58
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x78]
mov ecx, eax
and ecx, 2
xor ebx, ebx
and eax, 1
mov dword [esp + 0x18], ecx
je 0x48d586
cmp ecx, ebx
jne 0x48d586
mov edx, 0x7fff
jmp 0x48d588
xor edx, edx
cmp eax, ebx
je 0x48d597
cmp ecx, ebx
je 0x48d597
mov eax, 0x7fff
jmp 0x48d599
xor eax, eax
mov ecx, dword [esp + 0x70]
push edx
push eax
call fcn.004108d0
mov ecx, dword [esp + 0x7c]
xor eax, eax
cmp dword [ecx], ebx
sete al
mov ebp, eax
mov dword [esp + 0x7c], ebp
cmp ebp, ebx
je 0x48d5bf
mov dword [esp + 0x38], ebx
jmp 0x48d5d6
mov ecx, dword [esp + 0x6c]
add ecx, 0x58
call fcn.00417f20
push eax
call dword [0x55e60c]
mov dword [esp + 0x38], eax
push ebx
push ebx
lea ecx, [esp + 0x24]
call fcn.004108d0
mov edi, dword [esp + 0x6c]
add edi, 0x58
xor esi, esi
mov ecx, edi
mov dword [esp + 0x78], esi
call fcn.00417f20
test eax, eax
jle 0x48d784
lea ecx, [ecx]
lea ecx, [esp + 0x24]
call fcn.004145f0
mov dword [esp + 0x24], 0x5797cc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
cmp esi, ebx
mov dword [esp + 0x64], ebx
jl 0x48d7b1
cmp esi, dword [edi + 8]
jge 0x48d7b1
mov edx, dword [edi + 4]
mov ebp, dword [edx + esi*4]
lea eax, [edx + esi*4]
cmp ebp, ebx
je 0x48d6a5
mov eax, dword [ebp]
mov edx, dword [eax + 0x160]
mov ecx, ebp
call edx
test eax, eax
je 0x48d67b
mov eax, dword [esp + 0x2c]
mov ebx, eax
test eax, eax
jl 0x48d7b1
lea edi, [eax + 1]
lea esi, [esp + 0x24]
call fcn.00466920
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x78]
mov dword [eax + ebx*4], ebp
xor ebx, ebx
add esi, 1
mov dword [esp + 0x78], esi
js 0x48d7b1
mov edi, dword [esp + 0x6c]
add edi, 0x58
cmp esi, dword [edi + 8]
jge 0x48d7b1
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + esi*4]
lea eax, [ecx + esi*4]
cmp ebp, ebx
jne 0x48d643
lea ecx, [esp + 0x24]
call fcn.00417f20
test eax, eax
je 0x48d6fe
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x7c]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push ecx
lea ebx, [esp + 0x3c]
call fcn.0048d360
mov edx, dword [esp + 0x28]
mov ebx, eax
test edx, edx
je 0x48d6f2
push edx
call fcn.004dd713
add esp, 4
xor edx, edx
mov dword [esp + 0x28], edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
jmp 0x48d702
mov edx, dword [esp + 0x28]
test ebp, ebp
jne 0x48d744
test ebx, ebx
je 0x48d744
cmp dword [esp + 0x18], ebp
je 0x48d72c
mov eax, dword [esp + 0x20]
add eax, ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx + 4]
cmp ecx, eax
mov dword [esp + 0x20], eax
jle 0x48d727
mov eax, ecx
mov dword [ebx + 4], eax
jmp 0x48d744
mov eax, dword [esp + 0x1c]
add eax, ebx
mov ebx, dword [esp + 0x70]
mov ecx, dword [ebx]
cmp ecx, eax
mov dword [esp + 0x1c], eax
jle 0x48d742
mov eax, ecx
mov dword [ebx], eax
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x24], 0x5797cc
test edx, edx
je 0x48d761
push edx
call fcn.004dd713
add esp, 4
lea ecx, [esp + 0x24]
call fcn.00416c50
inc esi
mov ecx, edi
mov dword [esp + 0x78], esi
call fcn.00417f20
xor ebx, ebx
cmp esi, eax
jl 0x48d600
mov ebp, dword [esp + 0x7c]
cmp ebp, ebx
jne 0x48d797
mov eax, dword [esp + 0x38]
cmp eax, ebx
je 0x48d797
push eax
call dword [0x55e608]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x14
call fcn.004dd99a
int3