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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ab15e
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x100df514]
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 0x1002336e
cmp byte [edi + 0x78], bl
je 0x1002336e
lea ecx, [ebp - 0xdc]
call fcn.10065bf0
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.100203c0
test al, al
je 0x10022ad7
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.1000eb90
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10066870
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x100228b4
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100228aa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002338c
push edx
push ecx
call fcn.10075d5a
add esp, 8
push 0
push 0x100b667f
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.1000eb90
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.100668d0
test al, al
je 0x10022959
push 0
push 0x100b667f
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.1000eb90
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.10065e50
mov byte [ebp - 0xa1], 0
test eax, eax
jne 0x10022960
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 4
test bl, 2
je 0x100229b5
mov edx, dword [ebp - 0x14]
and ebx, 0xfffffffd
cmp edx, 0x10
jb 0x100229a3
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022999
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023391
push edx
push ecx
call fcn.10075d5a
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 0x100229f6
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100229ec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10023396
push edx
push ecx
call fcn.10075d5a
add esp, 8
cmp byte [ebp - 0xa1], 0
lea ecx, [ebp - 0x58]
jne 0x10022ace
push str.usage
push 0
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 1
lea ecx, [edi + 0x60]
call fcn.10046970
push str.utility
push 0
lea ecx, [ebp - 0x58]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 2
lea ecx, [edi + 0x60]
call fcn.10046970
push str.kernel_temp
push 0
lea ecx, [ebp - 0x58]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 3
lea ecx, [edi + 0x60]
call fcn.10046970
push str.frequency
push 0
lea ecx, [ebp - 0x58]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 4
lea ecx, [edi + 0x60]
call fcn.10046970
push str.power
push 0
lea ecx, [ebp - 0x58]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 5
lea ecx, [edi + 0x60]
call fcn.10046970
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.10063040
mov eax, dword [edi + 0x38]
cmp eax, dword [edi + 0x3c]
je 0x1002326a
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.100203c0
test al, al
je 0x1002326a
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.1000eb90
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10066870
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 8
cmp edx, 0x10
jb 0x10022b7b
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022b71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002339b
push edx
push ecx
call fcn.10075d5a
add esp, 8
push 0
push 0x100b667f
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.1000eb90
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.100668d0
test al, al
je 0x10022c22
push 0
push 0x100b667f
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.1000eb90
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.10065e50
mov byte [ebp - 0xa1], 0
test eax, eax
jne 0x10022c29
mov byte [ebp - 0xa1], 1
mov dword [ebp - 4], 9
test bl, 8
je 0x10022c7b
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x10022c69
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022c5f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233a0
push edx
push ecx
call fcn.10075d5a
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 0x10022cbc
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022cb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233a5
push edx
push ecx
call fcn.10075d5a
add esp, 8
cmp byte [ebp - 0xa1], 0
je 0x10022cce
mov byte [ebp - 4], 0
jmp 0x10023262
call fcn.1000ac40
mov ecx, eax
test ecx, ecx
je 0x100233aa
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 0x10022d0c
movzx eax, ax
push eax
call fcn.1000baf0
jmp 0x10022d18
push 0xb
push str.hardware_id
call fcn.100176a0
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.10028c70
mov esi, dword [ebp - 0xac]
cmp esi, dword [edi]
je 0x10022d82
mov eax, dword [esi + 0x10]
test eax, eax
je 0x100233b4
mov ecx, dword [ebp - 0xa8]
nop
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x10022d76
test dx, dx
je 0x10022d72
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x10022d76
add ecx, 4
add eax, 4
test dx, dx
jne 0x10022d50
xor eax, eax
jmp 0x10022d7b
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x10022dc2
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 0x100b785a
call fcn.10018b40
push eax
add eax, 0x10
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0xac]
push eax
call fcn.100194b0
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 0x10022de0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10018190
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 0x10022e1b
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.1005d930
add esp, 0xc
push 0
push 0x100b667f
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.1000eb90
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x10
push eax
lea ecx, [ebp - 0x28]
call fcn.10065e50
mov edx, dword [ebp - 0x8c]
mov ebx, eax
mov dword [ebp - 0xb0], ebx
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x10022ec5
mov ecx, dword [ebp - 0xa0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10022ebb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233be
push edx
push ecx
call fcn.10075d5a
add esp, 8
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], eax
test ebx, ebx
jle 0x100230a0
nop dword [eax]
cmp ebx, 1
jle 0x100230a0
lea ecx, [ebp - 0x70]
push ecx
push str.gpu_id
push eax
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100642c0
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 0x10023013
test esi, esi
je 0x10023064
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.10080200
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10023013
nop dword [eax + eax]
mov ecx, dword [ebp - 0xb8]
mov edx, edi
sub esi, 4
jb 0x10022fa1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x10022fa6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x10022f90
cmp esi, 0xfffffffc
je 0x10022fda
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x10022fd3
cmp esi, 0xfffffffd
je 0x10022fda
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x10022fd3
cmp esi, 0xfffffffe
je 0x10022fda
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x10022fd3
cmp esi, 0xffffffff
je 0x10022fda
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
je 0x10022fda
sbb eax, eax
or eax, 1
jmp 0x10022fdc
xor eax, eax
test eax, eax
je 0x10023008
mov eax, dword [ebp - 0xbc]
inc edi
sub eax, edi
push eax
push dword [ebp - 0xc0]
push edi
call fcn.10080200
mov esi, dword [ebp - 0x60]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10022f80
jmp 0x10023013
sub edi, dword [ebp - 0xc4]
cmp edi, 0xffffffff
jne 0x10023061
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x10023044
inc ecx
mov eax, ebx
cmp ecx, 0x1000
jb 0x1002303a
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002338c
push ecx
push ebx
call fcn.10075d5a
add esp, 8
mov eax, dword [ebp - 0xa8]
mov ebx, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xa8], eax
cmp eax, ebx
jl 0x10022ee0
jmp 0x100230a0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0xac], ecx
cmp eax, 0x10
jb 0x100230a0
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x10023096
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233c3
push ecx
push ebx
call fcn.10075d5a
add esp, 8
mov ebx, dword [ebp - 0xac]
lea ecx, [ebp - 0x28]
mov edi, dword [ebp - 0xb4]
push str.usage
push ebx
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 6
lea ecx, [edi + 0x60]
call fcn.10046970
push str.temp
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 7
lea ecx, [edi + 0x60]
call fcn.10046970
push str.gpu_clock
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 8
lea ecx, [edi + 0x60]
call fcn.10046970
push str.gpu_mem_clock
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 9
lea ecx, [edi + 0x60]
call fcn.10046970
push str.power
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 0xa
lea ecx, [edi + 0x60]
call fcn.10046970
push str.dis_mem_usage
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 0xb
lea ecx, [edi + 0x60]
call fcn.10046970
push str.shd_mem_usage
push ebx
lea ecx, [ebp - 0x28]
call fcn.10065d30
mov ecx, eax
call fcn.100635d0
mov ecx, eax
call fcn.100641a0
push eax
push 0xc
lea ecx, [edi + 0x60]
call fcn.10046970
mov edx, dword [ebp - 0x74]
mov byte [ebp - 4], 0xe
cmp edx, 0x10
jb 0x100231f8
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100231ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233c8
push edx
push ecx
call fcn.10075d5a
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 0x1002324b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10023241
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100233cd
push edx
push ecx
call fcn.10075d5a
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.10063040
mov ecx, dword [0x100e17a8]
test ecx, ecx
jne 0x100232ce
push 0x100de170
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x100e17a8], 0
jne 0x100232bd
push 0x2c
call fcn.10075d2a
add esp, 4
mov dword [ebp - 0xb4], eax
mov byte [ebp - 4], 0x11
test eax, eax
je 0x100232ab
mov ecx, eax
call fcn.1003f100
mov ecx, eax
jmp 0x100232ad
xor ecx, ecx
mov byte [ebp - 4], 0
xchg dword [ebp - 0xb4], eax
mov dword [0x100e17a8], ecx
push 0x100de170
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x100e17a8]
call fcn.10034e20
xor esi, esi
mov dword [ebp - 0xb0], esi
test eax, eax
je 0x10023312
mov ecx, dword [eax]
lea edx, [ebp - 0xac]
push edx
push 0x100b7860
push eax
mov dword [ebp - 0xac], esi
call dword [ecx]
test eax, eax
cmovns esi, dword [ebp - 0xac]
mov dword [ebp - 0xb0], esi
jns 0x10023312
cmp eax, 0x80004002
jne 0x100233d2
mov byte [ebp - 4], 0x12
test esi, esi
je 0x1002335d
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 0x10023343
push 0x100b7860
push esi
push eax
call fcn.10061cb0
push dword [ebp - 0xa8]
lea ecx, [edi + 0x60]
push 0xd
call fcn.10046970
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.10063040
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.100760cb
mov esp, ebp
pop ebp
ret 4
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
push 0x80004005
call fcn.1000a5d0
push 0x80004005
call fcn.1000a5d0
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
call fcn.10083cd9
push eax
call fcn.10061c90
int3