Function at 0x1047ad6
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1061024]
push ebx
push esi
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 4]
push eax
mov esi, ecx
call fcn.01047964
xor edi, edi
cmp eax, edi
jge 0x1047b0b
mov esi, eax
lea ecx, [ebp - 4]
call fcn.010061d0
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push edi
push edi
push 0x20006
push edi
push edi
push dword [ebp - 4]
mov ecx, esi
push 0x80000001
call fcn.010066a0
cmp eax, edi
jl 0x1047afa
push dword [esi + 0x1c]
mov ecx, esi
push 0x10048f4
call fcn.01047737
cmp eax, edi
jl 0x1047afa
push dword [esi + 0x20]
mov ecx, esi
push 0x10048d8
call fcn.01047737
cmp eax, edi
jl 0x1047afa
movzx eax, byte [esi + 0x24]
push eax
push 0x10048bc
mov ecx, esi
call fcn.01047737
cmp eax, edi
jl 0x1047afa
push dword [esi + 0x28]
mov ecx, esi
push 0x10048a4
call fcn.01047737
cmp eax, edi
jl 0x1047afa
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov ebx, 0x1004880
mov dword [ebp - 8], eax
cmp ecx, ebx
jne 0x1047b90
mov esi, 0x80004003
jmp 0x1047afc
cmp eax, edi
je 0x1047b86
mov ecx, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 0xc], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 8]
push 1
push 0
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call ebx
test eax, eax
je 0x1047bc8
mov esi, 0x80004005
jmp 0x1047afc
mov eax, dword [esi + 0x38]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x1004858
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x1004858
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
push dword [esi + 0x34]
mov ecx, esi
push 0x1004868
call fcn.01047737
test eax, eax
jl 0x1047afa
push dword [esi + 0x40]
mov ecx, esi
push 0x1004840
call fcn.01047737
test eax, eax
jl 0x1047afa
mov eax, dword [esi + 0x44]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x100482c
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x100482c
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
push dword [esi + 0x48]
mov ecx, esi
push 0x1004814
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x4c]
push eax
push 0x1004800
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x4d]
push eax
push 0x10047e8
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x4e]
push eax
push 0x10047cc
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x4f]
push eax
push 0x10047b0
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
push dword [esi + 0x50]
mov ecx, esi
push 0x10047a0
call fcn.01047737
test eax, eax
jl 0x1047afa
push dword [esi + 0x54]
mov ecx, esi
push 0x1004790
call fcn.01047737
test eax, eax
jl 0x1047afa
push dword [esi + 0x58]
mov ecx, esi
push 0x100477c
call fcn.01047737
test eax, eax
jl 0x1047afa
push dword [esi + 0x5c]
mov ecx, esi
push 0x1004768
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x60]
push eax
push 0x1004754
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
movzx eax, byte [esi + 0x61]
push eax
push 0x1004720
mov ecx, esi
call fcn.01047737
test eax, eax
jl 0x1047afa
mov eax, dword [esi + 0xc]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x1004714
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x1004714
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
mov eax, dword [esi + 0x10]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x1004708
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x1004708
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
mov eax, dword [esi + 0x14]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x10046fc
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x10046fc
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
mov eax, dword [esi + 0x18]
xor ecx, ecx
mov dword [ebp - 0xc], eax
cmp ecx, 0x10046f0
je 0x1047b86
test eax, eax
je 0x1047b86
mov ecx, dword [esi]
push eax
mov dword [ebp - 8], ecx
call edi
lea eax, [eax + eax + 2]
push eax
push dword [ebp - 0xc]
push 1
push 0
push 0x10046f0
push dword [ebp - 8]
call ebx
test eax, eax
jne 0x1047bbe
push dword [esi + 0x30]
mov ecx, esi
push 0x10046d8
call fcn.01047737
test eax, eax
jl 0x1047afa
mov ecx, esi
call fcn.01006682
test eax, eax
jl 0x1047afa
xor esi, esi
jmp 0x1047afc