Function at 0x100047b0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xad4
push ebp
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push edi
mov edi, dword [esp + 0xae4]
push str.D3DKMTQueryAdapterInfo
push edi
mov byte [0x10020ab0], 0
call esi
push str.D3DKMTOpenAdapterFromDeviceName
push edi
mov dword [esp + 0x14], eax
call esi
push str.D3DKMTCloseAdapter
push edi
mov dword [esp + 0x18], eax
call esi
push 0x1a
push 0
push 0
push 0x1001802c
mov dword [esp + 0x28], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10004a26
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
lea eax, [esp + 0x3c]
push ebx
push eax
xor ebx, ebx
mov dword [esp + 0x44], 0x1c
push ebx
push 0x1001802c
xorps xmm0, xmm0
push ebx
push ebp
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
call esi
test eax, eax
je 0x10004a25
nop word [eax + eax]
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0x1c
push eax
push 0
push 0x109
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 6
push eax
lea eax, [esp + 0x50]
xorps xmm0, xmm0
push eax
push ebp
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
je 0x10004a0c
xorps xmm0, xmm0
lea eax, [esp + 0x7c]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
call dword [esp + 0x18]
test eax, eax
js 0x10004a0c
push 0x960
lea eax, [esp + 0x188]
push 0
push eax
call fcn.100058b0
lea eax, [esp + 0x190]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], eax
add esp, 0xc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x2c], 0x960
push eax
call dword [esp + 0x14]
test eax, eax
js 0x100049fb
mov edx, dword [esp + 0xa30]
xor eax, eax
movaps xmm4, xmmword [0x10018120]
xorps xmm3, xmm3
mov dword [esp + 0xa30], 0
xorps xmm2, xmm2
movd xmm0, eax
lea ecx, [eax + 4]
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [esp + eax*4 + 0x184]
paddd xmm1, xmm4
pxor xmm1, xmm0
movd xmm0, ecx
paddd xmm3, xmm1
pshufd xmm1, xmm0, 0
movups xmm0, xmmword [esp + eax*4 + 0x194]
add eax, 8
paddd xmm1, xmm4
pxor xmm1, xmm0
paddd xmm2, xmm1
cmp eax, 0x258
jb 0x10004933
paddd xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
paddd xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
paddd xmm2, xmm0
movd eax, xmm2
cmp edx, eax
jne 0x100049fb
imul edi, dword [esp + 0x18c], 0x3a00
add edi, 0x960
push edi
call fcn.1000cfb2
mov esi, eax
add esp, 4
test esi, esi
je 0x100049f5
lea eax, [esp + 0x20]
mov dword [esp + 0x28], esi
push eax
mov dword [esp + 0x30], edi
call dword [esp + 0x14]
test eax, eax
js 0x100049ec
lea eax, [esi + 0x3a88]
push eax
push 0x82
push 0x10020ab0
call fcn.1000cfb2
add esp, 0xc
push esi
call fcn.1000cfb2
add esp, 4
mov esi, dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call dword [esp + 0x20]
lea eax, [esp + 0x40]
inc ebx
push eax
push ebx
push 0x1001802c
push 0
push ebp
call esi
test eax, eax
jne 0x10004850
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xad4
ret