Function at 0x10007b10
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1003440b
push eax
mov al, byte [0x1005a070]
mov dword fs:[0], esp
sub esp, 0x138
test al, 1
push ebx
push ebp
push esi
push edi
mov ebp, ecx
jne 0x10007b4b
or al, 1
mov byte [0x1005a070], al
call fcn.100075f0
mov dword [0x1005a06c], eax
mov al, byte [ebp + 0x40]
test al, al
je 0x10007b5b
push 1
mov ecx, ebp
call sym.EoRezoTools_3.dll_public:_int___thiscall_CCpuUsage::EnablePerformaceCounters_int_
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x49]
mov byte [esp + 0x48], bl
lea edx, [esp + 0x48]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x158]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x150], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov al, byte [0x1005a108]
and ecx, 3
test al, 1
rep movsb byte es:[edi], byte [esi]
jne 0x10007bcc
or al, 1
push 0x19000
mov ecx, 0x1005a110
mov byte [0x1005a108], al
call fcn.10008320
push 0x10008310
call fcn.10033540
add esp, 4
mov ecx, dword [0x1005a114]
push 0xe6
lea edx, [esp + 0x2c]
push 0x100541f4
push edx
mov dword [esp + 0x1c], ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [0x1005a114]
mov edi, dword [0x1005a110]
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 0xc
and ecx, 3
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
rep stosb byte es:[edi], al
mov ecx, dword [0x1005a110]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
push reloc.WSOCK32.dll_connect
call esi
cmp eax, 0xea
jne 0x10007c6a
mov eax, dword [esp + 0x10]
mov ecx, 0x1005a110
add eax, 0x2800
push eax
mov dword [esp + 0x14], eax
call fcn.10008340
mov ecx, dword [0x1005a110]
lea eax, [esp + 0x10]
push eax
push ecx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
push reloc.WSOCK32.dll_connect
call esi
cmp eax, 0xea
je 0x10007c31
mov esi, dword [0x1005a110]
xor eax, eax
xor edx, edx
mov ecx, dword [esi + 0x18]
mov edi, dword [esi + 0x1c]
add ecx, esi
test edi, edi
jbe 0x10007ca3
cmp dword [ecx + 0xc], 0xe6
je 0x10007c92
add ecx, dword [ecx]
inc ebx
cmp ebx, edi
jb 0x10007c80
jmp 0x10007ca3
lea eax, [esp + 0x48]
push eax
push 6
push ecx
lea ecx, [esp + 0x30]
call fcn.10007f10
mov bl, byte [ebp + 0x40]
mov edi, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
mov dword [esp + 0x20], edi
test bl, bl
je 0x10007cc8
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x50], ecx
mov byte [ebp + 0x40], 0
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x54], edi
xor eax, eax
jmp 0x10007d11
mov ebx, dword [ebp + 0x48]
mov edi, eax
fild qword [esi + 0x48]
fild qword [ebp + 0x50]
sub edi, ebx
mov ebx, edx
sbb ebx, dword [ebp + 0x4c]
mov dword [esp + 0x14], edi
fsubp st(1)
mov dword [esp + 0x18], ebx
mov dword [ebp + 0x50], ecx
fild qword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov dword [ebp + 0x48], eax
mov dword [ebp + 0x4c], edx
mov dword [ebp + 0x54], ecx
fdiv st(1)
fmul qword [0x1003afb0]
call sub.MSVCRT.dll__ftol
xor edx, edx
test eax, eax
setl dl
dec edx
fstp st(0)
and eax, edx
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret 4