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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
push ebx
xor ebx, ebx
cmp dword [0x70030964], 3
mov dword [ebp - 0x10], ebx
je 0x70003e57
push esi
push edi
push ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], 0x80004005
call fcn.7000dd82
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.70003969
test eax, eax
je 0x70003e34
cmp dword [0x70030964], ebx
jne 0x70003c15
lea eax, [ebp - 0x238]
push eax
call fcn.700039b2
xor esi, esi
mov edi, eax
inc esi
jmp 0x70003c1a
xor esi, esi
inc esi
mov edi, esi
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_CharUpperA]
push dword [0x70030968]
lea eax, [ebp - 0x134]
push dword [0x7003096c]
push dword [ebp - 0xc]
push 0x7000158c
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
cmp edi, ebx
je 0x70003e34
cmp dword [0x70030964], ebx
jne 0x70003c63
lea eax, [ebp - 0x134]
push eax
call fcn.70003b3c
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x2001f
push 0x7000156c
push 0x80000001
call fcn.7001af2c
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x70003e34
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x70003cf0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x70001560
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x70003ce2
cmp dword [ebp - 4], ebx
je 0x70003cd9
mov dword [ebp - 4], 3
mov dword [ebp + 0xc], esi
jmp 0x70003ce5
mov dword [ebp - 4], 2
jmp 0x70003ce5
mov dword [ebp - 4], esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70003cf3
mov dword [ebp - 4], esi
cmp dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
je 0x70003d0f
cmp dword [ebp - 4], 2
jne 0x70003d6e
cmp dword [ebp + 0xc], ebx
je 0x70003d6e
lea eax, [ebp - 8]
push eax
push ebx
push 0x20006
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x14]
call fcn.7001af2c
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x70003d62
push dword [ebp - 0xc]
call edi
inc eax
push eax
push dword [ebp - 0xc]
push 1
push ebx
push 0x70001558
push dword [ebp - 8]
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 3
push ebx
push 0x70001560
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0xc], ebx
je 0x70003d6e
mov dword [ebp - 4], 3
cmp dword [ebp - 0x10], ebx
jl 0x70003e28
mov eax, dword [ebp - 4]
cmp dword [0x70030964], eax
je 0x70003e28
cmp dword [ebp + 0xc], ebx
mov eax, 0x7000153c
jne 0x70003d95
mov eax, 0x70001524
lea ecx, [ebp - 8]
push ecx
push ebx
push 0x20006
push eax
push dword [ebp - 0x14]
call fcn.7001af2c
cmp eax, ebx
mov dword [ebp - 0x10], eax
jl 0x70003e28
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov eax, dword [ebp - 4]
push dword [ebp - 0xc]
mov dword [0x70030964], eax
call edi
inc eax
push eax
push dword [ebp - 0xc]
push 1
push ebx
push 0x70001558
push dword [ebp - 8]
call esi
lea eax, [ebp - 0x134]
push eax
call edi
inc eax
push eax
lea eax, [ebp - 0x134]
push eax
push 1
push ebx
push 0x70001520
push dword [ebp - 8]
call esi
push 4
lea eax, [ebp + 8]
push eax
push 3
push ebx
push 0x70001518
push dword [ebp - 8]
call esi
push 8
lea eax, [ebp - 0x20]
push eax
push 3
push ebx
push 0x70001508
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x70003e2b
mov dword [ebp - 4], ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push ebx
call fcn.7000dd90
cmp dword [ebp - 4], ebx
pop edi
pop esi
je 0x70003e57
push ebx
push dword [ebp - 4]
push dword [0x70030960]
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [ebp - 0x10]
pop ebx
leave
ret 8