Function at 0x43a6c0
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48449d
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.004393e0
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 0x43a71c
mov dword [ebp - 0x2c], 1
jmp 0x43a723
mov dword [ebp - 0x2c], 0
mov cl, byte [ebp - 0x2c]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x43a73f
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 0x43a861
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x43a861
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp + 0x10]
jbe 0x43a7b1
mov dword [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c]
call fcn.00421ac0
mov eax, dword [ebp - 0x50]
jmp 0x43a88f
cmp dword [ebp - 0x14], 0x400
jbe 0x43a7ed
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 0x43a7dc
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00422e10
jmp 0x43a7ed
push 0
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.004317d0
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 0x43a80b
mov dword [ebp - 0x38], 1
jmp 0x43a812
mov dword [ebp - 0x38], 0
mov dl, byte [ebp - 0x38]
mov byte [ebp - 0xe], dl
movzx eax, byte [ebp - 0xe]
test eax, eax
je 0x43a82e
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 0x43a870
mov dword [ebp - 0x40], 1
jmp 0x43a877
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.00421ac0
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret