Function at 0x10001170
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 [0x100041bc]
mov dl, byte [0x100041c0]
mov dword [esp + 0xc], eax
mov eax, dword [str.PbgGmEblgl]
mov dword [esp + 0x24], eax
movzx eax, word [0x100041d0]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x100041c8]
mov byte [esp + 0x14], dl
mov edx, dword [0x100041cc]
mov word [esp + 0x30], ax
movzx eax, word [0x100041dc]
mov dword [esp + 0x28], ecx
mov ecx, dword [str.Gmphkd__]
mov dword [esp + 0x2c], edx
mov edx, dword [0x100041d8]
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
call section..text
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 0x10001203
sub eax, esi
test eax, eax
jle 0x1000122d
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 0x10001220
sub eax, esi
cmp edx, eax
jl 0x10001210
lea eax, [esp + 0x28]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10001236
sub eax, esi
test eax, eax
jle 0x1000125d
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 0x10001250
sub eax, esi
cmp ecx, eax
jl 0x10001243
lea eax, [esp + 0x10]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10001266
sub eax, esi
test eax, eax
jle 0x1000128d
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 0x10001280
sub eax, esi
cmp ecx, eax
jl 0x10001273
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push str._s_s_s
push 0x10005544
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push 0x10005544
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100015c0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x10005544
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000159c
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 0x10005150
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 0x10005154
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005158
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1000515c
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005160
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005164
push eax
call esi
mov eax, 0x10005684
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100013a0
sub eax, ecx
mov ecx, dword [esp + 4]
inc eax
push eax
push 0x10005684
push 1
push 0
push 0x10005168
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1000516c
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005170
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005174
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005178
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x1000517c
push edx
call esi
mov eax, 0x10005694
lea ecx, [eax + 1]
jmp 0x10001440
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10001440
sub eax, ecx
inc eax
push eax
mov eax, dword [esp + 8]
push 0x10005694
push 1
push 0
push 0x10005180
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005184
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005188
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1000518c
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005190
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005194
push ecx
call esi
mov eax, 0x100056a4
lea ecx, [eax + 1]
jmp 0x100014e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100014e0
mov edx, dword [esp + 4]
sub eax, ecx
inc eax
push eax
push 0x100056a4
push 1
push 0
push 0x10005198
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1000519c
push ecx
call esi
mov eax, 0x100054f0
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10001520
mov edx, dword [esp + 4]
sub eax, ecx
inc eax
push eax
push 0x100054f0
push 1
push 0
push 0x100051a0
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x10005524
push 4
push 0
push 0x100051a4
push eax
call esi
mov ecx, dword [esp + 4]
push 4
push 0x10005528
push 4
push 0
push 0x100051a8
push ecx
call esi
mov edx, dword [esp + 4]
push 4
push 0x1000552c
push 4
push 0
push 0x100051ac
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x10005530
push 4
push 0
push 0x100051b0
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x100015ab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.1000362c
add esp, 0x38
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x100015cf
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
pop esi
xor ecx, esp
xor eax, eax
call fcn.1000362c
add esp, 0x38
ret