Function at 0x4cac60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x504ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x53d058]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x40], 0x100
mov dword [ebp - 0x44], 0x100
test eax, eax
jne 0x4cacc0
xor al, al
jmp 0x4cafdf
push 0x5079f0
push 0x200
call fcn.00498a01
mov esi, eax
mov dword [ebp - 0x14], esi
push 0x5079f0
push 0x200
mov dword [ebp - 4], 0
call fcn.00498a01
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x18], edi
mov byte [ebp - 4], 1
test esi, esi
je 0x4cafbe
test edi, edi
je 0x4cafbe
push 0x200
push 0
push esi
call fcn.004cdf10
push 0x200
push 0
push edi
call fcn.004cdf10
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x1c]
add esp, 0x18
mov dword [ebp - 0x24], 0x100
add eax, 8
mov dword [ebp - 0x20], 0x100
mov dword [ebp - 0x3c], eax
push ecx
lea ecx, [ebp - 0x20]
push ecx
push edi
lea ecx, [ebp - 0x24]
push ecx
push esi
push eax
push 0x50ad90
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
cmp eax, 1
je 0x4caef9
nop dword [eax]
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x24], eax
ja 0x4cad74
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x20], eax
jbe 0x4caf22
lea eax, [ebp - 0xd4]
push eax
call fcn.004ae6d0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x68], xmm0
cmp dword [eax], 0
je 0x4cae27
xor eax, eax
mov dword [ebp - 0x38], 0x290028
mov word [ebp - 0x48], ax
lea eax, [ebp - 0xac]
push 0x5093d8
push eax
mov dword [ebp - 0x34], 0x2d0020
mov dword [ebp - 0x30], 0x20
mov dword [ebp - 0x5c], 0x650047
mov dword [ebp - 0x58], 0x410074
mov dword [ebp - 0x54], 0x630063
mov dword [ebp - 0x50], 0x61004e
mov dword [ebp - 0x4c], 0x65006d
call fcn.004a3100
lea ecx, [ebp - 0x5c]
push ecx
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004c98a0
add esp, 0x14
lea ecx, [ebp - 0x38]
push str.The_name_buffers_were_too_small._They_will_be_reallocated._n
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004c9ac0
add esp, 0xc
push eax
push 0
call fcn.004b50a0
add esp, 0xc
mov eax, dword [ebp - 0x24]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x2c], esi
mul edx
push 0x5079f0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00498a01
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], esi
test eax, eax
je 0x4cae60
push eax
call fcn.004987f3
add esp, 4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov edx, 2
mov dword [ebp - 0x2c], edi
mul edx
push 0x5079f0
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00498a01
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], edi
test eax, eax
je 0x4cae99
push eax
call fcn.004987f3
add esp, 4
test esi, esi
je 0x4cafbe
test edi, edi
je 0x4cafbe
mov eax, dword [ebp - 0x24]
add eax, eax
push eax
push 0
push esi
call fcn.004cdf10
mov eax, dword [ebp - 0x20]
add eax, eax
push eax
push 0
push edi
call fcn.004cdf10
mov eax, dword [ebp - 0x24]
add esp, 0x18
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push esi
push dword [ebp - 0x3c]
push 0x50ad90
call dword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
cmp eax, 1
jne 0x4cad60
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4caf00
mov ecx, dword [ebp - 0x60]
sub eax, edx
sar eax, 1
push eax
push esi
call fcn.004034d0
mov byte [ebp - 0x25], 1
jmp 0x4cafc2
lea eax, [ebp - 0xd4]
push eax
call fcn.004ae6d0
add esp, 4
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x78], xmm0
movq xmm0, qword [eax + 0x20]
mov eax, dword [eax]
movq qword [ebp - 0x68], xmm0
cmp dword [eax], 0
je 0x4cafbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x5c]
push str.GetAccName
push eax
mov dword [ebp - 0x38], 0x290028
mov dword [ebp - 0x34], 0x2d0020
mov dword [ebp - 0x30], 0x20
call fcn.004ca340
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0xac]
push 0x5093d8
push eax
call fcn.004a3100
push dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.004c98a0
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.004c9ac0
push dword [ebp - 0x2c]
push str.LookupAccountSid_failed._GetLastError_returned:__d_n
push eax
push 0
call fcn.004b50a0
add esp, 0x38
mov byte [ebp - 0x25], 0
test edi, edi
je 0x4cafcf
push edi
call fcn.004987f3
add esp, 4
test esi, esi
je 0x4cafdc
push esi
call fcn.004987f3
add esp, 4
mov al, byte [ebp - 0x25]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049852a
mov esp, ebp
pop ebp
ret