Function at 0x4b27a3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcdeb
mov eax, dword fs:[0]
push eax
mov eax, 0x3080
call fcn.004cbc50
mov eax, dword [0x53b070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.DigiCA
lea ecx, [ebp - 0x3064]
call fcn.00440943
xor ebx, ebx
lea ecx, [ebp - 0x3080]
mov dword [ebp - 4], ebx
call fcn.00429dcf
lea ecx, [ebp - 0x3064]
mov byte [ebp - 4], 1
push ecx
mov edx, eax
lea ecx, [ebp - 0x302c]
call fcn.0044316e
pop ecx
lea ecx, [ebp - 0x3080]
call fcn.00440de9
lea ecx, [ebp - 0x3064]
mov byte [ebp - 4], 4
call fcn.00440de9
lea edx, [ebp - 0x3081]
lea ecx, [ebp - 0x302c]
call fcn.0042acdb
test al, al
jne 0x4b2848
lea ecx, [ebp - 0x302c]
call fcn.0042a6ea
push str.Digi.tmp
lea ecx, [ebp - 0x3048]
call fcn.00440943
lea eax, [ebp - 0x3044]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3028]
call fcn.0042cfd5
lea ecx, [ebp - 0x3048]
mov byte [ebp - 4], 4
call fcn.00440de9
lea ecx, [ebp - 0x3048]
call fcn.00429886
push ecx
lea ecx, [ebp - 0x302c]
mov byte [ebp - 4], 6
push ecx
push 0x528c04
mov edx, 0x97
mov ecx, eax
call fcn.004273f2
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3048]
mov esi, eax
call fcn.00440de9
test esi, esi
je 0x4b28c4
push 0xfffffffffffffffe
jmp 0x4b2a23
mov edi, 0x1000
lea eax, [ebp - 0x1010]
push edi
push ebx
push eax
call fcn.004cd4b0
push 0x2000
lea eax, [ebp - 0x3010]
push ebx
push eax
call fcn.004cd4b0
add esp, 0x18
mov dword [ebp - 0x3088], ebx
cmp dword [ebp - 0x3014], 8
lea eax, [ebp - 0x3028]
mov dword [ebp - 0x308c], edi
cmovae eax, dword [ebp - 0x3028]
push ebx
push ebx
push 3
push ebx
push 1
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4b292a
push 0xfffffffffffffffd
jmp 0x4b2a23
push ebx
lea eax, [ebp - 0x3088]
push eax
push edi
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4b2959
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xfffffffffffffffc
jmp 0x4b2a23
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push ebx
lea eax, [ebp - 0x308c]
push eax
lea eax, [ebp - 0x3010]
push eax
push 2
push dword [ebp - 0x3088]
lea eax, [ebp - 0x1010]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x4b2990
push 0xfffffffffffffffb
jmp 0x4b2a23
push dword [ebp - 0x308c]
lea eax, [ebp - 0x3010]
push eax
push 0x10001
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
mov edi, eax
test edi, edi
jne 0x4b29b2
push 0xfffffffffffffffa
jmp 0x4b2a23
push str.Root
push 0x24000
push ebx
push ebx
push 0xa
call dword [sym.imp.CRYPT32.dll_CertOpenStore]
mov esi, eax
test esi, esi
jne 0x4b29d0
push 0xfffffffffffffff9
jmp 0x4b2a23
push ebx
push edi
push 0xd0000
push ebx
push 0x10001
push esi
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
test eax, eax
je 0x4b29f6
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
mov esi, 0x3e9
jmp 0x4b2a3a
push ebx
push 1
push edi
push esi
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
test eax, eax
jne 0x4b2a26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80092005
je 0x4b2a26
push edi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push ebx
push esi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
push 0xfffffffffffffff8
pop esi
jmp 0x4b2a3a
push edi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push ebx
push esi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov esi, 0x3ea
lea ecx, [ebp - 0x302c]
call fcn.00440de9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004caa72
leave
ret