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

Disassembly:
push 0xffffffffffffffff
push 0x553bea
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x64]
xor ebp, ebp
cmp dword [eax], ebp
jne 0x4736be
cmp dword [eax + 8], ebp
jne 0x4736be
cmp dword [eax + 4], ebp
jne 0x4736be
cmp dword [eax + 0xc], ebp
jne 0x4736be
mov esi, dword [esp + 0x60]
add esi, 0x70
lea edi, [ebp + 4]
lea esp, [esp]
mov ecx, dword [esi]
cmp ecx, ebp
je 0x4736b1
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [esi], ebp
add esi, 4
sub edi, 1
jne 0x4736a0
jmp 0x4738c7
mov eax, dword [esp + 0x60]
xor ebx, ebx
add eax, 0x70
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
nop
cmp dword [eax], ebp
jne 0x47376e
push 0x6c
call fcn.00404750
mov edi, eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x58], ebp
cmp edi, ebp
je 0x47370e
mov ecx, edi
call fcn.004df254
mov dword [edi], 0x5826d4
mov dword [edi + 0x64], ebp
mov dword [edi + 0x58], ebp
mov dword [edi + 0x5c], ebp
mov dword [edi + 0x54], ebp
mov dword [edi + 0x60], ebp
mov dword [edi + 0x68], ebp
jmp 0x473710
xor edi, edi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
mov dword [eax], edi
cmp ebx, 2
je 0x47372c
cmp ebx, 3
je 0x47372c
xor ecx, ecx
jmp 0x473731
mov ecx, 1
mov edx, dword [esp + 0x60]
mov eax, dword [edx + 0x84]
push ebp
push ebp
mov dword [edi + 0x68], ecx
mov dword [edi + 0x60], eax
mov eax, dword [eax + 0xcc]
push eax
push ebp
push ebp
push ebp
push ebp
lea ecx, [esp + 0x3c]
call fcn.00410d70
push eax
push 0x56000000
push 0x582624
push 0x57835c
mov ecx, edi
call fcn.004df322
mov eax, dword [esp + 0x14]
inc ebx
add eax, 4
cmp ebx, 4
mov dword [esp + 0x14], eax
jl 0x4736d0
mov eax, dword [esp + 0x64]
mov edi, dword [esi]
mov ebp, dword [esi + 4]
mov ebx, dword [esi + 8]
mov ecx, dword [esi + 0xc]
sub ecx, dword [eax + 0xc]
add edi, dword [eax]
add ebp, dword [eax + 4]
sub ebx, dword [eax + 8]
mov eax, dword [esi + 0xc]
mov edx, dword [esi]
push eax
mov dword [esp + 0x30], ecx
mov ecx, dword [esi + 4]
push edi
push ecx
push edx
lea ecx, [esp + 0x40]
call fcn.00410d70
mov ecx, eax
call fcn.004145f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
push 1
sub edx, ecx
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
call fcn.004e3fa6
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
mov eax, dword [esi + 4]
push ecx
push edx
push eax
push ebx
lea ecx, [esp + 0x40]
call fcn.00410d70
mov ecx, eax
call fcn.004145f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
push 1
sub edx, ecx
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x74]
call fcn.004e3fa6
mov ecx, dword [esi + 4]
push ebp
push ebx
push ecx
push edi
lea ecx, [esp + 0x40]
call fcn.00410d70
mov ecx, eax
call fcn.004145f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
push 1
sub edx, ecx
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x78]
call fcn.004e3fa6
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
push ecx
push ebx
push edx
push edi
lea ecx, [esp + 0x50]
call fcn.00410d70
mov ecx, eax
call fcn.004145f0
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
push 1
sub edx, ecx
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax]
sub edx, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 0x7c]
call fcn.004e3fa6
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], 4
mov edx, dword [esp + 0x60]
mov ecx, dword [edx]
push 0
call fcn.00410900
add dword [esp + 0x60], 4
sub dword [esp + 0x64], 1
jne 0x47389f
mov eax, dword [esp + 0x2c]
mov dword [esi], edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x48
ret 8