Function at 0x100691d0
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 0x1012630b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x10141040]
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 [0x10544918], 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 0x100698a7
mov esi, 2
nop dword [eax + eax]
push esi
lea eax, [ebp - 0x48]
mov dword [ebp - 0x9c], esi
push 0x10133d34
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 0x10069296
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10069323
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 0x10069357
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006934d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
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 0x100693a7
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006939d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
add esp, 8
push esi
lea eax, [ebp - 0x48]
push 0x10133d3c
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 0x100693f7
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10069488
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 0x1006948e
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x100694c2
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100694b8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
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 0x10069512
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069508
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
add esp, 8
inc esi
cmp dword [ebp - 0x9c], 5
jl 0x10069240
mov esi, dword [0x10544918]
mov dword [ebp - 0x9c], 0
test esi, esi
jle 0x100698a7
mov eax, 2
mov edi, 0x1054491c
mov dword [ebp - 0x98], eax
nop dword [eax + eax]
dec eax
cmp eax, 5
jge 0x100698a1
mov eax, dword [ebp - 0xa8]
mov ecx, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10069582
test dl, dl
je 0x1006957e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10069582
add eax, 2
add ecx, 2
test dl, dl
jne 0x10069562
xor eax, eax
jmp 0x10069587
sbb eax, eax
or eax, 1
test eax, eax
je 0x10069883
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push 0x10133d44
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 0x100695c0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.1000d190
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 0x100695f5
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1006967c
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 0x100696b0
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100696a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
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 0x100696fd
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100696f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
add esp, 8
push dword [ebp - 0x98]
lea eax, [ebp - 0x48]
push 0x10133d4c
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 0x10069731
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x78]
call fcn.1000d190
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 0x10069766
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.1000d190
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 0x10133cfc
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100697ed
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 0x10069821
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069817
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
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 0x1006986e
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069864
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
add esp, 8
mov eax, dword [ebp - 0x98]
mov esi, dword [0x10544918]
inc eax
mov dword [ebp - 0x98], eax
jmp 0x10069889
mov eax, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x9c]
add edi, 0x1c
inc ecx
mov dword [ebp - 0x9c], ecx
cmp ecx, esi
jl 0x10069550
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 0x100698c7
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d190
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 0x10133cfc
push closesocket
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 0x10069970
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 0x100699a0
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069996
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100699df
push ecx
push edx
call fcn.100d84b0
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 0x100699ef
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100699e5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100699e5
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 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]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10069a10
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.1000d190
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 0x10133cfc
push closesocket
mov byte [ebp - 0x5e], 0
mov dword [ebp - 0x94], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x10069ab6
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 0x10069abc
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x10069aec
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069ae2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10069b24
push ecx
push edx
call fcn.100d84b0
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 0x10069b34
mov edx, dword [ebp - 0x78]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069b2a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10069b2a
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
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 0x10133d18
push closesocket
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 0x10069bd9
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 0x10069c12
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10069c08
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10069c08
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 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.100d84a2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc