Function at 0x1e017655
Capabilities:
Get user security identifier

Disassembly:
push 0x254
push 0x1e0023b8
call fcn.1e01ae8c
mov eax, dword [0x1e02e028]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x260], ecx
xor ebx, ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x22c], ebx
xor esi, esi
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x1e017a1d
cmp ecx, ebx
je 0x1e017a1d
cmp word [eax], bx
je 0x1e017a1d
push ebx
push eax
push ecx
push ebx
call fcn.1e01e6b4
add esp, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x244], ebx
mov dword [ebp - 0x248], ebx
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x248]
push ecx
push ebx
lea ecx, [ebp - 0x244]
push ecx
push ebx
push eax
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
call edi
mov dword [ebp - 0x254], eax
cmp eax, ebx
jne 0x1e017737
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x1e017737
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push dword [ebp - 0x234]
push 0x40f
jmp 0x1e017910
push dword [ebp - 0x248]
push ebx
call fcn.1e01bd84
mov dword [ebp - 0x23c], eax
push dword [ebp - 0x244]
push ebx
push dword [0x1e0331f4]
call fcn.1e021085
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x23c], ebx
je 0x1e017a25
cmp eax, ebx
je 0x1e017a25
lea ecx, [ebp - 0x250]
push ecx
lea ecx, [ebp - 0x248]
push ecx
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x244]
push ecx
push eax
push dword [ebp - 0x234]
push ebx
call edi
mov dword [ebp - 0x254], eax
cmp eax, ebx
jne 0x1e0177bf
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push dword [ebp - 0x234]
push 0x410
jmp 0x1e017910
cmp dword [ebp - 0x250], 1
je 0x1e0177ee
push 0x523
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push dword [ebp - 0x234]
push 0x411
jmp 0x1e017910
lea eax, [ebp - 0x228]
push eax
push dword [ebp - 0x258]
push dword [ebp - 0x230]
call fcn.1e01732f
mov dword [ebp - 0x254], eax
cmp eax, ebx
je 0x1e017a25
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 0x230]
call fcn.1e01714f
test eax, eax
je 0x1e0179fc
cmp dword [ebp - 0x22c], ebx
je 0x1e0179fc
push dword [ebp - 0x22c]
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegUnLoadKeyW]
push ebx
push 0x1e002374
lea eax, [ebp - 0x228]
push eax
push ebx
call fcn.1e01e6b4
add esp, 0x10
mov edi, eax
mov dword [ebp - 0x240], edi
push edi
push dword [ebp - 0x22c]
push 0x80000003
call dword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
mov dword [ebp - 0x25c], eax
cmp eax, ebx
je 0x1e01789f
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push edi
push 0x413
jmp 0x1e017910
push dword [ebp - 0x22c]
push 0x80000003
call fcn.1e0291f4
mov dword [ebp - 0x238], eax
cmp eax, ebx
jne 0x1e0178cc
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push edi
push 0x414
jmp 0x1e017910
cmp dword [0x1e0313d4], ebx
je 0x1e0178e5
push ebx
push 0x80000001
call fcn.1e017236
mov dword [0x1e0313d4], ebx
push dword [ebp - 0x238]
push 0x80000001
call fcn.1e017236
mov dword [ebp - 0x25c], eax
cmp eax, ebx
je 0x1e017927
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push edi
push 0x415
push 0x1e0016f4
call sub.LOG.dll_LogW
add esp, 0xc
call sub.LOG.dll_LogEnd
jmp 0x1e017a25
push ebx
call fcn.1e01fb61
mov edi, eax
mov dword [ebp - 0x264], edi
cmp edi, ebx
je 0x1e017a25
push ebx
push 0x2c
push edi
call fcn.1e01fc9e
mov esi, eax
mov dword [ebp - 0x24c], esi
cmp esi, ebx
je 0x1e017a25
mov dword [0x1e0313d4], esi
mov dword [esi + 0x28], edi
push dword [ebp - 0x258]
push edi
call fcn.1e0035ab
mov dword [esi], eax
push dword [ebp - 0x260]
push edi
call fcn.1e0035ab
mov dword [esi + 4], eax
push dword [ebp - 0x234]
push edi
call fcn.1e0035ab
mov dword [esi + 8], eax
lea eax, [ebp - 0x228]
push eax
push edi
call fcn.1e0035ab
mov dword [esi + 0xc], eax
push dword [ebp - 0x22c]
push edi
call fcn.1e0035ab
mov dword [esi + 0x10], eax
push dword [ebp - 0x22c]
push edi
call fcn.1e0035ab
mov dword [esi + 0x18], eax
push dword [ebp - 0x240]
push edi
call fcn.1e0035ab
mov dword [esi + 0x14], eax
push dword [ebp - 0x230]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
push eax
push dword [ebp - 0x230]
push edi
call fcn.1e015510
mov dword [esi + 0x1c], eax
push dword [ebp - 0x22c]
push 0x1e00238c
push ebx
push 0x20000000
call sym.MIGISM.dll_IsmSetEnvironmentString
jmp 0x1e017a25
push dword [0x1e0331f8]
call sub.LOG.dll_LogBegin
push 0x412
push 0x1e0016f4
call sub.LOG.dll_LogW
pop ecx
pop ecx
jmp 0x1e01791d
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
or dword [ebp - 4], 0xffffffff
call fcn.1e017a48
mov eax, esi
mov ecx, dword [ebp - 0x1c]
call fcn.1e01abd2
call fcn.1e01aec7
ret 8