Function at 0x66a8a0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x454
push ebx
push esi
push edi
push 2
lea edi, [esp + 0x1c]
call fcn.0067f880
mov edi, dword [ebp + 0x18]
mov eax, edi
call fcn.0068bf80
test al, al
je 0x66aba2
mov eax, edi
call fcn.0068bff0
test al, al
je 0x66a924
lea eax, [esp + 0x50]
push eax
mov eax, str.ffmpeg24
call fcn.004a6a60
test al, al
jne 0x66a924
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0x50]
push ecx
push str.Video_Component
push str.ffmpeg24
push edx
call fcn.004a6bc0
test al, al
jne 0x66a924
mov edi, dword [ebp + 8]
push 2
call fcn.0067f880
lea ecx, [esp + 0x18]
call fcn.0067f910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
call fcn.004c90f0
cmp eax, 0x2bc00000
jae 0x66a93a
mov eax, 1
jmp 0x66a9c4
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [esp + 0x40]
push 0x7b6eec
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x736614], 0
je 0x66a9b7
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
cmp dword [0x736614], 1
jne 0x66a999
test eax, eax
jge 0x66a98a
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
jge 0x66a9b5
mov esi, 1
jmp 0x66a9b7
add esi, 0xffffffff
cmp esi, 1
jge 0x66a9b7
mov esi, 1
jmp 0x66a9b7
test eax, eax
jge 0x66a9a4
mov esi, 1
jmp 0x66a9b7
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp eax, 1
mov esi, 1
jl 0x66a9b7
mov esi, eax
push 0x7b6eec
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
cmp eax, 1
setg cl
push 0xe39
mov byte [esp + 0x18], cl
call fcn.0069e704
mov esi, eax
add esp, 4
test esi, esi
jne 0x66ab30
call fcn.004b05b0
mov dword [esp + 0x10], esi
mov ecx, dword [esi + 4]
push 1
push ecx
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x14]
mov ecx, esi
call fcn.0068c030
mov ebx, dword [esp + 0x1c]
mov edi, eax
cmp ebx, dword [edi + 4]
je 0x66aa46
mov eax, dword [edi + 4]
add word [eax + 0x7a], 1
add word [ebx + 0x7a], 0xffff
movzx eax, word [ebx + 0x7a]
test ax, ax
jne 0x66aa3f
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 1
mov ecx, ebx
call eax
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], 0x721418
add word [eax + 0x7a], 0xffff
mov ecx, dword [esp + 0x24]
cmp word [ecx + 0x7a], 0
jne 0x66aa6c
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push 1
call eax
mov edx, dword [ebx]
mov eax, dword [edx]
mov ecx, ebx
call eax
test al, al
je 0x66aad9
mov esi, dword [ebp + 0x18]
xor edi, edi
call fcn.0066a690
test al, al
jne 0x66aad5
mov edx, dword [ebp + 0xc]
push edx
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], 1
call fcn.0064e440
cmp dword [eax], edi
jne 0x66aad5
mov eax, dword [ebp + 0x14]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
call fcn.0068c030
mov edi, eax
lea esi, [esp + 0x18]
call fcn.0067f9e0
lea ecx, [esp + 0x20]
call fcn.0067f910
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov eax, dword [ebx]
mov edx, dword [eax]
mov ecx, ebx
call edx
test al, al
je 0x66ab4f
mov edi, dword [ebp + 8]
push 2
call fcn.0067f880
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x66ab07
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
add word [ebx + 0x7a], 0xffff
movzx eax, word [ebx + 0x7a]
test ax, ax
jne 0x66acd5
mov edx, dword [ebx]
mov eax, dword [edx + 8]
push 1
mov ecx, ebx
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push eax
push edi
push esi
call fcn.0068bad0
mov dword [esi], 0x7230c4
mov dword [esp + 0x10], esi
jmp 0x66a9ee
mov esi, dword [esi + 0xdfc]
test esi, esi
je 0x66ab94
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test al, al
je 0x66ab94
mov edi, dword [ebp + 8]
mov dword [edi], 0x721418
mov dword [edi + 4], ebx
add word [ebx + 0x7a], 1
lea esi, [esp + 0x14]
call fcn.00688ef0
lea ecx, [esp + 0x18]
call fcn.0067f910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
lea esi, [esp + 0x14]
call fcn.00688ef0
mov edi, dword [ebp + 0x18]
jmp 0x66aba6
mov ebx, dword [esp + 0x1c]
cmp dword [edi + 0xbc7], 1
jne 0x66abbe
mov edi, dword [ebp + 8]
push 2
call fcn.0067f880
jmp 0x66ab07
lea ecx, [esp + 0x258]
push ecx
mov eax, str.ffmpeg24
call fcn.004a6a60
test al, al
jne 0x66ac02
mov eax, dword [ebp + 0xc]
lea edx, [esp + 0x258]
push edx
push str.Video_Component
push str.ffmpeg24
push eax
call fcn.004a6bc0
test al, al
jne 0x66ac02
mov edi, dword [ebp + 8]
push 2
call fcn.0067f880
jmp 0x66ab07
push 0x15b0
call fcn.0069e704
add esp, 4
test eax, eax
jne 0x66acaa
call fcn.004b05b0
xor ebx, ebx
mov ecx, dword [ebx + 8]
push 1
push ecx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov edx, dword [ebp + 0x10]
mov esi, ebx
call fcn.00655e40
test al, al
je 0x66acb9
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x66ac49
mov dword [ebx + 0x113c], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x66ac56
mov dword [ebx + 0x10f8], eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x14]
push ebx
call fcn.00655f50
mov edi, eax
lea esi, [esp + 0x18]
call fcn.0067f9e0
lea ecx, [esp + 0x20]
call fcn.0067f910
mov esi, dword [esp + 0x1c]
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
test al, al
jne 0x66acb9
push ebx
call fcn.00657280
test al, al
je 0x66acb9
mov edi, dword [ebp + 8]
mov dword [edi], 0x721418
mov dword [edi + 4], esi
add word [esi + 0x7a], 1
jmp 0x66acc3
push edi
mov esi, eax
call fcn.00655710
mov ebx, eax
jmp 0x66ac1e
mov edi, dword [ebp + 8]
push 2
call fcn.0067f880
lea esi, [esp + 0x10]
call fcn.00687b90
lea ecx, [esp + 0x18]
call fcn.0067f910
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c