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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 0x20019
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], esi
push dword [ebp + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegOpenKeyExW]
mov edi, eax
cmp edi, esi
je 0x1003ba1
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d9f
test dword [eax + 0x1c], 0x800
je 0x1003d9f
push dword [ebp + 0x10]
push edi
push 0x10012a8
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003269
jmp 0x1003d9f
mov eax, dword [section..data]
mov esi, section..data
push ebx
mov ebx, 0x10012a8
cmp eax, esi
je 0x1003bcf
test dword [eax + 0x1c], 0x800
je 0x1003bcf
push dword [ebp + 0x10]
push ebx
push 0x19
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003109
xor eax, eax
push eax
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
push eax
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyTransactedW]
mov edi, eax
test edi, edi
je 0x1003c26
mov eax, dword [section..data]
cmp eax, esi
je 0x1003d9e
test dword [eax + 0x1c], 0x800
je 0x1003d9e
push dword [ebp + 0x10]
push edi
push ebx
push 0x1a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003269
jmp 0x1003d9e
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 4]
call fcn.010045db
mov edi, eax
cmp edi, 0x103
je 0x1003ca3
test edi, edi
jne 0x1003c6e
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.01003730
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.msvcrt.dll_free]
inc esi
pop ecx
test edi, edi
je 0x1003c28
jmp 0x1003d9e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d9e
test dword [eax + 0x1c], 0x800
je 0x1003d9e
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x1b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010033a9
jmp 0x1003d9e
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov esi, 0x10013d8
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 4
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
mov edi, eax
test edi, edi
je 0x1003d01
cmp edi, 2
je 0x1003d0d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d9e
test dword [eax + 0x1c], 0x800
je 0x1003d9e
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x1c
jmp 0x1003d93
cmp dword [ebp - 0x18], 4
jne 0x1003d0d
cmp dword [ebp - 0x14], 4
je 0x1003d14
mov dword [ebp + 8], 1
push 4
lea eax, [ebp + 8]
push eax
push 4
push 0
push esi
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x1003d4d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d9e
test dword [eax + 0x1c], 0x800
je 0x1003d9e
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x1d
jmp 0x1003d93
cmp dword [ebp + 8], 0
jne 0x1003d57
or dword [ebp - 0xc], 0x19
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov esi, 0x10013b4
push esi
push dword [ebp - 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegSetValueExW]
mov edi, eax
test edi, edi
je 0x1003d9e
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003d9e
test dword [eax + 0x1c], 0x800
je 0x1003d9e
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010032dc
pop ebx
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
je 0x1003db0
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0
je 0x1003dbb
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
leave
ret 0x14