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

Disassembly:
push 0xffffffffffffffff
push 0x55c38a
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push ebp
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov edi, dword [esp + 0x94]
mov esi, dword [0x55e770]
test ecx, ecx
je 0x489d02
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
jmp 0x489d5c
lea ecx, [esp + 0x1c]
call fcn.004145f0
mov ecx, edi
call fcn.004116a0
push eax
call dword [0x55e6dc]
test eax, eax
je 0x489d32
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call fcn.004116a0
push eax
call dword [0x55e6d8]
jmp 0x489d39
lea ecx, [esp + 0x1c]
push ecx
call esi
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x1c]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.004108d0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00416bf0
lea eax, [edi + 0x240]
push eax
call esi
lea eax, [edi + 0x224]
push eax
call esi
mov ecx, dword [edi + 0xfc]
mov ebx, dword [ecx + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0x1a8]
lea eax, [esp + 0x50]
push eax
mov ecx, edi
mov dword [esp + 0x1c], ebx
call edx
mov esi, edi
call fcn.0044ec90
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push 0
push 0
push edi
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, eax
call edx
mov eax, dword [eax + 4]
push 0
lea ecx, [esp + 0x4c]
mov dword [esp + 0x30], eax
call fcn.00410c30
cmp dword [edi + 0x1b0], 0
je 0x489e13
call fcn.0044ec90
push 0
push 0
sub esp, 0x10
mov ebp, eax
mov esi, dword [ebp]
mov ecx, esp
mov dword [esp + 0x48], esp
push 0
add esi, 0xb0
call fcn.00416b60
mov edx, dword [esi]
push 0
lea ecx, [esp + 0x38]
push ecx
mov ecx, ebp
call edx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x54], eax
mov dword [esp + 0x4c], eax
mov edx, dword [edi + 0xfc]
mov esi, dword [edx + 0x2c]
xor eax, eax
test esi, esi
jle 0x489e48
test eax, eax
jl 0x489e35
cmp eax, esi
jge 0x489e35
mov ecx, dword [edx + 0x28]
mov ebp, dword [ecx + eax*4]
lea ecx, [ecx + eax*4]
jmp 0x489e37
xor ebp, ebp
cmp dword [ebp + 0x84], 0x23be
je 0x489e4a
inc eax
cmp eax, esi
jl 0x489e22
xor ebp, ebp
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], ebp
call fcn.00410c30
cmp dword [edi + 0x1a4], 0
je 0x489eef
mov esi, edi
call fcn.0044ec90
mov edx, dword [eax]
mov edx, dword [edx + 0xa8]
push 0
push 0
push edi
push 0
push 1
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call edx
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov eax, dword [eax + 4]
add dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
test ebp, ebp
jne 0x489ef3
push 0x16c
call fcn.00404750
mov dword [esp + 0x30], eax
xor esi, esi
mov dword [esp + 0x8c], esi
cmp eax, esi
je 0x489ec2
mov esi, eax
call fcn.00488380
mov esi, eax
push 1
push 0xffffffffffffffff
mov dword [esp + 0x94], 0xffffffff
mov edx, dword [edi + 0xfc]
push 0x574340
push edx
mov eax, 0x23be
call fcn.00446890
mov ebp, eax
mov dword [esp + 0x30], eax
jmp 0x489ef3
test ebp, ebp
je 0x489f02
mov eax, dword [ebp]
mov edx, dword [eax + 0x8c]
push 1
mov ecx, ebp
call edx
cmp dword [esp + 0x98], 0
jne 0x48a10f
cmp dword [edi + 0x21c], 1
jne 0x489f23
mov dword [edi + 0x21c], 0
cmp dword [edi + 0x21c], 0
mov eax, dword [esp + 0x54]
mov ebp, eax
je 0x489f52
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
lea ebp, [eax + 0x10]
push ebp
push ecx
push eax
push edx
lea eax, [edi + 0x240]
push eax
call dword [0x55e73c]
mov ebx, dword [edi + 0x21c]
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x98], ebx
jge 0x48a08a
test ebx, ebx
jl 0x489f88
mov eax, dword [edi + 0xfc]
cmp ebx, dword [eax + 0x2c]
jge 0x489f88
mov eax, dword [eax + 0x28]
mov esi, dword [eax + ebx*4]
jmp 0x489f8a
xor esi, esi
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x48a078
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.00410a70
cmp dword [esi + 0x98], 0
je 0x489ff1
add ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x5c]
mov edx, ecx
sub edx, eax
sub edx, ebp
add ebx, 0x10
cmp edx, ebx
jge 0x48a01b
cmp dword [esp + 0x1c], 0
je 0x48a0ad
sub ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov eax, ecx
mov ecx, dword [esp + 0x50]
mov edi, dword [esi]
lea ebx, [eax + ebp]
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x58]
push ebx
push eax
push ebp
push ecx
lea ecx, [esp + 0x80]
mov dword [esp + 0x2c], 0
add edi, 0x74
call fcn.00410d70
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov edi, dword [esp + 0x94]
mov ebp, ebx
mov ebx, dword [esp + 0x98]
inc ebx
cmp ebx, dword [esp + 0x18]
mov dword [esp + 0x98], ebx
jl 0x489f71
mov ecx, dword [esp + 0x3c]
cmp ebx, dword [esp + 0x18]
mov esi, ebx
jge 0x48a0d7
test esi, esi
jl 0x48a0b6
mov eax, dword [edi + 0xfc]
cmp esi, dword [eax + 0x2c]
jge 0x48a0b6
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + esi*4]
jmp 0x48a0b8
mov ebx, dword [esp + 0x98]
jmp 0x48a08e
xor ecx, ecx
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
or eax, 8
push eax
call edx
inc esi
cmp esi, dword [esp + 0x18]
jl 0x48a096
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x220], ebx
cmp ebx, dword [esp + 0x18]
je 0x48a2d4
mov eax, dword [esp + 0x5c]
mov edx, ecx
sub edx, eax
push edx
mov edx, dword [esp + 0x3c]
sub edx, dword [esp + 0x5c]
sub ecx, eax
mov eax, dword [esp + 0x54]
push edx
sub ecx, 0x10
push ecx
push eax
lea eax, [edi + 0x224]
jmp 0x48a2cd
lea ecx, [ebx - 1]
cmp dword [edi + 0x220], ecx
jne 0x48a120
mov dword [edi + 0x220], ebx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x5c]
mov ecx, eax
sub ecx, edx
mov ebp, ecx
cmp dword [edi + 0x220], ebx
je 0x48a15b
push ecx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x5c]
sub eax, edx
mov edx, dword [esp + 0x54]
push ecx
sub eax, 0x10
push eax
push edx
lea eax, [edi + 0x224]
push eax
sub ebp, 0x10
call dword [0x55e73c]
mov eax, dword [edi + 0x220]
sub eax, 1
mov dword [esp + 0x98], eax
js 0x48a25e
mov ebx, eax
test ebx, ebx
jl 0x48a18a
mov eax, dword [edi + 0xfc]
cmp ebx, dword [eax + 0x2c]
jge 0x48a18a
mov eax, dword [eax + 0x28]
mov esi, dword [eax + ebx*4]
jmp 0x48a18c
xor esi, esi
mov eax, dword [esi + 0xd0]
mov edx, dword [esi]
mov edx, dword [edx + 0x8c]
and eax, 0xfffffff7
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x78]
push 0
mov ecx, esi
call edx
test eax, eax
je 0x48a247
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov edx, dword [esi + 0xc8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xcc]
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
call fcn.00410a70
mov ebx, ebp
sub ebx, eax
cmp ebx, 0x10
jl 0x48a25e
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
mov edi, dword [esi]
push ebp
push ecx
push ebx
push edx
lea ecx, [esp + 0x80]
add edi, 0x74
call fcn.00410d70
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
cmp dword [esi + 0x98], 0
mov ebp, ebx
mov ebx, dword [esp + 0x98]
je 0x48a247
sub ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x94]
sub ebx, 1
mov dword [esp + 0x98], ebx
jns 0x48a173
mov ebx, dword [esp + 0x98]
mov esi, ebx
test ebx, ebx
jl 0x48a2a2
jmp 0x48a270
test esi, esi
jl 0x48a287
mov eax, dword [edi + 0xfc]
cmp esi, dword [eax + 0x2c]
jge 0x48a287
mov eax, dword [eax + 0x28]
mov ecx, dword [eax + esi*4]
jmp 0x48a289
xor ecx, ecx
mov eax, dword [ecx + 0xd0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x8c]
or eax, 8
push eax
call edx
sub esi, 1
jns 0x48a270
lea eax, [ebx + 1]
mov dword [edi + 0x21c], eax
cmp ebx, 0xffffffff
je 0x48a2d4
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x58]
lea ecx, [eax + 0x10]
push ecx
push edx
push eax
mov eax, dword [esp + 0x5c]
push eax
lea eax, [edi + 0x240]
push eax
call dword [0x55e73c]
cmp dword [edi + 0x1a4], 0
je 0x48a33d
mov ebx, dword [esp + 0x30]
mov edx, dword [ebx]
mov eax, dword [edx + 0x8c]
push 0
mov ecx, ebx
call eax
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov esi, dword [ebx]
lea edx, [eax + ecx]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x54]
push ecx
push eax
push edx
lea ecx, [esp + 0x70]
add esi, 0x74
call fcn.00410d70
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
sub ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x50]
push eax
sub eax, dword [esp + 0x50]
push ecx
push eax
push edx
lea eax, [edi + 0x1b4]
push eax
call dword [0x55e73c]
cmp dword [esp + 0x9c], 0
je 0x48a37c
mov edx, dword [edi]
mov eax, dword [edx + 0x19c]
push 1
push 0
mov ecx, edi
call eax
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0xc