Function at 0x43cc40
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x558ab0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
push ebx
push esi
push edi
mov eax, dword [str.._AVCInvalidArgException__]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov dword [esp + 0x1c], ecx
mov esi, dword [ebp + 0x10]
mov edi, dword [esi + 0x100]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], 0
mov dword [esp + 0x50], edi
call fcn.00410d70
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x84]
call fcn.00410d70
mov eax, dword [esi + 0xc0]
mov ecx, dword [esi + 0xc4]
mov ebx, dword [esi + 0xc8]
mov edx, dword [esi + 0xcc]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 0xfc]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14c]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], edx
cmp eax, 0xffffffff
jne 0x43cd15
mov eax, dword [esi + 0x148]
test eax, eax
jne 0x43cd15
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x43cd13
mov eax, dword [esi + 0x100]
test eax, eax
je 0x43cd13
mov eax, dword [eax + 0x170]
jmp 0x43cd15
mov eax, ecx
mov edx, dword [esi]
mov edx, dword [edx + 0x50]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x2c]
xor ecx, ecx
mov dword [esp + 0xa0], ecx
cmp eax, ecx
je 0x43cd41
mov dword [esp + 0x3c], ecx
cmp eax, 1
je 0x43cd49
mov dword [esp + 0x3c], 1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x108]
push edi
lea edx, [esp + 0x48]
push edx
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0x190]
mov ecx, edi
call eax
test eax, eax
je 0x43cd83
cmp dword [edi + 0x210], 0
je 0x43cd83
mov ecx, dword [esp + 0x44]
lea edx, [ecx + ecx]
mov dword [esp + 0x20], edx
jmp 0x43cd8b
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
mov ecx, esi
call eax
mov ecx, dword [esi + 0x9c]
mov dword [esp + 0x34], eax
cmp ecx, 0xffffffff
jne 0x43cdc5
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x43cdc5
mov ecx, dword [eax + 0x70]
mov ecx, dword [ecx + 0x34]
cmp dword [ecx + 0x5c], 0
je 0x43cdc0
mov eax, 1
jmp 0x43cdc7
mov eax, dword [eax + 0x34]
jmp 0x43cdc7
mov eax, ecx
cmp dword [esp + 0x30], 4
mov dword [esp + 0x28], eax
jne 0x43cddf
cmp eax, 4
jne 0x43cddf
mov dword [esp + 0x28], 0
mov eax, dword [esi + 0xfc]
mov ecx, dword [esp + 0x1c]
cmp eax, 8
jne 0x43ce15
cmp dword [ecx + 0x90], 0
jne 0x43cdff
mov dword [esp + 0x20], 0
cmp eax, 8
jne 0x43ce15
cmp dword [esp + 0x3c], 0
jne 0x43ce15
mov edx, dword [ecx + 0x110]
mov dword [esp + 0x48], edx
cmp dword [ebp + 0x14], 0
je 0x43cee2
mov eax, dword [ecx + 0x80]
mov ecx, dword [esp + 0x70]
add eax, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
add eax, dword [esp + 0x20]
mov edi, dword [0x55e73c]
push ecx
push ebx
push edx
push eax
lea eax, [esp + 0x64]
push eax
call edi
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + edx + 8]
mov edx, dword [esp + 0x70]
push edx
lea eax, [ebx - 0x13]
push eax
mov eax, dword [esp + 0x70]
push eax
push ecx
lea ecx, [esp + 0x84]
push ecx
call edi
cmp dword [esp + 0x30], 1
jne 0x43ce95
lea edx, [esp + 0x3c]
push edx
mov edi, esi
call fcn.0043fa60
mov ecx, eax
mov dword [esp + 0x18], 1
call fcn.00401f00
test eax, eax
je 0x43ce95
mov bl, 1
jmp 0x43ce97
xor bl, bl
test byte [esp + 0x18], 1
je 0x43ceac
and dword [esp + 0x18], 0xfffffffe
lea ecx, [esp + 0x3c]
call fcn.00408b90
test bl, bl
je 0x43cee2
lea eax, [esp + 0x3c]
push eax
mov edi, esi
call fcn.0043fa60
mov edi, dword [ebp + 0xc]
push eax
lea ecx, [esp + 0x50]
push ecx
mov ecx, edi
call fcn.00416b10
mov edx, 0xffffffed
sub edx, dword [eax]
lea ecx, [esp + 0x3c]
add dword [esp + 0x5c], edx
call fcn.00408b90
jmp 0x43cee5
mov edi, dword [ebp + 0xc]
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx]
mov edx, dword [eax + 0x198]
call edx
mov ebx, eax
test ebx, ebx
jne 0x43cf05
lea edi, [esp + 0x24]
call fcn.00441090
mov edi, dword [ebp + 0xc]
cmp dword [esp + 0x2c], 5
jne 0x43cf2f
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
or dword [esp + 0x18], 2
mov ecx, eax
call fcn.00401f20
mov byte [esp + 0x17], 1
test al, al
je 0x43cf34
mov byte [esp + 0x17], 0
test byte [esp + 0x18], 2
je 0x43cf49
and dword [esp + 0x18], 0xfffffffd
lea ecx, [esp + 0x40]
call fcn.00408b90
cmp byte [esp + 0x17], 0
je 0x43d23e
mov eax, dword [esp + 0x1c]
add eax, 0xf8
mov dword [esp + 0x84], 0x57a838
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0xffffffff
je 0x43cfa0
test edi, edi
je 0x43cfa0
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
test eax, eax
je 0x43cfa0
mov dword [esp + 0x8c], eax
cmp dword [ebp + 0x14], 0
mov byte [esp + 0xa0], 1
je 0x43cfd7
push 1
push 0x576b58
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call fcn.00416c10
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x58]
lea eax, [edx + eax + 0xa]
mov dword [esp + 0x60], eax
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [ebp + 0x14]
neg ebx
sbb ebx, ebx
push eax
and ebx, 0xfffff800
add ebx, 0x800
or ebx, 0x8000
push ebx
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x38]
push eax
push edi
call edx
cmp dword [esp + 0x30], 1
jne 0x43d03f
lea eax, [esp + 0x40]
push eax
mov edi, esi
call fcn.0043fa60
or dword [esp + 0x18], 4
mov ecx, eax
call fcn.00401f00
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x43d03f
mov bl, 1
jmp 0x43d041
xor bl, bl
test byte [esp + 0x18], 4
je 0x43d051
lea ecx, [esp + 0x40]
call fcn.00408b90
test bl, bl
je 0x43d0a0
lea ecx, [esp + 0x40]
push ecx
mov edi, esi
call fcn.0043fa60
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0xa4], 2
mov edi, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push edi
mov edi, dword [ebp + 0x14]
push edi
push 2
lea edi, [esp + 0x84]
push edi
push eax
mov eax, dword [ebp + 0xc]
push eax
call edx
lea ecx, [esp + 0x40]
call fcn.00408b90
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x84]
mov byte [esp + 0xa0], 0
call fcn.00440180
cmp dword [ebp + 0x14], 0
je 0x43d12c
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x58]
add ecx, 0xfffffff6
push ecx
add edx, 0xfffffffe
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.00410d70
mov edx, dword [esi]
mov edx, dword [edx + 0x54]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
call edx
mov esi, eax
push 0x810
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 3
call fcn.004145f0
push eax
push esi
mov ecx, edi
call fcn.00416bb0
lea ecx, [esp + 0x40]
call fcn.00408b90
mov esi, dword [ebp + 8]
push 0
mov ecx, esi
call fcn.00410c30
jmp 0x43d35d
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
lea ecx, [esp + 0x40]
push ecx
mov ecx, esi
call edx
push eax
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call fcn.00416b10
lea ecx, [esp + 0x40]
call fcn.00408b90
mov eax, dword [esp + 0x34]
add eax, 0x14
cdq
push 0
sub eax, edx
sar eax, 1
push eax
push 0
push 0
lea ecx, [esp + 0x94]
call fcn.00410d70
push 0x57a578
lea ecx, [esp + 0x40]
call fcn.004039f0
push 0x410
lea ecx, [esp + 0x88]
mov byte [esp + 0xa4], 4
call fcn.004145f0
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call fcn.00416bb0
lea ecx, [esp + 0x3c]
call fcn.00408b90
lea ecx, [esp + 0x74]
call fcn.00416af0
lea ecx, [esp + 0x54]
mov edi, eax
call fcn.00416af0
mov edx, dword [esp + 0x1c]
add edi, eax
add edi, dword [edx + 0x80]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x84]
lea edi, [edi + eax + 0x20]
call fcn.00410a70
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.00410a70
lea ecx, [ebx + eax + 0x13]
mov eax, dword [esp + 0x48]
cmp eax, ecx
jle 0x43d1fb
mov ecx, eax
jmp 0x43d216
lea ecx, [esp + 0x84]
call fcn.00410a70
lea ecx, [esp + 0x54]
mov ebx, eax
call fcn.00410a70
lea ecx, [ebx + eax + 0x13]
mov eax, dword [esp + 0x34]
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, dword [edx + 0x80]
mov edx, dword [esp + 0x20]
lea eax, [eax + edx + 0x20]
cmp edi, eax
jg 0x43d237
mov edi, eax
push ecx
push edi
jmp 0x43d32f
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10c]
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [ebp + 0x14]
neg ebx
sbb ebx, ebx
push edx
and ebx, 0xfffff800
add ebx, 0x800
or ebx, 0x8000
push ebx
lea edx, [esp + 0x64]
push edx
lea edx, [esp + 0x38]
push edx
push edi
call eax
cmp dword [esp + 0x30], 1
jne 0x43d2a3
lea ecx, [esp + 0x40]
push ecx
mov edi, esi
call fcn.0043fa60
or dword [esp + 0x18], 8
mov ecx, eax
call fcn.00401f00
test eax, eax
je 0x43d2a3
mov bl, 1
jmp 0x43d2a5
xor bl, bl
test byte [esp + 0x18], 8
je 0x43d2b5
lea ecx, [esp + 0x40]
call fcn.00408b90
test bl, bl
je 0x43d301
lea edx, [esp + 0x40]
push edx
mov edi, esi
call fcn.0043fa60
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
push edi
mov byte [esp + 0xa4], 5
mov edi, dword [esp + 0x38]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10c]
push edi
mov edi, dword [ebp + 0x14]
push edi
push 2
lea edi, [esp + 0x84]
push edi
push eax
mov eax, dword [ebp + 0xc]
push eax
call edx
lea ecx, [esp + 0x40]
call fcn.00408b90
mov eax, dword [esp + 0x48]
push eax
lea ecx, [esp + 0x78]
call fcn.00416af0
lea ecx, [esp + 0x58]
mov edi, eax
call fcn.00416af0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
add edi, eax
add edi, dword [ecx + 0x80]
lea eax, [edi + edx + 0x20]
push eax
lea ecx, [esp + 0x54]
call fcn.004108d0
mov ecx, dword [esi + 0x160]
mov edx, dword [eax]
mov eax, dword [eax + 4]
test ecx, ecx
jle 0x43d349
mov edx, ecx
mov esi, dword [esi + 0x164]
test esi, esi
jle 0x43d355
mov eax, esi
mov esi, dword [ebp + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
lea ecx, [esp + 0x24]
call fcn.00408b90
mov eax, esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10