Function at 0x1000bc80
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0x1c
call fcn.10015085
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 7
rep stosd dword es:[edi], eax
add ebx, 0x14
push ebx
push 0x14
call fcn.10015085
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
pop ebx
add ebx, 4
push ebx
push 0x14
call fcn.10015085
add esp, 4
pop ebx
push ebx
mov dword [ebx], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 5
rep stosd dword es:[edi], eax
pop ebx
mov dword [ebp - 0x24], 0
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x1bc
call fcn.10015b10
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000bd59
push ebx
call fcn.1001508b
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x1000
push 1
mov ebx, 0x184
call fcn.100179b0
add esp, 0x10
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000bd92
push ebx
call fcn.1001508b
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x1000
mov dword [ebp - 0x10], 0x1000
mov eax, 0x1179a53f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c5b2
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000bdc5
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a552
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c5b2
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000bde6
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a564
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c5b2
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000be07
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a578
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000c5b2
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000be28
push ebx
call fcn.1001508b
add esp, 4
cmp dword [ebp + 0x10], 0
jne 0x1000bec4
mov dword [ebp - 0x28], esp
xor eax, eax
call dword [0x1179ae50]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000be5b
push 0x151
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], esp
lea eax, [ebp - 0x14]
push eax
push 0xf01ff
push dword [ebp - 0x2c]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x1000be93
push 0x151
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 0x28], esp
push dword [ebp - 0x14]
xor eax, eax
call dword [0x1179ae54]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000bebf
push 0x1a5
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
jmp 0x1000bf45
push OleUIBusyA
push 0
lea eax, [ebp - 4]
push eax
push 1
mov ebx, 0xc
mov eax, 0x100199e0
call fcn.10015650
add esp, 0x10
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
push 0
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x1000bf2e
push 0x1fb
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000bf45
mov eax, 0
jmp 0x1000c55e
mov dword [ebp - 0x28], esp
push 1
mov eax, dword [ebp - 0x20]
push eax
push 0x1e
call fcn.10015085
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000c02c
push 0x39d
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
call fcn.1001508b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000c102
mov eax, 0
jmp 0x1000c55e
cmp dword [ebp + 0x10], 0
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
push OleUIBusyA
push 0
lea eax, [ebp - 4]
push eax
push 1
mov ebx, 0xc
mov eax, 0x100199e0
call fcn.10015650
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
je 0x1000c148
mov eax, dword [ebp - 0x24]
jmp 0x1000c14b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esp
push 0
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
push eax
push 0x1e
call fcn.10015085
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorOwner]
nop
nop
cmp dword [ebp - 0x34], esp
je 0x1000c238
push 0x4ab
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x38]
push ebx
mov edi, dword [ebp - 0x3c]
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
call fcn.1001508b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000c30e
mov eax, 0
jmp 0x1000c55e
mov dword [ebp - 0x28], esp
mov eax, dword [ebp - 0x20]
push eax
push 0x1e
call fcn.10015085
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov byte [edi], al
inc edi
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
pop ebx
add ebx, 4
push 1
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
nop
nop
cmp dword [ebp - 0x28], esp
je 0x1000c3fa
push 0x584
push 0x40195e0
push 6
call fcn.10015091
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x2c]
push ebx
mov edi, dword [ebp - 0x30]
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
push edi
mov edi, dword [edi]
push ebx
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov al, byte [ebx]
inc ebx
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
pop ebx
add ebx, 8
pop edi
add edi, 4
call fcn.1001508b
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000c4d0
mov eax, 0
jmp 0x1000c55e
mov eax, 0x1179a53f
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000ca01
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000c4f1
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a552
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000ca01
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000c512
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a564
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000ca01
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000c533
push ebx
call fcn.1001508b
add esp, 4
mov eax, 0x1179a578
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.1000ca01
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000c554
push ebx
call fcn.1001508b
add esp, 4
mov eax, 1
jmp 0x1000c55e
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000c56f
push ebx
call fcn.1001508b
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000c57f
push ebx
call fcn.1001508b
add esp, 4
mov ebx, dword [ebp - 0x20]
push ebx
add ebx, 0x14
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1001508b
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.1001508b
add esp, 4
pop ebx
call fcn.1001508b
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc