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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ad68e
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100e2524]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xb4], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0xa8], ebx
cmp eax, dword [edi + 0x6c]
jne 0x100237e0
cmp byte [edi + 0x78], bl
je 0x100237e0
lea ecx, [ebp - 0xdc]
call fcn.10067d40
sub esp, 0x28
mov dword [ebp - 4], ebx
mov eax, esp
lea ecx, [ebp - 0xdc]
push 1
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_567c140bd41922d601f1d3a73faca87d___bool__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax + 0x24], eax
call fcn.10020830
test al, al
je 0x10022f47
push 0xa
push str.cpu_period
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], bl
call fcn.1000f000
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xdc]
call fcn.100689c0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10022d24
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022d1a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100237fe
push edx
push ecx
call fcn.1007819a
add esp, 8
push 0
push 0x100b967b
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
call fcn.1000f000
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 4
mov ebx, 1
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0xa8], ebx
call fcn.10068a20
test al, al
je 0x10022dc9
push 0
push 0x100b967b
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000f000
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
mov ebx, 3
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0xa8], ebx
call fcn.10067fa0
mov byte [ebp - 0xa1], 0
test eax, eax
jne 0x10022dd0
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 4
test bl, 2
je 0x10022e25
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x10022e13
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022e09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023803
push edx
push ecx
call fcn.1007819a
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov edx, dword [ebp - 0x74]
and ebx, 0xfffffffe
mov dword [ebp - 4], 3
cmp edx, 0x10
jb 0x10022e66
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022e5c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023808
push edx
push ecx
call fcn.1007819a
add esp, 8
cmp byte [ebp - 0xa1], 0
lea ecx, [ebp - 0x58]
jne 0x10022f3e
push str.usage
push 0
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 1
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.utility
push 0
lea ecx, [ebp - 0x58]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 2
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.kernel_temp
push 0
lea ecx, [ebp - 0x58]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 3
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.frequency
push 0
lea ecx, [ebp - 0x58]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 4
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.power
push 0
lea ecx, [ebp - 0x58]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 5
lea ecx, [edi + 0x60]
call fcn.10048d60
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10065140
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
je 0x100236da
sub esp, 0x28
lea ecx, [ebp - 0xdc]
mov eax, esp
push 2
mov dword [eax + 4], ecx
mov ecx, edi
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_567c140bd41922d601f1d3a73faca87d___bool__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__.0
mov dword [eax + 0x24], eax
call fcn.10020830
test al, al
je 0x100236da
push 0xa
push str.gpu_period
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.1000f000
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xdc]
call fcn.100689c0
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10022feb
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022fe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002380d
push edx
push ecx
call fcn.1007819a
add esp, 8
push 0
push 0x100b967b
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.1000f000
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 9
or ebx, 4
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0xa8], ebx
call fcn.10068a20
test al, al
je 0x10023092
push 0
push 0x100b967b
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000f000
lea eax, [ebp - 0x70]
mov dword [ebp - 4], 0xa
or ebx, 8
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0xa8], ebx
call fcn.10067fa0
mov byte [ebp - 0xa1], 0
test eax, eax
jne 0x10023099
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 9
test bl, 8
je 0x100230eb
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x100230d9
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100230cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023812
push edx
push ecx
call fcn.1007819a
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 4], 8
cmp edx, 0x10
jb 0x1002312c
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10023122
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023817
push edx
push ecx
call fcn.1007819a
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x1002313e
mov byte [ebp - 4], 0
jmp 0x100236d2
call fcn.1000b090
mov ecx, eax
test ecx, ecx
je 0x1002381c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa8], eax
mov eax, str.hardware_id
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa8]
test eax, 0xffff0000
jne 0x1002317c
movzx eax, ax
push eax
call fcn.1000bf50
jmp 0x10023188
push 0xb
push str.hardware_id
call fcn.10017b00
mov edi, dword [edi + 0x38]
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0xc
push eax
mov ecx, edi
call fcn.100290f0
mov esi, dword [ebp - 0xac]
cmp esi, dword [edi]
je 0x100231f2
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10023826
mov ecx, dword [ebp - 0xa8]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x100231e6
test dx, dx
je 0x100231e2
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x100231e6
add ecx, 4
add eax, 4
test dx, dx
jne 0x100231c0
xor eax, eax
jmp 0x100231eb
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x10023232
lea eax, [ebp - 0xa8]
mov ecx, edi
mov dword [ebp - 0xac], eax
lea eax, [ebp - 0xa1]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x100ba872
call fcn.10018fa0
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xac]
push eax
call fcn.10019910
mov esi, dword [ebp - 0xac]
mov edx, dword [esi + 0x14]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10023250
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.100185f0
mov edx, dword [ebp - 0xa8]
or eax, 0xffffffff
mov byte [ebp - 4], 0xe
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002328b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0xfde9
cmovae eax, dword [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.1005fa30
add esp, 0xc
push 0
push 0x100b967b
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0xf
mov byte [ebp - 0xa0], 0
call fcn.1000f000
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x28]
call fcn.10067fa0
mov edx, dword [ebp - 0x8c]
mov ebx, eax
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x10023335
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002332b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023830
push edx
push ecx
call fcn.1007819a
add esp, 8
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], eax
test ebx, ebx
jle 0x10023510
nop dword [eax]
cmp ebx, 1
jle 0x10023510
lea ecx, [ebp - 0x70]
push ecx
push str.gpu_id
push eax
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.10066410
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x70]
mov ebx, dword [ebp - 0x70]
lea edi, [ebp - 0x88]
mov esi, dword [ebp - 0x60]
cmp eax, 0x10
mov edx, dword [ebp - 0x78]
cmovae ecx, ebx
cmp dword [ebp - 0x74], 0x10
mov dword [ebp - 0xb8], ecx
cmovae edi, dword [ebp - 0x88]
mov dword [ebp - 0xc4], edi
cmp esi, edx
ja 0x10023483
test esi, esi
je 0x100234d4
movsx ecx, byte [ecx]
mov eax, edi
sub eax, esi
mov dword [ebp - 0xc0], ecx
inc edx
add eax, edx
mov dword [ebp - 0xbc], eax
sub eax, edi
push eax
push ecx
push edi
call fcn.10082730
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10023483
nop dword [eax + eax]
mov ecx, dword [ebp - 0xb8]
mov edx, edi
sub esi, 4
jb 0x10023411
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10023416
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10023400
cmp esi, 0xfffffffc
je 0x1002344a
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10023443
cmp esi, 0xfffffffd
je 0x1002344a
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10023443
cmp esi, 0xfffffffe
je 0x1002344a
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10023443
cmp esi, 0xffffffff
je 0x1002344a
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x1002344a
sbb eax, eax
or eax, 1
jmp 0x1002344c
xor eax, eax
test eax, eax
je 0x10023478
mov eax, dword [ebp - 0xbc]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xc0]
push edi
call fcn.10082730
mov esi, dword [ebp - 0x60]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100233f0
jmp 0x10023483
sub edi, dword [ebp - 0xc4]
cmp edi, 0xffffffff
jne 0x100234d1
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x100234b4
inc ecx
mov eax, ebx
cmp ecx, 0x1000
jb 0x100234aa
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100237fe
push ecx
push ebx
call fcn.1007819a
add esp, 8
mov eax, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, ebx
jl 0x10023350
jmp 0x10023510
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
cmp eax, 0x10
jb 0x10023510
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10023506
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023835
push ecx
push ebx
call fcn.1007819a
add esp, 8
mov ebx, dword [ebp - 0xac]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0xb4]
push str.usage
push ebx
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 6
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.temp
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 7
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.gpu_clock
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 8
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.gpu_mem_clock
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 9
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.power
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 0xa
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.dis_mem_usage
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 0xb
lea ecx, [edi + 0x60]
call fcn.10048d60
push str.shd_mem_usage
push ebx
lea ecx, [ebp - 0x28]
call fcn.10067e80
mov ecx, eax
call fcn.100656d0
mov ecx, eax
call fcn.100662f0
push eax
push 0xc
lea ecx, [edi + 0x60]
call fcn.10048d60
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x10023668
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002365e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002383a
push edx
push ecx
call fcn.1007819a
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp - 4], 8
cmp edx, 8
jb 0x100236bb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100236b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002383f
push edx
push ecx
call fcn.1007819a
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x28]
call fcn.10065140
mov ecx, dword [0x100e47d8]
test ecx, ecx
jne 0x10023740
push 0x100e1170
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100e47d8], 0
jne 0x1002372f
push 0x2c
call fcn.1007816a
add esp, 4
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x10023719
mov ecx, eax
call fcn.10041500
jmp 0x1002371b
xor eax, eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb0]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x100e47d8], eax
push 0x100e1170
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100e47d8]
call fcn.10035700
xor esi, esi
mov dword [ebp - 0xb4], esi
test eax, eax
je 0x10023784
mov ecx, dword [eax]
lea edx, [ebp - 0xac]
push edx
push 0x100ba878
push eax
mov dword [ebp - 0xac], esi
call dword [ecx]
test eax, eax
cmovns esi, dword [ebp - 0xac]
mov dword [ebp - 0xb4], esi
jns 0x10023784
cmp eax, 0x80004002
jne 0x10023844
mov byte [ebp - 4], 0x12
test esi, esi
je 0x100237cf
mov eax, dword [esi]
lea ecx, [ebp - 0xa8]
push ecx
push 0x6a
push esi
mov dword [ebp - 0xa8], 0
call dword [eax + 0x20]
test eax, eax
jns 0x100237b5
push 0x100ba878
push esi
push eax
call fcn.10063db0
push dword [ebp - 0xa8]
lea ecx, [edi + 0x60]
push 0xd
call fcn.10048d60
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0
call dword [eax + 8]
inc dword [edi + 0x90]
lea ecx, [ebp - 0xdc]
call fcn.10065140
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007850b
mov esp, ebp
pop ebp
ret 4
call fcn.10086209
call fcn.10086209
call fcn.10086209
call fcn.10086209
call fcn.10086209
call fcn.10086209
push 0x80004005
call fcn.1000aa20
push 0x80004005
call fcn.1000aa20
call fcn.10086209
call fcn.10086209
call fcn.10086209
call fcn.10086209
push eax
call fcn.10063d90
int3