Function at 0x10004680
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x1004b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
lea edi, [ebx + 0x40]
mov eax, str.lFXrgAyTbPDSCHOwQAuIUXH18wJjHUCrsHktEcEtgfI0qskAlH2RLBccY233KNuO
lea esi, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov eax, esi
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], ebx
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov byte [ebp - 4], 1
call fcn.100032d0
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x10004703
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov esi, 0xf
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], edi
jb 0x1000472a
mov eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x34], esi
mov edi, 0x18
mov eax, str.evIOesjSf2w24PGoWU9PIA
lea esi, [ebp - 0x48]
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.10002d20
mov ecx, esi
push ecx
lea edx, [ebp - 0x2c]
push edx
mov dword [ebp - 4], 2
call fcn.10002420
add esp, 8
mov edi, eax
mov esi, 0x10052cb0
mov byte [ebp - 4], 3
call fcn.100032d0
mov esi, 0x10
cmp dword [ebp - 0x18], esi
jb 0x10004782
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov edi, 0xf
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp dword [ebp - 0x34], esi
jb 0x100047a9
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov dword [ebp - 0x50], edi
mov edi, 1
mov eax, 0x10040558
lea esi, [ebp - 0x64]
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
call fcn.10002d20
mov dword [ebp - 4], 4
mov eax, dword [0x10052c78]
mov esi, 0x10
cmp dword [0x10052c8c], esi
jae 0x100047e2
mov eax, 0x10052c78
lea edx, [ebp - 0x84]
push edx
push 0x20006
push ebx
push eax
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004840
mov ecx, dword [ebp - 0x64]
cmp dword [ebp - 0x50], esi
jae 0x1000480a
lea ecx, [ebp - 0x64]
mov eax, dword [0x10052cb0]
cmp dword [0x10052cc4], esi
jae 0x1000481c
mov eax, 0x10052cb0
mov edx, dword [ebp - 0x54]
inc edx
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x84]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x2c]
push 0x10052c78
push edx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052c78
mov byte [ebp - 4], 5
call fcn.100032d0
mov ebx, 0x10
mov byte [ebp - 4], 4
cmp dword [ebp - 0x18], ebx
jb 0x1000487c
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea ecx, [ebp - 0x80]
push 0x10052cb0
push ecx
call fcn.10002920
add esp, 8
mov edi, eax
mov esi, 0x10052cb0
mov byte [ebp - 4], 6
call fcn.100032d0
cmp dword [ebp - 0x6c], ebx
jb 0x100048af
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x50], ebx
jb 0x100048c1
mov eax, dword [ebp - 0x64]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret