Function at 0x5e61c0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x654870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3ac
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 0x5e6219
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 0x5e623d
mov eax, dword [ebp - 0xac]
cmp eax, 4
jne 0x5e6255
lea ecx, [ebp - 0x3b8]
push str.security.dll
push ecx
jmp 0x5e62bc
cmp eax, 1
je 0x5e625a
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 0x5e62a7
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.005e6650
test al, al
jne 0x5e627f
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 + 0x434]
push str.CheckRegSecurityProvider___OK._r_n
call fcn.0056fe30
jmp 0x5e629a
mov eax, dword [ebp - 0xac]
mov dword [ebp - 4], 0xffffffff
cmp eax, 6
jae 0x5e62b0
mov byte [ebp - 0x11], 1
lea edx, [ebp - 0x3b8]
push str.secur32.dll
push edx
call fcn.00609a95
mov eax, dword [ebx + 0x198]
add esp, 8
test eax, eax
jne 0x5e62e3
lea eax, [ebp - 0x3b8]
push eax
call fcn.0044abc0
add esp, 4
mov dword [ebx + 0x198], eax
mov eax, dword [ebx + 0x198]
test eax, eax
jne 0x5e6349
mov ecx, dword [0x6f7b78]
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x3b8]
mov dword [ebp - 4], 2
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x18]
push str.Error_0x_x_loading__s._n
push eax
call fcn.0061fae1
mov ecx, dword [ebp - 0x18]
add esp, 0x10
push ecx
mov ecx, ebx
call fcn.005df030
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0xffffffff
call fcn.00622d8a
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 0x5e6395
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x130]
push str.Error_0x_x_reading_InitSecurityInterface_entry_point._n
push edx
call fcn.0060a593
add esp, 0xc
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
call fcn.005df030
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 0x5e63d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x1b0]
push str.Error_0x_x_reading_security_interface._n
push ecx
call fcn.0060a593
add esp, 0xc
lea edx, [ebp - 0x1b0]
mov ecx, ebx
push edx
call fcn.005df030
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 + 0x3c8]
mov ecx, 0x1b
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x6f7b78]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebx + 0x414]
mov edx, dword [ebx + 0x430]
mov eax, dword [ebx + 0x410]
push ecx
mov ecx, dword [ebx + 0x42c]
push edx
push eax
push ecx
lea edx, [ebp - 0x1c]
push str.EM__0x_x__0x_x__r_nDM__0x_x__0x_x._r_n
push edx
mov dword [ebp - 4], 3
call fcn.0061fae1
mov eax, dword [ebp - 0x1c]
add esp, 0x18
mov ecx, ebx
push eax
call fcn.005df030
mov al, byte [ebp - 0x11]
test al, al
je 0x5e644c
mov ecx, dword [ebx + 0x410]
mov edx, dword [ebx + 0x414]
mov dword [ebx + 0x42c], ecx
mov dword [ebx + 0x430], edx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
call fcn.00622d8a
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