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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa94
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xa94]
push eax
lea eax, [ebp - 0x10]
push eax
xor esi, esi
push esi
push 0x1001e88
push dword [ebp + 8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x618
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, esi
jne 0x1003fa3
push ebx
push edi
mov edi, dword [sym.imp.ntdll.dll_wcscat]
lea eax, [ebp - 0xa94]
push 0x1001e74
push eax
call edi
push dword [ebp + 0x1c]
lea eax, [ebp - 0xa94]
push eax
call edi
add esp, 0x10
push esi
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x1003f9e
cmp dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
jbe 0x1003f9e
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0xf003f
push esi
push 0x10
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ntdll.dll__itow]
add esp, 0xc
push eax
push dword [ebp + 0xc]
call ebx
mov edi, eax
cmp edi, esi
jne 0x1003f4a
lea eax, [ebp - 4]
push eax
push 0x20019
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp + 8]
call ebx
mov edi, eax
cmp edi, esi
jne 0x1003f4a
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x274]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1001e64
push dword [ebp - 4]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x208
call edi
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x1003f76
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1001e4c
push dword [ebp - 4]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x208
call edi
cmp eax, esi
mov dword [ebp - 0x14], eax
jne 0x1003f76
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push dword [ebp + 0x24]
lea eax, [ebp - 0xa94]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x274]
push eax
call fcn.01003bee
cmp eax, esi
mov dword [ebp - 0x14], eax
je 0x1003efa
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x10
lea eax, [ebp - 0x2c]
push eax
push 0xb
push esi
push 0x1001e38
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 8], esi
je 0x1003f25
cmp dword [ebp - 8], 0xffffffff
je 0x1003f25
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x1003f39
cmp dword [ebp - 4], 0xffffffff
je 0x1003f39
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jb 0x1003df9
jmp 0x1003f9e
cmp dword [ebp - 8], esi
je 0x1003f5e
cmp dword [ebp - 8], 0xffffffff
je 0x1003f5e
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x1003f72
cmp dword [ebp - 4], 0xffffffff
je 0x1003f72
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1003fa1
cmp dword [ebp - 8], esi
je 0x1003f8a
cmp dword [ebp - 8], 0xffffffff
je 0x1003f8a
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], esi
je 0x1003f9e
cmp dword [ebp - 4], 0xffffffff
je 0x1003f9e
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
pop esi
leave
ret 0x20