Function at 0x1006e2d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10187bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x101b31c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x105b4b60]
test eax, eax
jns 0x1006e311
cmp eax, dword [0x105b4ac8]
jge 0x1006e786
test eax, eax
jne 0x1006e53a
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov eax, 0x4449
movups xmmword [ebp - 0x5c], xmm0
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x4c], 2
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x101a0fbc
push getpeername
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5a], 0
mov dword [ebp - 0x78], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1006e3b3
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push 0
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1006e3e7
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e3dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7a1
push ecx
push edx
call fcn.1014330c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1006e42d
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7a1
push ecx
push edx
call fcn.1014330c
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
movups xmmword [ebp - 0x5c], xmm0
mov eax, 0x5750
mov dword [ebp - 0x4c], 2
mov word [ebp - 0x5c], ax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x48], 0xf
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x101a0fbc
push getpeername
mov byte [ebp - 0x5a], 0
mov dword [ebp - 0x78], 0
call esi
test eax, eax
jne 0x1006e4bd
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push 0
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1006e4f1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e4e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7a6
push ecx
push edx
call fcn.1014330c
add esp, 8
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1006e781
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e777
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7a6
jmp 0x1006e777
inc eax
push eax
lea eax, [ebp - 0x44]
push 0x101a103c
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
add esp, 0xc
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e585
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d1c0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x101a0fbc
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1006e5ff
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push esi
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1006e633
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e629
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7ab
push ecx
push edx
call fcn.1014330c
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 0xf
jbe 0x1006e680
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e676
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7ab
push ecx
push edx
call fcn.1014330c
add esp, 8
mov eax, dword [0x105b4b60]
inc eax
push eax
lea eax, [ebp - 0x44]
push 0x101a1044
push eax
call sym.Main.dll_sprintf
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0
movups xmmword [ebp - 0x74], xmm0
add esp, 0xc
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x44]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x4c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x48], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006e6d0
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d1c0
mov esi, dword [ebp - 0x64]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x101a0fbc
push getpeername
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006e744
cmp dword [ebp - 0x60], 0xf
lea ecx, [ebp - 0x74]
push esi
cmova ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 1
push 0
push eax
push dword [ebp - 0x78]
call edi
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x48]
cmp ecx, 0xf
jbe 0x1006e4f1
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006e4e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006e7a6
jmp 0x1006e4e7
push ecx
push edx
call fcn.1014330c
add esp, 8
call fcn.1006fa30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10142fe4
mov esp, ebp
pop ebp
ret
call fcn.1014f8ca
call fcn.1014f8ca
call fcn.1014f8ca
int3