Function at 0x79a8b3
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, reloc.ws2_32.dll_WSASetLastError
mov eax, 0x4970
call fcn.007c1eb0
mov eax, dword [0x830e54]
xor eax, ebp
mov dword [ebp + reloc.ws2_32.dll_WSASetLastError], eax
mov eax, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
push ebx
push esi
push edi
push dword [eax]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
xor ebx, ebx
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], ebx
call fcn.0077858a
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push eax
call fcn.007792ae
pop ecx
pop ecx
xor edi, edi
mov esi, 0x410
push esi
call fcn.007c9be6
push esi
push ebx
push eax
mov dword [ebp + edi*4 - 0x80], eax
call fcn.007c3430
add esp, 0x10
inc edi
cmp edi, 3
jl 0x79a914
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x60]
call fcn.007788fe
pop ecx
pop ecx
mov dword [ebp - 0x58], ebx
mov edi, 0x400
mov esi, dword [ebp - 0x58]
lea esi, [ebp + esi*4 - 0x80]
mov eax, dword [esi]
cmp eax, ebx
je 0x79aaa4
cmp eax, 0x7ec8a8
je 0x79aaa4
cmp byte [eax], bl
je 0x79aaa4
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x68]
push ecx
push dword [ebp - 0x70]
push eax
push dword [ebp - 0x60]
call fcn.0079a49d
mov eax, dword [ebp - 0x68]
add esp, 0x18
cmp eax, 0x336
je 0x79aabe
cmp eax, 0x337
je 0x79a9ab
cmp eax, 0x322
je 0x79a9ab
cmp eax, 0x381
jne 0x79aa97
push dword [esi]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c9c00
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f4e4c
push eax
call fcn.007c3590
add esp, 0x10
cmp eax, ebx
je 0x79a9f0
push eax
call fcn.007c7760
lea esi, reloc.ws2_32.dll_WSASetLastError
sub esi, eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
call fcn.007c7760
pop ecx
pop ecx
mov byte [eax + esi], bl
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f4e4c
push eax
call fcn.007c9c10
push dword [ebp - 0x64]
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push 0x7f4e44
push eax
call fcn.007e5e9e
add esp, 0x18
lea eax, [ebp - 0x74]
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
mov esi, 0x80000002
push esi
call dword [sym.imp.advapi32.dll_RegCreateKeyA]
test eax, eax
jne 0x79aae1
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push ebx
push eax
call fcn.007c3430
add esp, 0xc
push 0x5f
push ebx
push ebx
push dword [ebp - 0x6c]
call fcn.007c7760
pop ecx
push eax
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x60]
call fcn.007950d4
add esp, 0x1c
push edi
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push 1
lea eax, reloc.ws2_32.dll_WSASetLastError
push eax
push esi
call dword [sym.imp.advapi32.dll_RegSetValueW]
test eax, eax
jne 0x79aafb
push dword [ebp - 0x74]
call dword [sym.imp.advapi32.dll_RegCloseKey]
inc dword [ebp - 0x58]
cmp dword [ebp - 0x58], 3
jl 0x79a945
xor eax, eax
mov ecx, dword [ebp + reloc.ws2_32.dll_WSASetLastError]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.007c1e9d
add ebp, 0x48f0
leave
ret
push 0x7f4e50
push 3
push 2
mov esi, 0x32b
push esi
push 0x82cea8
push dword [ebp - 0x5c]
call fcn.0074b93c
add esp, 0x18
mov eax, esi
jmp 0x79aaa6
mov esi, 0x338
push 2
push esi
push 0x82cea8
push dword [ebp - 0x5c]
call fcn.0074b93c
add esp, 0x10
jmp 0x79aadd
mov esi, 0x339
jmp 0x79aae6