Function at 0x1003fb5a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1003fbbb
lea eax, [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax]
test eax, eax
je 0x1003fb9b
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [eax + 0x10], 1
jmp 0x1003fbb6
push 0x221
push 0
push 0x16b0
push 0x1b0b
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x1003fd41
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1003fc09
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [eax], 0xffffffff
jmp 0x1003fd41
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0xfffb
jae 0x1003fc7e
mov dword [ebp - 0x24], 1
jmp 0x1003fc82
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x10f4
jg 0x1003fc94
mov dword [ebp - 0x10], 1
jmp 0x1003fc98
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp ecx, dword [eax]
jle 0x1003fcb0
mov dword [ebp - 0x1c], 1
jmp 0x1003fcb4
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp dword [ebp - 0x1c], eax
jl 0x1003fccd
mov eax, 0x97ee
test eax, eax
jne 0x1003fccd
and dword [ebp - 0x14], 0
jmp 0x1003fcd4
mov dword [ebp - 0x14], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
sub ecx, dword [ebp - 0x14]
cmp dword [eax], ecx
jl 0x1003fcec
mov dword [ebp - 0x18], 1
jmp 0x1003fcf0
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0xfffffffc
jne 0x1003fcff
mov dword [ebp - 0x60], 1
jmp 0x1003fd03
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x20]
imul eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jl 0x1003fd2e
mov dword [ebp - 0x28], 1
jmp 0x1003fd32
and dword [ebp - 0x28], 0
push 1
mov ecx, dword [ebp - 0x68]
call fcn.1001c2cb
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret