Function at 0x100022a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x38
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x34], eax
mov eax, dword [str.Lh_mpZk]
mov ecx, dword [0x100052b8]
mov dl, byte [0x100052bc]
mov dword [esp + 0xc], eax
mov eax, dword [str.PbgGmEblgl]
mov dword [esp + 0x24], eax
movzx eax, word [0x100052cc]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x100052c4]
mov byte [esp + 0x14], dl
mov edx, dword [0x100052c8]
mov word [esp + 0x30], ax
movzx eax, word [0x100052d8]
mov dword [esp + 0x28], ecx
mov ecx, dword [str.Gmphkd_]
mov dword [esp + 0x2c], edx
mov edx, dword [0x100052d4]
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
call fcn.10002130
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x1c]
mov dword [esp + 8], 0
xor edx, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002333
sub eax, esi
test eax, eax
jle 0x1000235d
add byte [esp + edx + 0x1c], 7
lea eax, [esp + 0x1c]
inc edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10002350
sub eax, esi
cmp edx, eax
jl 0x10002340
lea eax, [esp + 0x28]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002366
sub eax, esi
test eax, eax
jle 0x1000238d
add byte [esp + ecx + 0x28], 7
lea eax, [esp + 0x28]
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002380
sub eax, esi
cmp ecx, eax
jl 0x10002373
lea eax, [esp + 0x10]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002396
sub eax, esi
test eax, eax
jle 0x100023bd
add byte [esp + ecx + 0x10], 7
lea eax, [esp + 0x10]
inc ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100023b0
sub eax, esi
cmp ecx, eax
jl 0x100023a3
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push str._s_s_s
push 0x1001ece0
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push 0x1001ece0
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10002790
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x1001ece0
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000276c
mov edx, dword [esp + 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push eax
push 0x1001e6d8
push edx
mov dword [esp + 0x20], eax
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e6dc
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e6e0
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e6e4
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e6e8
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e6ec
push eax
call esi
mov eax, 0x1001ee94
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100024d0
sub eax, ecx
mov ecx, dword [esp + 4]
inc eax
push eax
push 0x1001ee94
push 1
push 0
push 0x1001e6f0
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e6f4
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e6f8
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e6fc
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e700
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e704
push edx
call esi
mov eax, 0x1001eea4
lea ecx, [eax + 1]
jmp 0x10002570
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002570
sub eax, ecx
inc eax
push eax
mov eax, dword [esp + 8]
push 0x1001eea4
push 1
push 0
push 0x1001e708
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e70c
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e710
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e714
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e718
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e71c
push ecx
call esi
mov eax, 0x1001eeb4
lea ecx, [eax + 1]
jmp 0x10002610
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002610
mov edx, dword [esp + 4]
sub eax, ecx
inc eax
push eax
push 0x1001eeb4
push 1
push 0
push 0x1001e720
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e724
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e728
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1001e72c
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1001e730
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e734
push eax
call esi
mov eax, 0x1001eec4
lea ecx, [eax + 1]
jmp 0x100026b0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100026b0
sub eax, ecx
mov ecx, dword [esp + 4]
inc eax
push eax
push 0x1001eec4
push 1
push 0
push 0x1001e738
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1001e73c
push eax
call esi
mov eax, 0x1001ec88
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100026f0
sub eax, ecx
mov ecx, dword [esp + 4]
inc eax
push eax
push 0x1001ec88
push 1
push 0
push 0x1001e740
push ecx
call esi
mov edx, dword [esp + 4]
push 4
push 0x1001ecbc
push 4
push 0
push 0x1001e744
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x1001ecc0
push 4
push 0
push 0x1001e748
push eax
call esi
mov ecx, dword [esp + 4]
push 4
push 0x1001ecc4
push 4
push 0
push 0x1001e74c
push ecx
call esi
mov edx, dword [esp + 4]
push 4
push 0x1001ecc8
push 4
push 0
push 0x1001e750
push edx
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x1000277b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10004226
add esp, 0x38
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x1000279f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10004226
add esp, 0x38
ret