Function at 0x4403e0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c23d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push 0
push 0x400
lea ecx, [ebp - 0x7c]
call fcn.0043f050
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x400
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x14], 8
jb 0x44043c
mov dword [ebp - 0x2c], 1
jmp 0x440443
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x44045f
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
xor ecx, ecx
shl ecx, 1
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x440581
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x440581
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 0x10]
jbe 0x4404d1
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004230c0
mov eax, dword [ebp - 0x50]
jmp 0x4405af
cmp dword [ebp - 0x14], 0x400
jbe 0x44050d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x34]
ja 0x4404fc
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00422b40
jmp 0x44050d
push 0
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.00423340
lea edx, [ebp - 0x7c]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 0x14], 8
jb 0x44052b
mov dword [ebp - 0x38], 1
jmp 0x440532
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x44054e
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x58], ecx
xor edx, edx
shl edx, 1
add edx, dword [ebp - 0x58]
mov dword [ebp - 0x60], edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x60]
push edx
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x440590
mov dword [ebp - 0x40], 1
jmp 0x440597
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.004230c0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret