Function at 0x10002150
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 [0x10004294]
mov dl, byte [0x10004298]
mov dword [esp + 0xc], eax
mov eax, dword [str.PbgGmEblgl]
mov dword [esp + 0x24], eax
movzx eax, word [0x100042a8]
mov dword [esp + 0x10], ecx
mov ecx, dword [0x100042a0]
mov byte [esp + 0x14], dl
mov edx, dword [0x100042a4]
mov word [esp + 0x30], ax
movzx eax, word [0x100042b4]
mov dword [esp + 0x28], ecx
mov ecx, dword [str.Gmphkd__]
mov dword [esp + 0x2c], edx
mov edx, dword [0x100042b0]
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov word [esp + 0x24], ax
call fcn.10001fe0
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 0x100021e3
sub eax, esi
test eax, eax
jle 0x1000220d
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 0x10002200
sub eax, esi
cmp edx, eax
jl 0x100021f0
lea eax, [esp + 0x28]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002216
sub eax, esi
test eax, eax
jle 0x1000223d
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 0x10002230
sub eax, esi
cmp ecx, eax
jl 0x10002223
lea eax, [esp + 0x10]
xor ecx, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002246
sub eax, esi
test eax, eax
jle 0x1000226d
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 0x10002260
sub eax, esi
cmp ecx, eax
jl 0x10002253
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
push str._s_s_s
push 0x1000560c
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 4]
push ecx
push 0xf003f
push 0
push 0x1000560c
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100025a0
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 8]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push 0x1000560c
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1000257c
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 0x10005024
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 0x10005028
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1000502c
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005030
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005034
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005038
push eax
call esi
mov eax, 0x100057b0
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002380
sub eax, ecx
mov ecx, dword [esp + 4]
inc eax
push eax
push 0x100057b0
push 1
push 0
push 0x1000503c
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005040
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005044
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005048
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x1000504c
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005050
push edx
call esi
mov eax, 0x100057c0
lea ecx, [eax + 1]
jmp 0x10002420
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002420
sub eax, ecx
inc eax
push eax
mov eax, dword [esp + 8]
push 0x100057c0
push 1
push 0
push 0x10005054
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005058
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x1000505c
push ecx
call esi
mov eax, dword [esp + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push 0x10005060
push eax
call esi
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push 0x10005064
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005068
push ecx
call esi
mov eax, 0x100057d0
lea ecx, [eax + 1]
jmp 0x100024c0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100024c0
mov edx, dword [esp + 4]
sub eax, ecx
inc eax
push eax
push 0x100057d0
push 1
push 0
push 0x1000506c
push edx
call esi
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push 0x10005070
push ecx
call esi
mov eax, 0x100055b8
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10002500
mov edx, dword [esp + 4]
sub eax, ecx
inc eax
push eax
push 0x100055b8
push 1
push 0
push 0x10005074
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x100055ec
push 4
push 0
push 0x10005078
push eax
call esi
mov ecx, dword [esp + 4]
push 4
push 0x100055f0
push 4
push 0
push 0x1000507c
push ecx
call esi
mov edx, dword [esp + 4]
push 4
push 0x100055f4
push 4
push 0
push 0x10005080
push edx
call esi
mov eax, dword [esp + 4]
push 4
push 0x100055f8
push 4
push 0
push 0x10005084
push eax
call esi
mov eax, dword [esp + 4]
test eax, eax
je 0x1000258b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.10003626
add esp, 0x38
ret
mov eax, dword [esp + 4]
test eax, eax
je 0x100025af
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x38]
pop esi
xor ecx, esp
xor eax, eax
call fcn.10003626
add esp, 0x38
ret