Function at 0x10069dd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10126365
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10141040]
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 [0x105449b0]
test eax, eax
jns 0x10069e11
cmp eax, dword [0x10544918]
jge 0x1006a28a
test eax, eax
jne 0x1006a035
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 0x10133cfc
push closesocket
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 0x10069eb3
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 0x10069ee3
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069ed9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10069f1b
push ecx
push edx
call fcn.100d84b0
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 0x10069f2b
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069f21
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10069f21
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d84b0
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 0x10133cfc
push closesocket
mov byte [ebp - 0x5a], 0
mov dword [ebp - 0x78], 0
call esi
test eax, eax
jne 0x10069fbb
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 0x10069feb
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069fe1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006a02f
push ecx
push edx
call fcn.100d84b0
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 0x1006a285
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006a27b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006a27b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
inc eax
push eax
lea eax, [ebp - 0x44]
push 0x10133d7c
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 0x1006a080
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1006a0fa
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 0x1006a12a
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006a120
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006a169
push ecx
push edx
call fcn.100d84b0
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 0x1006a179
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006a16f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006a16f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100d84b0
add esp, 8
mov eax, dword [0x105449b0]
inc eax
push eax
lea eax, [ebp - 0x44]
push 0x10133d84
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
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006a1d0
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006a244
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 0x10069feb
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069fe1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006a02f
jmp 0x10069fe1
push ecx
push edx
call fcn.100d84b0
add esp, 8
call fcn.1006b520
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.100d84a2
mov esp, ebp
pop ebp
ret