Function at 0x496fd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2a0
mov eax, dword [0x4bf070]
xor eax, esp
mov dword [esp + 0x29c], eax
push esi
push edi
lea eax, [esp + 0x80]
mov dword [esp + 0x83], 0x33697061
push eax
mov esi, ecx
mov word [esp + 0x8f], 0x6c
mov word [esp + 0x84], 0x6441
mov byte [esp + 0x86], 0x76
mov word [esp + 0x8c], 0x642e
mov byte [esp + 0x8b], 0x32
mov byte [esp + 0x8e], 0x6c
mov word [esp + 0x6c], 0x6552
mov dword [esp + 0x6f], 0x4b746553
mov dword [esp + 0x75], 0x75636553
mov dword [esp + 0x7a], 0x797469
mov byte [esp + 0x6e], 0x67
mov word [esp + 0x73], 0x7965
mov byte [esp + 0x79], 0x72
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4972e4
lea eax, [esp + 0x68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cc798], eax
test eax, eax
je 0x4972e4
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
push 0x60000
push 0
xorps xmm0, xmm0
mov dword [esp + 0x2c], 0
push esi
push reloc.WS2_32.dll_bind
mov dword [esp + 0x24], 0
mov dword [esp + 0x5c], 0
movups xmmword [esp + 0x60], xmm0
mov dword [esp + 0x78], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x44], 0
movups xmmword [esp + 0x45], xmm0
mov word [esp + 0x55], 0
mov byte [esp + 0x57], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4972e4
lea eax, [esp + 0x10]
push eax
push 0
push 4
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
je 0x4972da
cmp eax, 0x7a
jne 0x4972da
push dword [esp + 0x10]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x4972da
lea eax, [esp + 0x10]
push eax
push esi
push 4
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
jne 0x4972da
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x4972da
push 0x104
lea eax, [esp + 0x94]
push 0
push eax
call fcn.004179d0
push 0x104
lea eax, [esp + 0x1a8]
mov dword [esp + 0x3c], 0x104
push 0
push eax
call fcn.004179d0
add esp, 0x18
mov dword [esp + 0x28], 0x104
lea eax, [esp + 0x18]
push eax
push 0x4cc770
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
test eax, eax
je 0x4972da
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1a0]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x2c]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
je 0x4972da
push 0
push 2
push 0x30006
lea eax, [esp + 0x9c]
push eax
lea eax, [esp + 0x58]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameA]
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x50]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
jne 0x4972da
push 1
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x4972da
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x38]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x4972da
lea eax, [esp + 0x30]
push eax
push 4
push dword [esp + 0x14]
call dword [0x4cc798]
push dword [esp + 0xc]
test eax, eax
jne 0x4972de
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4972e4
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x29c]
xor ecx, esp
call fcn.0041553e
mov esp, ebp
pop ebp
ret
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x2a4]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.0041553e
mov esp, ebp
pop ebp
ret