Function at 0x1003b48
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 0x1003bb1
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003daf
test dword [eax + 0x1c], 0x800
je 0x1003daf
push dword [ebp + 0x10]
push edi
push 0x10012b8
push 0x1e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003279
jmp 0x1003daf
mov eax, dword [section..data]
mov esi, section..data
push ebx
mov ebx, 0x10012b8
cmp eax, esi
je 0x1003bdf
test dword [eax + 0x1c], 0x800
je 0x1003bdf
push dword [ebp + 0x10]
push ebx
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003145
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 0x1003c36
mov eax, dword [section..data]
cmp eax, esi
je 0x1003dae
test dword [eax + 0x1c], 0x800
je 0x1003dae
push dword [ebp + 0x10]
push edi
push ebx
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01003279
jmp 0x1003dae
xor esi, esi
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp - 4]
call fcn.0100486e
mov edi, eax
cmp edi, 0x103
je 0x1003cb3
test edi, edi
jne 0x1003c7e
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp - 4]
call fcn.01003740
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.msvcrt.dll_free]
inc esi
pop ecx
test edi, edi
je 0x1003c38
jmp 0x1003dae
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dae
test dword [eax + 0x1c], 0x800
je 0x1003dae
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x21
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010033b9
jmp 0x1003dae
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, 0x10013e8
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 0x1003d11
cmp edi, 2
je 0x1003d1d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dae
test dword [eax + 0x1c], 0x800
je 0x1003dae
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x22
jmp 0x1003da3
cmp dword [ebp - 0x18], 4
jne 0x1003d1d
cmp dword [ebp - 0x14], 4
je 0x1003d24
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 0x1003d5d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dae
test dword [eax + 0x1c], 0x800
je 0x1003dae
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x23
jmp 0x1003da3
cmp dword [ebp + 8], 0
jne 0x1003d67
or dword [ebp - 0xc], 0x19
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0
mov esi, 0x10013c4
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 0x1003dae
mov eax, dword [section..data]
cmp eax, section..data
je 0x1003dae
test dword [eax + 0x1c], 0x800
je 0x1003dae
push esi
push dword [ebp + 0x10]
push edi
push ebx
push 0x24
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010032ec
pop ebx
cmp dword [ebp - 4], 0
mov esi, dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegCloseKey]
je 0x1003dc0
push dword [ebp - 4]
call esi
cmp dword [ebp - 8], 0
je 0x1003dcb
push dword [ebp - 8]
call esi
mov eax, edi
pop edi
pop esi
leave
ret 0x14