Function at 0x1006d680
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018643b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x101b11c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x105b2918], 0
mov eax, dword [ebx + 8]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xa0], eax
jle 0x1006dd57
mov esi, 2
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x9c], esi
push 0x1019eff4
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
add esp, 0xc
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d746
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d100
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d7d3
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
push edi
cmova ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d807
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d7fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d857
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d84d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
push esi
lea eax, [ebp - 0x48]
push 0x1019effc
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x80], 0
movups xmmword [ebp - 0x90], xmm0
add esp, 0xc
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x48]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d8a7
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d100
mov edi, dword [ebp - 0x80]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006d938
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0x90]
push edi
cmova ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmova eax, dword [ebp - 0x60]
push ecx
push 1
push 0
push eax
push dword [ebp - 0x98]
call edi
push dword [ebp - 0x98]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1006d93e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006d972
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d968
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006d9c2
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d9b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
inc esi
cmp dword [ebp - 0x9c], 5
jl 0x1006d6f0
mov esi, dword [0x105b2918]
mov dword [ebp - 0x9c], 0
test esi, esi
jle 0x1006dd57
mov eax, 2
mov edi, 0x105b291c
mov dword [ebp - 0x98], eax
nop dword [eax + eax]
dec eax
cmp eax, 5
jge 0x1006dd51
mov eax, dword [ebp - 0xa8]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1006da32
test dl, dl
je 0x1006da2e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1006da32
add eax, 2
add ecx, 2
test dl, dl
jne 0x1006da12
xor eax, eax
jmp 0x1006da37
sbb eax, eax
or eax, 1
test eax, eax
je 0x1006dd33
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push 0x1019f004
push eax
call sym.Main.dll_sprintf
mov ecx, edi
mov dword [ebp - 0x68], 0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
add esp, 0xc
movups xmmword [ebp - 0x78], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006da70
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.1000d100
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006daa5
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d100
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006db2c
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006db60
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006db56
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006dbad
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dba3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push 0x1019f00c
push eax
call sym.Main.dll_sprintf
lea edx, [edi + 0xb]
mov dword [ebp - 0x68], 0
mov ecx, edx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebp - 0x78], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dbe1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.1000d100
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x48]
xorps xmm0, xmm0
mov dword [ebp - 0x50], 0
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dc16
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d100
mov esi, dword [ebp - 0x68]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006dc9d
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006dcd1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dcc7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006dd1e
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dd14
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov eax, dword [ebp - 0x98]
mov esi, dword [0x105b2918]
inc eax
mov dword [ebp - 0x98], eax
jmp 0x1006dd39
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
add edi, 0x1c
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, esi
jl 0x1006da00
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [ebp - 0xa8]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dd77
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d100
mov dword [ebp - 4], 4
xorps xmm0, xmm0
mov esi, dword [ebp - 0x68]
mov eax, 0x4449
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x60], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x50], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006de20
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006de54
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006de4a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006dea1
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006de97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0df
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov esi, dword [ebp - 0xa0]
xorps xmm0, xmm0
mov ecx, esi
mov dword [ebp - 0x68], 0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x64], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006dec1
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d100
mov esi, dword [ebp - 0x68]
xorps xmm0, xmm0
movups xmmword [ebp - 0x60], xmm0
mov eax, 0x5750
mov dword [ebp - 0x50], 2
mov word [ebp - 0x60], ax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x4c], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x1019efbc
push connect
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006df67
cmp dword [ebp - 0x64], 0xf
lea ecx, [ebp - 0x78]
push esi
cmova ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push ecx
cmova eax, dword [ebp - 0x60]
push 1
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
jmp 0x1006df6d
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1006dfa1
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006df97
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0e4
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp ecx, 0xf
jbe 0x1006dfe7
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006dfdd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0e4
push ecx
push edx
call fcn.10141c6c
add esp, 8
lea eax, [ebp - 0xa4]
mov dword [ebp - 0x80], 8
push eax
lea eax, [ebp - 0x94]
mov dword [ebp - 0x7c], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], 1
movups xmmword [ebp - 0x90], xmm0
push 0x1019efd8
push connect
mov dword [ebp - 0x90], 0x65766153
mov dword [ebp - 0x8c], 0x73736150
mov byte [ebp - 0x88], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006e08c
cmp dword [ebp - 0x7c], 0xf
lea ecx, [ebp - 0xa0]
push 4
push ecx
push 4
lea eax, [ebp - 0x90]
cmova eax, dword [ebp - 0x90]
push 0
push eax
push dword [ebp - 0x94]
call edi
push dword [ebp - 0x94]
call esi
mov ecx, dword [ebp - 0x7c]
cmp ecx, 0xf
jbe 0x1006e0bf
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e0b5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e0e9
push ecx
push edx
call fcn.10141c6c
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10141944
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.1014e22a
call fcn.1014e22a
call fcn.1014e22a
int3