Function at 0x465630
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x584b87
mov eax, dword fs:[0]
push eax
sub esp, 0xa48
mov eax, dword [0x6015a8]
xor eax, esp
mov dword [esp + 0xa40], eax
push ebx
push esi
push edi
mov eax, dword [0x6015a8]
xor eax, esp
push eax
lea eax, [esp + 0xa58]
mov dword fs:[0], eax
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x28], vtable.CTList_class_CDevice_.0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push str.kernel32.dll
mov dword [esp + 0xa64], ebx
mov dword [esp + 0x18], ebx
mov dword [edi + 0x40c], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, ebx
je 0x4656dc
push str.LoadLibraryExA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetSearchPathMode
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test ebx, ebx
je 0x4656dc
push 0x800
push 0
push str.nvapi.dll
call ebx
mov dword [edi + 0x108], eax
test eax, eax
jne 0x4656ed
push str.nvapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [edi + 0x108], eax
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4659b1
push str.nvapi_QueryInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4659b1
push 0x150e828
call esi
push 0xd22bdd7e
mov dword [edi + 0x434], eax
call esi
push 0xe5ac921f
mov dword [edi + 0x438], eax
call esi
push 0xceee8e9f
mov dword [edi + 0x43c], eax
call esi
push 0x2ddfb66e
mov dword [edi + 0x440], eax
call esi
push 0x1be0b8e5
mov dword [edi + 0x444], eax
call esi
push 0x2a0a350f
mov dword [edi + 0x448], eax
call esi
push 0xe3640a56
mov dword [edi + 0x44c], eax
call esi
push 0x5f608315
mov dword [edi + 0x450], eax
call esi
push 0xda141340
mov dword [edi + 0x454], eax
call esi
push 0x465f9bcf
mov dword [edi + 0x458], eax
call esi
push 0x927da4f6
mov dword [edi + 0x45c], eax
call esi
push 0xba94c56e
mov dword [edi + 0x460], eax
call esi
push 0x60ded2ed
mov dword [edi + 0x464], eax
call esi
push 0x7f9b368
mov dword [edi + 0x468], eax
call esi
push 0xedcf624e
mov dword [edi + 0x46c], eax
call esi
add esp, 0x40
push 0x1ea54a3b
mov dword [edi + 0x470], eax
call esi
push 0xdcb616c3
mov dword [edi + 0x474], eax
call esi
push 0x7bcf4ac
mov dword [edi + 0x478], eax
call esi
push 0x57f7caac
mov dword [edi + 0x47c], eax
call esi
push 0x42aea16a
mov dword [edi + 0x480], eax
call esi
push 0x2fde12c5
mov dword [edi + 0x484], eax
call esi
push 0x409d9841
mov dword [edi + 0x488], eax
call esi
push 0x3d358a0c
mov dword [edi + 0x48c], eax
call esi
push 0x22d54523
mov dword [edi + 0x490], eax
call esi
push 0xfb85b01e
mov dword [edi + 0x494], eax
call esi
push 0x35aed5e8
mov dword [edi + 0x498], eax
call esi
push 0xfdc129fa
mov dword [edi + 0x49c], eax
call esi
push 0xc7026a87
mov dword [edi + 0x4a0], eax
call esi
push 0x63e2f56f
mov dword [edi + 0x4a4], eax
call esi
push 0xbe17923
mov dword [edi + 0x4a8], eax
call esi
push 0x86f05d7a
mov dword [edi + 0x4ac], eax
call esi
add esp, 0x40
push 0x4e2f76a8
mov dword [edi + 0x4b0], eax
call esi
push 0xae5fbcfe
mov dword [edi + 0x4b4], eax
call esi
push 0xb6d62591
mov dword [edi + 0x4b8], eax
call esi
push 0xd988f0f3
mov dword [edi + 0x4bc], eax
call esi
push 0xd8265d24
mov dword [edi + 0x4c0], eax
call esi
push 0xd048c3b1
mov dword [edi + 0x4c4], eax
call esi
push 0x7975c581
mov dword [edi + 0x4c8], eax
call esi
push 0x17073a3c
mov dword [edi + 0x4cc], eax
call esi
push 0xafd1b02c
mov dword [edi + 0x4d0], eax
call esi
push 0
mov dword [edi + 0x4d4], eax
call esi
push 0xbc8163d
mov dword [edi + 0x4d8], eax
call esi
push 0x65fe3aad
mov dword [edi + 0x4dc], eax
call esi
push 0xfc13ee11
mov dword [edi + 0x4e0], eax
call esi
push 0x46fbeb03
mov dword [edi + 0x4e4], eax
call esi
push 0x11104158
mov dword [edi + 0x4e8], eax
call esi
push 0xdb9ed906
mov dword [edi + 0x4ec], eax
call esi
add esp, 0x40
push 0x1b4ff3df
mov dword [edi + 0x4f0], eax
call esi
push 0xc12eb19e
mov dword [edi + 0x4f4], eax
call esi
push 0xf40238ef
mov dword [edi + 0x4f8], eax
call esi
add esp, 0xc
mov dword [edi + 0x4fc], eax
mov eax, dword [edi + 0x434]
test eax, eax
je 0x4662cb
cmp dword [edi + 0x43c], 0
je 0x4662cb
cmp dword [edi + 0x440], 0
je 0x4662cb
cmp dword [edi + 0x444], 0
je 0x4662cb
cmp dword [edi + 0x448], 0
je 0x4662cb
cmp dword [edi + 0x44c], 0
je 0x4662cb
call eax
test eax, eax
jne 0x4662b1
lea ecx, [edi + 0x40c]
lea eax, [edi + 0x30c]
push ecx
push eax
mov eax, dword [edi + 0x43c]
mov dword [esp + 0x1c], 1
call eax
add esp, 8
test eax, eax
jne 0x4662b1
mov eax, dword [edi + 0x40c]
test eax, eax
jbe 0x4662b1
xor ebx, ebx
test eax, eax
jle 0x4662b1
jmp 0x465a50
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x54]
push edx
mov edx, dword [edi + ebx*4 + 0x30c]
lea eax, [esp + 0x2c]
push eax
mov eax, dword [edi + 0x444]
lea ecx, [esp + 0x2c]
lea esi, [edi + 0x30c]
push ecx
push edx
call eax
add esp, 0x14
test eax, eax
jne 0x4662a4
mov edx, dword [esi + ebx*4]
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x448]
push edx
call eax
add esp, 8
test eax, eax
jne 0x465aa9
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov eax, dword [esi + ebx*4]
mov ecx, dword [edi + 0x44c]
lea edx, [esp + 0x60]
push edx
push eax
call ecx
add esp, 8
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
test eax, eax
je 0x4662a4
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x28]
mov ecx, eax
push edx
shr ecx, 0x10
push ecx
push eax
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
mov ecx, eax
call fcn.00471f60
test eax, eax
jne 0x465b1c
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x28]
push edx
push eax
push ecx
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
mov ecx, eax
call fcn.00471f60
test eax, eax
jle 0x465b61
lea edx, [esp + 0x28]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], 0
call fcn.00416f2f
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x465b61
mov ecx, esi
call fcn.0047ce90
cmp eax, dword [esp + 0x1c]
je 0x465b90
lea ecx, [esp + 0x48]
call fcn.00416f17
mov esi, eax
mov dword [esp + 0x18], eax
test esi, esi
jne 0x465b41
push 0x660
call fcn.00551d80
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0xa60], 1
test eax, eax
je 0x4660db
mov ecx, eax
call fcn.0047a6b0
mov esi, eax
jmp 0x4660dd
push ebx
push edi
mov ecx, esi
call fcn.0047abc0
mov ecx, dword [edi + ebx*4 + 0x30c]
mov edx, dword [edi + 0x440]
lea eax, [esp + 0x90c]
push eax
lea eax, [edi + 0x30c]
push ecx
call edx
add esp, 8
test eax, eax
jne 0x465c89
mov esi, str.Graphics_Device
lea eax, [esp + 0x90c]
mov edi, edi
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x465bf0
test cl, cl
je 0x465bec
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x465bf0
add eax, 2
add esi, 2
test cl, cl
jne 0x465bd0
xor eax, eax
jmp 0x465bf5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x465c89
lea eax, [esp + 0x90c]
push str.NVIDIA
push eax
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x465c6c
lea ecx, [esp + 0x90c]
push str.NVidia
push ecx
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x465c6c
lea edx, [esp + 0x90c]
push str.nvidia
push edx
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x465c6c
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90c]
push eax
push 0x595150
add ecx, 0x10
push 0x100
push ecx
call fcn.00460090
add esp, 0x10
jmp 0x465c89
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x90c]
push edx
add eax, 0x10
push 0x100
push eax
call fcn.00564635
add esp, 0xc
mov eax, dword [edi + 0x494]
test eax, eax
je 0x465d66
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0xb4]
lea esi, [edi + 0x30c]
push ecx
push edx
mov dword [esp + 0xbc], 0x30224
call eax
add esp, 8
test eax, eax
je 0x465d33
mov ecx, dword [esi + ebx*4]
mov edx, dword [edi + 0x494]
lea eax, [esp + 0xb4]
push eax
push ecx
mov dword [esp + 0xbc], 0x30224
call edx
add esp, 8
test eax, eax
je 0x465d33
mov ecx, dword [esi + ebx*4]
mov edx, dword [edi + 0x494]
lea eax, [esp + 0xb4]
push eax
push ecx
mov dword [esp + 0xbc], 0x2002c
call edx
add esp, 8
test eax, eax
je 0x465d33
mov ecx, dword [esi + ebx*4]
mov edx, dword [edi + 0x494]
lea eax, [esp + 0xb4]
push eax
push ecx
mov dword [esp + 0xbc], 0x10014
call edx
add esp, 8
test eax, eax
jne 0x465d66
mov esi, dword [esp + 0x18]
lea eax, [esp + 0xb8]
push eax
lea ecx, [esi + 0x430]
push 0x20
push ecx
call fcn.00564635
lea edx, [esp + 0xd4]
push edx
push 0x20
add esi, 0x450
push esi
call fcn.00564635
add esp, 0x18
mov ecx, dword [edi + 0x4a0]
xor esi, esi
cmp ecx, esi
je 0x465da0
mov edx, dword [edi + ebx*4 + 0x30c]
lea eax, [esp + 0x14]
push eax
lea eax, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call ecx
add esp, 8
cmp eax, esi
jne 0x465da0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x4b8], eax
mov ecx, dword [edi + 0x4a4]
cmp ecx, esi
je 0x465dd4
lea edx, [esp + 0x14]
lea eax, [edi + 0x30c]
mov eax, dword [eax + ebx*4]
push edx
push eax
mov dword [esp + 0x1c], esi
call ecx
add esp, 8
cmp eax, esi
jne 0x465dd4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x4bc], ecx
mov eax, dword [edi + 0x4a8]
cmp eax, esi
je 0x465dfa
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
mov eax, dword [edi + 0x4ac]
cmp eax, esi
je 0x465e20
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
mov eax, dword [edi + 0x4b0]
cmp eax, esi
je 0x465e46
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
mov eax, dword [edi + 0x4b4]
cmp eax, esi
je 0x465e6c
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
mov eax, dword [edi + 0x4b8]
cmp eax, esi
je 0x465e92
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
mov eax, dword [edi + 0x4bc]
cmp eax, esi
je 0x465eb8
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 0x30c]
push edx
mov dword [esp + 0x1c], esi
call eax
add esp, 8
cmp dword [edi + 0x4d4], esi
je 0x465f0d
push 0x50
lea eax, [esp + 0x68]
push esi
push eax
call fcn.005635a0
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x70]
lea eax, [edi + 0x30c]
push ecx
push edx
mov dword [esp + 0x78], 0x20050
call dword [edi + 0x4d4]
add esp, 0x14
cmp eax, esi
jne 0x465f0d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax + 0x4c8], ecx
mov dword [eax + 0x4c4], edx
cmp dword [edi + 0x498], esi
je 0x465f52
push 0x62c
lea eax, [esp + 0x2e0]
push esi
push eax
call fcn.005635a0
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x2e8]
lea eax, [edi + 0x30c]
push ecx
push edx
mov dword [esp + 0x2f0], 0x1062c
call dword [edi + 0x498]
add esp, 0x14
mov ecx, dword [edi + 0x4c0]
cmp ecx, esi
je 0x465f98
mov edx, dword [edi + ebx*4 + 0x30c]
lea eax, [esp + 0xa0c]
push eax
lea eax, [edi + 0x30c]
push edx
call ecx
add esp, 8
cmp eax, esi
jne 0x465f98
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xa0c]
push eax
add ecx, 0x490
push 0x10
push ecx
call fcn.00564635
add esp, 0xc
mov ecx, dword [edi + 0x4c4]
cmp ecx, esi
je 0x465fe6
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
lea edx, [esp + 0x38]
lea eax, [edi + 0x30c]
mov eax, dword [eax + ebx*4]
push edx
push eax
mov dword [esp + 0x40], 0x20010
call ecx
add esp, 8
cmp eax, esi
jne 0x465fe6
mov ecx, dword [esp + 0x40]
or ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x18]
mov dword [edx + 0x4ac], ecx
mov eax, dword [edi + 0x4c8]
cmp eax, esi
je 0x466008
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x58]
push ecx
lea ecx, [edi + 0x30c]
push edx
call eax
add esp, 8
mov eax, dword [edi + 0x4d0]
cmp eax, esi
je 0x46602a
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [edi + 0x30c]
push edx
call eax
add esp, 8
mov ecx, dword [esp + 0x18]
call fcn.0047ac60
cmp eax, esi
je 0x46607a
mov eax, dword [eax + 0x18]
movzx eax, word [eax + 6]
and eax, 0xfff0
cmp eax, 0x1e00
jne 0x46607a
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x4b8]
cmp eax, 0x58
je 0x46606c
cmp eax, 0x60
jne 0x46607e
fld dword [0x59514c]
fstp dword [ecx + 0x4d0]
jmp 0x46607e
fld dword [0x595148]
fstp dword [ecx + 0x4d0]
jmp 0x46607e
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x4b0]
and eax, 0xfffff000
cmp eax, 0x10b0000
ja 0x4660ad
je 0x4660b4
cmp eax, 0x1090000
je 0x4660b4
cmp eax, 0x10a0000
je 0x4660b4
mov dword [esp + 0x14], 1
jmp 0x4662a4
cmp eax, 0x10c0000
jne 0x4660ce
mov eax, dword [ecx + 0x4bc]
cmp eax, 0xffffffff
je 0x4660ce
cdq
and edx, 0xf
add eax, edx
sar eax, 4
mov dword [ecx + 0x4c0], eax
mov dword [esp + 0x14], 1
jmp 0x4662a4
xor esi, esi
mov byte [esp + 0xa60], 0
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
mov ecx, eax
call fcn.00471fe0
mov ecx, dword [esp + 0x1c]
inc eax
mov dword [esi + 0x4e8], eax
mov dword [esi + 0x500], ecx
mov dword [esi + 0x4b0], 0x1000000
mov edx, dword [esp + 0x20]
and edx, 0xffff
mov dword [esi + 0x50c], edx
mov eax, dword [esp + 0x20]
shr eax, 0x10
mov dword [esi + 0x510], eax
mov ecx, dword [esp + 0x50]
mov dword [esi + 0x514], ecx
mov edx, dword [esp + 0x24]
and edx, 0xffff
mov dword [esi + 0x518], edx
mov eax, dword [esp + 0x24]
shr eax, 0x10
mov ecx, esi
mov dword [esi + 0x51c], eax
call fcn.0047aca0
mov ecx, esi
call fcn.0047a590
push 0x108
call fcn.00551d80
add esp, 4
mov dword [esp + 0x1c], eax
mov byte [esp + 0xa60], 2
test eax, eax
je 0x46618f
mov ecx, eax
call fcn.004989c0
mov dword [esp + 0x18], eax
jmp 0x466197
mov dword [esp + 0x18], 0
mov ecx, dword [esp + 0x18]
push esi
mov byte [esp + 0xa64], 0
call fcn.00498ab0
test eax, eax
je 0x4661c7
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
mov ecx, eax
call fcn.00471da0
jmp 0x4661da
cmp dword [esp + 0x18], 0
je 0x4661da
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov edx, dword [edi + ebx*4 + 0x30c]
lea ecx, [esp + 0x90c]
lea eax, [edi + 0x30c]
mov eax, dword [edi + 0x440]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x466287
lea ecx, [esp + 0x90c]
push str.NVIDIA
push ecx
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x46626e
lea edx, [esp + 0x90c]
push str.NVidia
push edx
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x46626e
lea eax, [esp + 0x90c]
push str.nvidia
push eax
call fcn.00563d10
add esp, 8
test eax, eax
jne 0x46626e
lea ecx, [esp + 0x90c]
push ecx
push 0x595150
lea edx, [esi + 0x10]
push 0x100
push edx
call fcn.00460090
add esp, 0x10
jmp 0x466287
lea eax, [esp + 0x90c]
push eax
lea ecx, [esi + 0x10]
push 0x100
push ecx
call fcn.00564635
add esp, 0xc
push ebx
push edi
mov ecx, esi
call fcn.0047abc0
push esi
call fcn.00461b70
mov ecx, eax
call fcn.0045dc90
mov ecx, eax
call fcn.00471db0
inc ebx
cmp ebx, dword [edi + 0x40c]
jl 0x465a50
lea ecx, [esp + 0x28]
mov dword [esp + 0xa60], 0xffffffff
call fcn.00416f62
mov eax, dword [esp + 0x14]
jmp 0x4662e1
lea ecx, [esp + 0x28]
mov dword [esp + 0xa60], 0xffffffff
call fcn.00416f62
xor eax, eax
mov ecx, dword [esp + 0xa58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa40]
xor ecx, esp
call fcn.00562d51
mov esp, ebp
pop ebp
ret