Function at 0x1002e790
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003aedf
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x1004b220]
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, dword [ebp + 8]
mov dword [ebp - 0x434], edi
mov dword [ebp - 0x428], 1
mov dword [ebp - 4], 0
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ea52
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
push ecx
mov esi, esp
mov dword [ebp - 4], 1
mov dword [ebp - 0x428], 1
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x430], 0x400
mov dword [ebp - 0x42c], esi
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ea5c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push str.CRLog
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.10006e20
test al, al
jne 0x1002e85b
push str.CRLog
mov ecx, esi
call fcn.10006f40
lea eax, [ebp - 0x424]
mov byte [ebp - 4], 1
push eax
call fcn.1002ff50
add esp, 8
test al, al
jne 0x1002e87e
mov ecx, edi
call fcn.100072c0
jmp 0x1002ea34
mov ebx, dword [ebp - 0x424]
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x410]
push eax
push 0
push 0
push str.GUID
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1002e8e6
lea eax, [ebp - 0x410]
push eax
push 0x1004099c
push edi
call fcn.1001bd10
add esp, 8
mov esi, esp
mov dword [ebp - 0x42c], esi
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.100070d0
add esp, 4
add eax, 0x10
mov dword [esi], eax
call fcn.100301e0
add esp, 4
test al, al
jne 0x1002ea2d
mov dword [ebp - 4], 3
call fcn.10001b20
mov ecx, eax
test ecx, ecx
je 0x1002ea66
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x424], eax
push 0x1003ef64
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 4
call fcn.10006e20
test al, al
jne 0x1002e932
push 0x1003ef64
lea ecx, [ebp - 0x424]
call fcn.10006f40
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x428], 3
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x1002e9bb
movzx eax, byte [ebp - 0x411]
push eax
movzx eax, byte [ebp - 0x412]
push eax
movzx eax, byte [ebp - 0x413]
push eax
movzx eax, byte [ebp - 0x414]
push eax
movzx eax, byte [ebp - 0x415]
push eax
movzx eax, byte [ebp - 0x416]
push eax
movzx eax, byte [ebp - 0x417]
push eax
movzx eax, byte [ebp - 0x418]
push eax
movzx eax, word [ebp - 0x41a]
push eax
movzx eax, word [ebp - 0x41c]
push eax
push dword [ebp - 0x420]
lea eax, [ebp - 0x424]
push str._08x__04x__04x__02x_02x__02x_02x_02x_02x_02x_02x
push eax
call fcn.1001bd10
add esp, 0x34
lea eax, [ebp - 0x424]
mov ecx, edi
push eax
call fcn.10006530
mov edx, dword [ebp - 0x424]
or eax, 0xffffffff
mov dword [ebp - 0x428], 1
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002e9f5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
cmp dword [eax - 4], 1
mov ecx, dword [eax - 0xc]
lea esi, [ecx*2 + 1]
jle 0x1002ea0f
push ecx
mov ecx, edi
call fcn.10007470
push esi
push dword [edi]
push 1
push 0
push str.GUID
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x1002ea2d
mov ecx, edi
call fcn.100072c0
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
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.10036aba
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
push 0x80004005
call fcn.100018f0
int3