Function at 0x47db70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eea6b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x53fa2c]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x53fa2c]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.LsaEnumerateLogonSessions
push 0x5142dc
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.LsaGetLogonSessionData
push 0x5142dc
mov dword [0x103a99c], eax
call esi
push eax
call edi
push str.LsaFreeReturnBuffer
push 0x5142dc
mov dword [0x103aaa4], eax
call esi
push eax
call edi
xor esi, esi
mov dword [0x103abac], eax
cmp dword [0x103a99c], esi
je 0x47e0ad
cmp dword [0x103aaa4], esi
je 0x47e0ad
cmp eax, esi
je 0x47e0ad
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov dword [esp + 0x290], esi
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x290], 2
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [esp + 0x290], 3
push 0x5116d8
mov ecx, 0x103ae1c
call dword [sym.imp.mfc90.dll_Ordinal_820]
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x24], esi
call dword [0x103a99c]
test eax, eax
jl 0x47e047
mov dword [esp + 0x48], vtable.CMap_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____char_const___int__int_.0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0x11
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], 0xa
mov byte [esp + 0x290], 4
push 1
push 0x4b0
call fcn.004096b0
add esp, 4
push eax
lea ecx, [esp + 0x50]
call fcn.00410160
mov dword [esp + 0x20], esi
cmp dword [esp + 0x44], esi
jbe 0x47dfa7
mov edi, dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
lea edx, [eax + ecx*8]
push edx
mov dword [esp + 0x20], esi
call dword [0x103aaa4]
test eax, eax
jl 0x47df7d
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x24], 3
jne 0x47df7d
lea ecx, [esp + 0x74]
push ecx
add eax, 0x30
push eax
call edi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x78]
push eax
call ebx
movzx ecx, word [esp + 0x3c]
movzx edx, word [esp + 0x3a]
movzx eax, word [esp + 0x38]
push ecx
movzx ecx, word [esp + 0x3a]
push edx
movzx edx, word [esp + 0x3a]
push eax
movzx eax, word [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
push str.__04d__02d__02d__02d:_02d:_02d_
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
push 0x200
lea edx, [esp + 0xa0]
push esi
push edx
call sub.MSVCR90.dll_memset
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x20]
push esi
push esi
push 0x200
lea eax, [esp + 0xb4]
push eax
push 0xffffffffffffffff
push edx
push esi
push esi
call fcn.004dece0
add esp, 0x4c
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x200
lea ecx, [esp + 0x80]
push esi
push ecx
call sub.MSVCR90.dll_memset
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x18]
push esi
push esi
push 0x200
lea edx, [esp + 0x94]
push edx
push 0xffffffffffffffff
push ecx
push esi
push esi
call fcn.004dece0
add esp, 0x2c
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x200
lea eax, [esp + 0x80]
push esi
push eax
call sub.MSVCR90.dll_memset
push esi
push esi
push 0x200
lea ecx, [esp + 0x94]
push ecx
push 0xffffffffffffffff
mov edx, dword [esp + 0x38]
mov eax, dword [edx + 0x10]
push eax
push esi
push esi
call fcn.004dece0
add esp, 0x2c
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x4ff418
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x70]
push eax
mov dword [esp + 0x28], esi
call fcn.00402a60
mov byte [esp + 0x29c], 5
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x290], 6
mov eax, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
push eax
lea ecx, [esp + 0x50]
call fcn.004b4610
mov byte [esp + 0x290], 5
lea ecx, [esp + 0x6c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x290], 4
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov esi, dword [esp + 0x1c]
push 0x4ff418
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x6c]
inc esi
push eax
mov dword [esp + 0x28], esi
call fcn.00402a60
mov byte [esp + 0x29c], 7
lea ecx, [esp + 0x34]
push ecx
push eax
lea edx, [esp + 0x84]
push edx
call fcn.004029d0
add esp, 0x18
mov byte [esp + 0x290], 8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x4c]
call fcn.00423500
mov dword [eax], esi
mov byte [esp + 0x290], 7
lea ecx, [esp + 0x70]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x290], 4
lea ecx, [esp + 0x64]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [0x103a97c], 0
je 0x47df6e
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
push eax
movzx eax, word [esp + 0x40]
push ecx
movzx ecx, word [esp + 0x42]
push edx
movzx edx, word [esp + 0x44]
push eax
movzx eax, word [esp + 0x46]
push ecx
movzx ecx, word [esp + 0x46]
push edx
movzx edx, word [esp + 0x48]
push eax
push ecx
push edx
push str.Network_Logon___04d__02d__02d__02d:_02d:_02d__AuthenticationPackage__s_LogonDomain__s_UserName__s_
push 0
call fcn.0043d500
add esp, 0x2c
mov eax, dword [esp + 0x18]
push eax
call dword [0x103abac]
xor esi, esi
jmp 0x47df94
cmp dword [0x103a97c], 0x7c
jne 0x47df94
push str.error_:_Network_session
push esi
call fcn.0043d500
add esp, 8
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x44]
jb 0x47dcf0
mov eax, dword [esp + 0x54]
neg eax
sbb eax, eax
xor edi, edi
mov dword [esp + 0x20], eax
cmp eax, esi
je 0x47e021
cmp edi, dword [esp + 0x54]
jge 0x47e021
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x54]
call fcn.00469e10
mov eax, dword [esp + 0x1c]
cmp eax, 1
jne 0x47dff1
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
jmp 0x47e00a
mov edx, dword [esp + 0x14]
push eax
push edx
lea eax, [esp + 0x2c]
push str._s__d__
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x10
lea ecx, [esp + 0x24]
push ecx
mov ecx, 0x103ae1c
call dword [sym.imp.mfc90.dll_Ordinal_941]
inc edi
cmp dword [esp + 0x20], esi
jne 0x47dfb9
mov edx, dword [esp + 0x40]
push edx
call dword [0x103abac]
mov byte [esp + 0x290], 3
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], vtable.CMap_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char_____char_const___int__int_.0
call fcn.0041ea80
jmp 0x47e05e
cmp dword [0x103a97c], 0x7c
jne 0x47e05e
push str.error_:_Network_Impossible
push esi
call fcn.0043d500
add esp, 8
mov byte [esp + 0x290], 2
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x290], 1
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [esp + 0x290], 0
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [esp + 0x290], 0xffffffff
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov al, 1
jmp 0x47e0af
xor al, al
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.004e0148
mov esp, ebp
pop ebp
ret