Function at 0x43a1d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x486298
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x504a70]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x507158]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + 8]
mov dword [esp + 0x28], edx
fild dword [esp + 0x28]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x4c], esp
push str.ativga.numcards
call fcn.00419150
mov ecx, edi
call fcn.0042fcc0
mov eax, dword [0x507158]
mov ecx, dword [eax + 0x18]
xor ebp, ebp
cmp dword [ecx + 8], ebp
jle 0x43ac8b
call fcn.0045e8af
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x43ac9f
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea eax, [ebp + 1]
push eax
lea ecx, [esp + 0x2c]
push str.ativga.cards._d.
push ecx
mov dword [esp + 0x8c], 0
mov dword [esp + 0x4c], eax
call fcn.00419750
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
add esp, 0xc
test ebp, ebp
jl 0x43aca9
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
lea esi, [ebp*4]
add eax, esi
mov eax, dword [eax]
movzx ecx, byte [eax + 8]
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push 0x4a89a8
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
movzx eax, byte [edx + 9]
mov dword [esp + 0x2c], eax
sub esp, 0xc
mov ecx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea edx, [esp + 0x34]
fstp qword [esp + 4]
push 0x4a89a4
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
movzx edx, byte [ecx + 0xa]
add eax, esi
mov dword [esp + 0x2c], edx
sub esp, 0xc
mov eax, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x34]
fstp qword [esp + 4]
push 0x4a89a0
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
movzx ecx, word [eax + 0x14]
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push str.deviceid
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
fild dword [edx + 0x1c]
add eax, esi
mov eax, dword [edx + 0x1c]
test eax, eax
jge 0x43a3f6
fadd qword [0x4f6140]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push str.memsize
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
call fcn.00423b10
movzx ecx, ax
mov dword [esp + 0x2c], ecx
sub esp, 0xc
mov edx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea eax, [esp + 0x34]
fstp qword [esp + 4]
push str.numrops
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x30
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.00404c60
lea edx, [esp + 0x38]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.004201d0
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push str.gpuname
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x94], 1
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fd50
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a504
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
movzx eax, byte [edx + 0x22]
mov dword [esp + 0x2c], eax
sub esp, 0xc
mov ecx, esp
fild dword [esp + 0x38]
mov dword [esp + 0x38], esp
lea edx, [esp + 0x34]
fstp qword [esp + 4]
push str.interface
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x2c
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.00404c60
lea ecx, [esp + 0x3c]
add esp, 4
add eax, 0x10
push ecx
mov dword [ebx], eax
call fcn.004201d0
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov edx, esp
mov dword [esp + 0x34], esp
push str.devicename
lea eax, [esp + 0x34]
push eax
push edx
mov byte [esp + 0x94], 2
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fd50
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a5e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
add eax, 0x34
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x30], esp
mov ebx, esp
push eax
call fcn.00404c60
lea edx, [esp + 0x40]
add esp, 4
add eax, 0x10
push edx
mov dword [ebx], eax
call fcn.004201d0
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push str.devicestring
lea ecx, [esp + 0x34]
push ecx
push eax
mov byte [esp + 0x94], 3
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fd50
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a67e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [eax + esi]
add eax, esi
mov edx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00425f40
lea eax, [esp + 0x40]
push eax
call fcn.004201d0
add esp, 8
mov eax, dword [eax]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.memtype
lea edx, [esp + 0x34]
push edx
push ecx
mov byte [esp + 0x94], 4
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fd50
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x80], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a706
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
fld qword [edx + 0x138]
add eax, esi
sub esp, 0xc
mov eax, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push str.coredefault
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
fld qword [eax + 0x140]
sub esp, 0xc
mov ecx, esp
fstp qword [esp + 4]
mov dword [esp + 0x38], esp
push str.memdefault
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fcc0
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x439a50
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.readmmrulong
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x439ad0
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.readmmruchar
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x439b50
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.writemmrulong
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x439bd0
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.writemmruchar
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x439c50
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.readpll
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x439cd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.writepll
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x439d50
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.setdefaultclocks
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x439d70
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.getclocks
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x439dd0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.setclocks
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x439e20
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.supportsperfswitch
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x439e50
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.selecti2cport
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x439ec0
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.readi2c
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x439f90
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.writei2c
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov ecx, dword [eax + 4]
mov edx, dword [ecx + esi]
add ecx, esi
cmp dword [edx + 0x18], 2
je 0x43ab11
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov ecx, dword [eax + 4]
add ecx, esi
mov ecx, dword [ecx]
cmp dword [ecx + 0x18], 3
jne 0x43ac4a
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x43a0a0
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.gettemperature
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x43a070
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.getfanspeed
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [0x507158]
mov eax, dword [eax + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov ecx, dword [eax + esi]
add eax, esi
push ecx
push 0x43a120
push ecx
mov edx, esp
mov dword [esp + 0x38], esp
push str.setfanspeed
lea eax, [esp + 0x38]
push eax
push edx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov ecx, dword [0x507158]
mov eax, dword [ecx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
mov edx, dword [eax + esi]
add eax, esi
push edx
push 0x43a150
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
push str.getfanmode
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov edx, dword [0x507158]
mov eax, dword [edx + 0x18]
cmp ebp, dword [eax + 8]
jge 0x43aca9
mov eax, dword [eax + 4]
add eax, esi
mov eax, dword [eax]
push eax
push 0x43a180
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push str.setfanmode
lea edx, [esp + 0x38]
push edx
push ecx
call fcn.00419230
add esp, 0xc
mov ecx, edi
call fcn.0042fc00
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x80], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43ac75
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x507158]
mov ebp, dword [esp + 0x40]
mov edx, dword [ecx + 0x18]
cmp ebp, dword [edx + 8]
jl 0x43a243
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401440
jmp fcn.0045d951