Function at 0x102746c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x330
mov eax, dword [0x10619c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], eax
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
xor ebx, ebx
push eax
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], ebx
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], ebx
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x10274ed
mov eax, dword [section..data]
cmp eax, section..data
je 0x1027685
test byte [eax + 0x1c], 4
je 0x1027685
push 0x1003cdc
push 0x2c
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01017c98
jmp 0x1027685
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 2
jne 0x1027671
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 5
jbe 0x102760f
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov esi, eax
cmp esi, ebx
jge 0x102754b
mov eax, dword [section..data]
cmp eax, section..data
je 0x1027681
test byte [eax + 0x1c], 4
je 0x1027681
push esi
push 0x1003f7c
push 0x1003cdc
push 0x2d
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104e22f
jmp 0x1027681
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push eax
push 0x1003f6c
push 0x17
push ebx
push 0x100c898
mov dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x10275ac
mov eax, dword [section..data]
cmp eax, section..data
je 0x102767b
test byte [eax + 0x1c], 4
je 0x102767b
push esi
push 0x1003f20
push 0x1003cdc
push 0x2e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0104e22f
jmp 0x102767b
cmp dword [ebp + 0x10], ebx
je 0x10275b9
push dword [ebp + 0x10]
call fcn.01025abd
push edi
lea ecx, reloc.Secur32.dll_LsaDeregisterLogonProcess
call fcn.01022632
mov eax, dword [eax]
mov ecx, dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0xc]
push dword [ebp - 0x330]
mov esi, eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp esi, ebx
jge 0x1027671
mov eax, dword [section..data]
cmp eax, section..data
je 0x102767b
test byte [eax + 0x1c], 4
je 0x102767b
push esi
push 0x1003ed0
push 0x1003cdc
push 0x2f
jmp 0x102759c
mov edi, 0x1003ebc
cmp esi, ebx
je 0x1027663
push esi
push edi
push 0x1003eac
lea eax, reloc.Secur32.dll_LsaDeregisterLogonProcess
push 0x104
push eax
call fcn.0101b185
add esp, 0x14
test eax, eax
jge 0x102765d
mov eax, dword [section..data]
cmp eax, section..data
je 0x1027663
test byte [eax + 0x1c], 4
je 0x1027663
push 0x1003cdc
push 0x30
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01017c98
jmp 0x1027663
lea edi, reloc.Secur32.dll_LsaDeregisterLogonProcess
push ebx
push ebx
push edi
push dword [ebp - 0x324]
call fcn.0104b992
xor esi, esi
cmp dword [ebp - reloc.Secur32.dll_LsaDeregisterLogonProcess], ebx
je 0x1027698
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, ebx
jge 0x1027698
push dword [ebp + 0x14]
push 0x411
push dword [ebp - 0x324]
call fcn.0105746e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01041ea8
leave
ret 0x14