Function at 0x43ff30
Capabilities:
Get session user name
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12c8
call fcn.00458dc0
mov eax, dword [0x47c9f0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x12c4], ecx
mov eax, dword [ebp - 0x12c4]
mov dword [eax], 0x46d498
mov ecx, dword [ebp - 0x12c4]
mov edx, dword [ebp + 8]
mov dword [ecx + 4], edx
cmp dword [ebp + 0xc], 0
je 0x43ff74
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c8], eax
jmp 0x43ff7d
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x12c8], ecx
mov edx, dword [ebp - 0x12c4]
mov eax, dword [ebp - 0x12c8]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0xc], 0
mov edx, dword [ebp - 0x12c4]
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0x12c4]
mov dword [edx + 0x38], 3
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x44], 0
mov edx, dword [ebp - 0x12c4]
mov dword [edx + 0x48], 0xf01ff
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x4c], 0x10
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x50], 2
mov edx, dword [ebp - 0x12c4]
mov dword [edx + 0x54], 1
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x5c], 0
mov edx, dword [ebp - 0x12c4]
mov dword [edx + 0x60], 0
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x64], 0
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x68], 0
mov dword [ebp - 0xa0], 0x94
lea edx, [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x90], 2
sete al
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x40], eax
mov dword [0x47cd00], 1
mov edx, dword [ebp - 0x12c4]
mov dword [0x47cd04], edx
mov eax, dword [ebp - 0x12c4]
mov dword [eax + 0x18], 0x10
mov ecx, dword [ebp - 0x12c4]
mov dword [ecx + 0x28], 0
mov edx, dword [ebp - 0x12c4]
cmp dword [edx + 0x40], 0
je 0x4401e4
mov dword [ebp - 0x2a4], 0x1000
mov dword [ebp - 0x12b4], 0
mov dword [ebp - 0x2ac], 0xff
mov dword [ebp - 0x2a8], 0xff
push pe_nt_image_headers32
push 0
lea eax, [ebp - 0x2a0]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
push pe_nt_image_headers32
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov edx, dword [ebp - 0x2a4]
push edx
push 0
lea eax, [ebp - 0x12b0]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x2ac]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea eax, [ebp - 0x12b8]
push eax
lea ecx, [ebp - 0x2a8]
push ecx
lea edx, [ebp - 0x1a0]
push edx
lea eax, [ebp - 0x2a4]
push eax
lea ecx, [ebp - 0x12b0]
push ecx
lea edx, [ebp - 0x2a0]
push edx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
je 0x4401e4
lea eax, [ebp - 0x12b0]
push eax
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x4401e4
lea ecx, [ebp - 0x12b0]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov dword [ebp - 0x12bc], eax
mov edx, dword [ebp - 0x12bc]
push edx
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [ebp - 0x12c0], eax
mov eax, dword [ebp - 0x12c4]
mov ecx, dword [ebp - 0x12c0]
mov dword [eax + 0x3c], ecx
lea edx, [ebp - 0x12b0]
push edx
mov eax, dword [ebp - 0x12c4]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp - 0x12bc]
push edx
call dword [sym.imp.ADVAPI32.dll_CopySid]
mov eax, dword [ebp - 0x12c4]
mov ecx, dword [ebp - 4]
call fcn.00458cfb
mov esp, ebp
pop ebp
ret 8