Function at 0x5a3e30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60d0a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a8
push ebx
push esi
push edi
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x10], esp
mov ebx, ecx
push eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x11], 0
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x5a3e89
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xa0]
cmp eax, 2
jne 0x5a3eac
mov eax, dword [ebp - 0xac]
cmp eax, 4
jne 0x5a3ec4
lea edx, [ebp - 0x2b4]
mov edi, str.security.dll
jmp 0x5a3f2a
cmp eax, 1
je 0x5a3ec9
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 5
jae 0x5a3f16
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.005a42e0
test al, al
jne 0x5a3eee
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0x400]
push str.CheckRegSecurityProvider___OK._r_n
call fcn.0053c170
jmp 0x5a3f09
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
cmp eax, 6
jae 0x5a3f1f
mov byte [ebp - 0x11], 1
lea edx, [ebp - 0x2b4]
mov edi, str.secur32.dll
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebx + 0x184]
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jne 0x5a3f64
lea ecx, [ebp - 0x2b4]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebx + 0x184], eax
mov eax, dword [ebx + 0x184]
test eax, eax
jne 0x5a3fca
mov edx, dword [0x6ca27c]
mov dword [ebp - 0x18], edx
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x18]
push str.Error_0x_x_loading__s._n
push ecx
call fcn.005d9fbb
mov edx, dword [ebp - 0x18]
add esp, 0x10
mov ecx, ebx
push edx
call fcn.0059da30
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.005e118c
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.InitSecurityInterfaceA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x5a4016
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x130]
push str.Error_0x_x_reading_InitSecurityInterface_entry_point._n
push eax
call fcn.005c5558
add esp, 0xc
lea ecx, [ebp - 0x130]
push ecx
mov ecx, ebx
call fcn.0059da30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call eax
test eax, eax
jne 0x5a4058
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x1b0]
push str.Error_0x_x_reading_security_interface._n
push edx
call fcn.005c5558
add esp, 0xc
lea eax, [ebp - 0x1b0]
mov ecx, ebx
push eax
call fcn.0059da30
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [ebx + 0x394]
mov ecx, 0x1b
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x6ca27c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebx + 0x3e0]
mov eax, dword [ebx + 0x3fc]
mov ecx, dword [ebx + 0x3dc]
push edx
mov edx, dword [ebx + 0x3f8]
push eax
push ecx
push edx
lea eax, [ebp - 0x1c]
push str.EM__0x_x__0x_x__r_nDM__0x_x__0x_x._r_n
push eax
mov dword [ebp - 4], 3
call fcn.005d9fbb
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
push ecx
mov ecx, ebx
call fcn.0059da30
mov al, byte [ebp - 0x11]
test al, al
je 0x5a40ce
mov edx, dword [ebx + 0x3dc]
mov eax, dword [ebx + 0x3e0]
mov dword [ebx + 0x3f8], edx
mov dword [ebx + 0x3fc], eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.005e118c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret