Function at 0x10071870
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x60
call fcn.1008b151
mov edi, eax
add esp, 4
test edi, edi
je 0x10071967
mov ecx, edi
call fcn.1006bf30
mov dword [edi], vtable.AMFContextImpl.0
lea ecx, [edi + 0x34]
mov dword [edi + 4], vtable.AMFContextImpl.1.0
mov dword [edi + 0x20], vtable.AMFContextImpl.2.0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.10025c20
lea ecx, [edi + 0x3c]
call fcn.10025c20
mov word [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], edi
push 0x20
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
call fcn.1008b151
xorps xmm0, xmm0
mov dword [ebp - 0x64], 2
sub esp, 0x14
movlpd qword [ebp - 0x5c], xmm0
movups xmm0, xmmword [ebp - 0x64]
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi + 0x54], eax
mov eax, esp
push str.AMF_Context_DeviceType
push edi
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [eax + 0x10], xmm0
call fcn.10071290
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push str.MME_4efe535a_MMD_edb8dc97_YUV_9c240ad2
push str.AMDVLKXF
call esi
push 0x100dfeec
push 0x100dfef0
call esi
jmp 0x10071969
xor edi, edi
mov dword [ebx], edi
test edi, edi
jne 0x10071a7b
xor eax, eax
mov dword [ebp - 0xc], edi
push str._ppContext__new_AMFContextImpl____NULL
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov word [ebp - 0x1c], ax
call fcn.10007640
lea eax, [ebp - 0x4c]
push edi
push eax
call fcn.10008360
mov edi, dword [ebp - 0xc]
mov edx, eax
add esp, 8
mov ebx, dword [edx + 0x14]
mov ecx, ebx
mov esi, dword [edx + 0x10]
sub ecx, esi
cmp edi, ecx
mov ecx, dword [ebp - 8]
jbe 0x100719d0
mov eax, ecx
sub eax, edi
cmp eax, esi
jb 0x100719d0
cmp ebx, 8
jb 0x100719c2
mov edx, dword [edx]
push esi
push edx
push 0
lea ecx, [ebp - 0x1c]
call fcn.1000b150
jmp 0x100719e3
cmp ecx, 8
lea eax, [ebp - 0x1c]
push edi
cmovae eax, dword [ebp - 0x1c]
mov ecx, edx
push eax
call fcn.1000afa0
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [ebp - 0x38], 8
jb 0x10071a11
push dword [ebp - 0x4c]
call fcn.10022bb0
xor eax, eax
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 8], 8
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
jb 0x10071a33
push dword [ebp - 0x1c]
call fcn.10022bb0
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
push 0
push str.AMFContextImpl
push 0
push 0x16
push str..........._runtime_srccoreContextImpl.cpp
call fcn.10026a30
add esp, 0x18
cmp dword [ebp - 0x20], 8
jb 0x10071a65
push dword [ebp - 0x34]
call fcn.10022bb0
mov eax, 6
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
push edi
call dword [eax]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret