Function at 0x1075d53
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x1084efc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp eax, dword [ecx + 0x2350]
mov ebx, dword [ecx + eax*4 + 0x232c]
mov edx, dword [ebx]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], edx
jae 0x1075d9a
mov eax, dword [ebx + 0x440]
test eax, eax
jne 0x1075da4
mov eax, 0x80004005
jmp 0x10762cd
xor edx, edx
test eax, eax
push edi
mov edi, 0xffff
mov dword [ebp - 0xd0], 0x7fffffff
jbe 0x1075e28
lea eax, [ebx + 0x444]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov eax, dword [eax]
cmp eax, 1
jne 0x1075ddc
cmp dword [ebx + 0x2a5c], 0
je 0x1075e1d
cmp eax, 3
jne 0x1075de9
mov dword [ebp - 0xd0], eax
jmp 0x1075e06
cmp eax, 2
jne 0x1075e08
cmp dword [ecx + 0x252c], 0
je 0x1075e08
cmp dword [ebp - 0xd0], 3
je 0x1075e08
mov dword [ebp - 0xd0], eax
mov edi, edx
add dword [ebp - 0xd4], 0xca8
inc edx
cmp edx, dword [ebx + 0x440]
jb 0x1075dc6
jmp 0x1075e1f
mov edi, edx
mov eax, 0xffff
cmp edi, eax
jne 0x1075e32
mov eax, 0x82000005
jmp 0x10762cc
imul edi, edi, 0xca8
lea edi, [edi + ebx + 0x444]
mov dword [edi + 0xc9c], eax
mov ecx, dword [ebx + 0x2a4c]
test ecx, ecx
je 0x1075ea4
and dword [ebp - 0xd0], 0
cmp dword [edi + 0xe0], 0
jbe 0x1075ea4
lea eax, [edi + 0xec]
cmp dword [eax - 8], ecx
jne 0x1075e7f
mov edx, dword [eax - 4]
cmp edx, dword [ebx + 0x2a50]
jne 0x1075e7f
mov edx, dword [eax]
cmp edx, dword [ebx + 0x2a54]
je 0x1075e98
inc dword [ebp - 0xd0]
mov edx, dword [ebp - 0xd0]
add eax, 0x14
cmp edx, dword [edi + 0xe0]
jb 0x1075e65
jmp 0x1075ea4
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0xc9c], eax
cmp dword [edi + 0xc9c], 0xffff
jne 0x1076099
cmp dword [edi], 3
jne 0x1075f51
xor ecx, ecx
or edx, 0xffffffff
cmp dword [edi + 0xe0], ecx
mov dword [ebp - 0xd4], ecx
mov dword [edi + 0xc9c], ecx
jbe 0x1075fbc
lea eax, [edi + 0xec]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax - 4]
cmp eax, 0x190
je 0x1075f3f
cmp eax, edx
jb 0x1075f05
jne 0x1075f3f
cmp dword [ebp - 0xd4], 0
jne 0x1075f3f
and dword [ebp - 0xd4], 0
mov edx, eax
mov eax, dword [ebp - 0xd0]
mov dword [edi + 0xc9c], ecx
mov eax, dword [eax]
cmp eax, 0x17
je 0x1075f35
cmp eax, 0x18
je 0x1075f35
cmp eax, 0x19
je 0x1075f35
cmp eax, 0x1a
je 0x1075f35
cmp eax, 0x1e
jne 0x1075f3f
mov dword [ebp - 0xd4], 1
add dword [ebp - 0xd0], 0x14
inc ecx
cmp ecx, dword [edi + 0xe0]
jb 0x1075ee6
jmp 0x1075fbc
xor edx, edx
cmp dword [edi + 0xe0], edx
mov dword [ebp - 0xe0], edx
mov dword [edi + 0xc9c], edx
jbe 0x1075fbc
lea eax, [edi + 0xec]
mov ecx, dword [eax - 8]
cmp ecx, dword [ebx + 0x430]
jne 0x1075fa8
mov ecx, dword [eax - 4]
cmp ecx, dword [ebx + 0x434]
jne 0x1075fa8
cmp dword [ebp - 0xe0], 0
jne 0x1075f92
mov dword [edi + 0xc9c], edx
mov ecx, dword [eax]
cmp ecx, 0x16
mov dword [ebp - 0xe0], 1
je 0x1075fb6
cmp ecx, 0x15
je 0x1075fb6
inc edx
add eax, 0x14
cmp edx, dword [edi + 0xe0]
jb 0x1075f6d
jmp 0x1075fbc
mov dword [edi + 0xc9c], edx
cmp dword [edi + 0xc9c], 0xffff
jne 0x1076099
xor eax, eax
cmp dword [edi + 0xe0], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd0], eax
jbe 0x1076099
lea eax, [edi + 0xec]
mov ecx, dword [eax]
cmp ecx, 0x16
mov edx, dword [eax - 8]
je 0x1076011
cmp ecx, 0x15
mov dword [ebp - 0xd4], 0x10
jne 0x107601b
mov dword [ebp - 0xd4], 0x20
cmp edx, dword [ebp - 0xe4]
ja 0x1076054
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0xe0]
ja 0x1076054
mov ecx, dword [eax - 8]
cmp ecx, dword [ebp - 0xe4]
jne 0x107607e
mov ecx, dword [eax - 4]
cmp ecx, dword [ebp - 0xe0]
jne 0x107607e
mov edx, dword [ebp - 0xd4]
cmp edx, dword [ebp - 0xdc]
jbe 0x107607e
jmp 0x107605a
mov edx, dword [ebp - 0xd4]
mov ecx, dword [eax - 8]
mov dword [ebp - 0xe4], ecx
mov ecx, dword [eax - 4]
mov dword [ebp - 0xe0], ecx
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xdc], edx
mov dword [edi + 0xc9c], ecx
inc dword [ebp - 0xd0]
mov ecx, dword [ebp - 0xd0]
add eax, 0x14
cmp ecx, dword [edi + 0xe0]
jb 0x1075ff8
and dword [ebp - 0xdc], 0
mov eax, dword [edi + 0xc9c]
mov ecx, dword [edi]
mov dword [esi + 8], ecx
lea eax, [eax + eax*4]
lea eax, [edi + eax*4 + 0xe4]
mov ecx, dword [eax + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [ebp - 0xe8]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi + 0x1c], ecx
mov ecx, dword [eax]
mov dword [esi + 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 0x18], ecx
xor ecx, ecx
inc ecx
mov dword [esi + 0x44], ecx
xor edx, edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x40], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0xd8]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0x26d4]
mov dword [esi + 0x28], ecx
mov ecx, dword [ebx + 0x2a64]
mov dword [esi + 0x2c], ecx
mov ecx, dword [eax + 0x2530]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x10]
push ecx
lea ecx, [esi + 0x14]
push ecx
push dword [esi + 0xc]
mov ecx, dword [ebp - 0xd8]
mov dword [esi + 0x3c], edx
push dword [ecx + 0xc]
mov eax, dword [eax + 0x2354]
push dword [esi + 8]
mov edx, dword [eax]
push dword [ebp - 0xec]
push eax
call dword [edx + 0x3c]
test eax, eax
mov dword [ebp - 0xd0], eax
jl 0x1076175
mov ecx, dword [ebp - 0xd8]
push dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 0xd0], eax
xor eax, eax
cmp dword [ebp - 0xd0], eax
jge 0x107619f
mov ecx, dword [esi + 0x10]
cmp ecx, eax
je 0x1076175
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
and dword [esi + 0x10], 0
mov ecx, dword [ebp - 0xd8]
push edi
mov dword [ebp - 0xdc], 1
call fcn.010741da
test eax, eax
jne 0x10760a0
cmp dword [ebp - 0xd0], eax
jl 0x10762c6
cmp dword [ebp - 0xdc], eax
je 0x10762c6
mov ecx, dword [ebp - 0xd8]
add ecx, 0x253c
cmp word [ecx], ax
je 0x10762c6
mov edx, dword [esi + 0x14]
mov dword [ebx + 0x2a4c], edx
mov edx, dword [esi + 0x18]
push eax
lea edi, [ebx + 0x2a50]
mov dword [edi], edx
mov edx, dword [esi + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebx + 0x2a54], edx
lea edx, [ebp - 0xdc]
push edx
push eax
push 0xf003f
push eax
push eax
push eax
push ecx
push 0x80000001
call esi
test eax, eax
jne 0x10762c6
mov eax, dword [ebp - 0xe8]
inc eax
push eax
lea eax, [ebp - 0xcc]
push 0x1005d24
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
xor eax, eax
push eax
lea ecx, [ebp - 0xd8]
push ecx
push eax
push 0xf003f
push eax
push eax
push eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebp - 0xdc]
call esi
test eax, eax
jne 0x10762ba
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 4
lea eax, [ebx + 0x2a4c]
push eax
push 4
push 0
push 0x1005cc4
push dword [ebp - 0xd8]
call esi
push 4
push edi
push 4
xor edi, edi
push edi
push 0x1005cb4
push dword [ebp - 0xd8]
call esi
push 4
lea eax, [ebx + 0x2a54]
push eax
push 4
push edi
push 0x1005ca4
push dword [ebp - 0xd8]
call esi
push 0x10
add ebx, 0x41c
push ebx
push 3
push edi
push 0x1005d0c
push dword [ebp - 0xd8]
call esi
push dword [ebp - 0xd8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xdc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xd0]
pop edi
mov ecx, dword [ebp - 4]
pop esi
pop ebx
call fcn.01010358
leave
ret 4