Function at 0x10024950
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10064710
push 0x10040610
mov eax, dword fs:[0]
push eax
add esp, 0xffffff10
mov eax, dword [0x10067bf0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0xf4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
push str.CryptQueryObject
push 0x1005c4e8
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10148040], eax
push str.CertFindCertificateInStore
push 0x1005c510
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10148044], eax
push str.CertGetNameStringA
push 0x1005c530
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10148048], eax
push str.CryptMsgGetParam
push 0x1005c550
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x1014804c], eax
push str.CryptMsgClose
push 0x1005c56c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10148050], eax
push str.CertFreeCertificateContext
push 0x1005c594
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10148054], eax
push str.CertCloseStore
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x100c6130], eax
cmp dword [0x10148040], 0
je 0x10024a91
cmp dword [0x10148044], 0
je 0x10024a91
cmp dword [0x10148048], 0
je 0x10024a91
cmp dword [0x1014804c], 0
je 0x10024a91
cmp dword [0x10148050], 0
je 0x10024a91
cmp dword [0x10148054], 0
je 0x10024a91
cmp dword [0x100c6130], 0
je 0x10024a91
jmp 0x10024a98
xor al, al
jmp 0x10024e0f
call fcn.1000fc80
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x10024abe
mov dword [ebp - 0xf8], 0
jmp 0x10024b26
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x3fffffff
jle 0x10024ae6
mov dword [ebp - 0xfc], 0
jmp 0x10024b1a
mov eax, dword [ebp - 0x20]
shl eax, 1
call fcn.100400a0
mov dword [ebp - 0x100], esp
mov dword [ebp - 0x18], esp
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xe4]
push ecx
mov edx, dword [ebp - 0x100]
push edx
call fcn.1000fc90
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x68], 0
mov byte [ebp - 0x59], 0
push 0xc
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.1003e4c0
add esp, 0xc
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x58]
push ecx
lea edx, [ebp - 0x60]
push edx
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push 0
push 2
push 0x400
mov edx, dword [ebp - 0x30]
push edx
push 1
call dword [0x10148040]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10024bc1
jmp 0x10024d71
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 6
mov ecx, dword [ebp - 0x54]
push ecx
call dword [0x1014804c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10024be3
jmp 0x10024d71
mov edx, dword [ebp - 0x34]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x10024bfd
jmp 0x10024d71
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
push 0
push 6
mov edx, dword [ebp - 0x54]
push edx
call dword [0x1014804c]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x10024c21
jmp 0x10024d71
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0xd8], edx
push 0
lea eax, [ebp - 0xe0]
push eax
push 0xb0000
push 0
push 0x10001
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x10148044]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x10024c78
jmp 0x10024d71
mov dword [ebp - 0xf0], 0x200
push 0
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x10148048]
mov dword [ebp - 0xf0], eax
cmp dword [ebp - 0xf0], 0
jne 0x10024caa
jmp 0x10024d71
cmp dword [ebp - 0xf0], 0x200
jbe 0x10024cc0
mov dword [ebp - 0xf0], 0x1ff
mov eax, dword [ebp - 0xf0]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0
push 4
mov edx, dword [ebp - 0x1c]
push edx
call dword [0x10148048]
test eax, eax
jne 0x10024ce4
jmp 0x10024d71
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x10024d45
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.1003e420
add esp, 4
test eax, eax
je 0x10024d45
mov edx, dword [ebp - 0xec]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIA]
test eax, eax
je 0x10024d24
mov byte [ebp - 0x59], 1
jmp 0x10024d45
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.1003e420
add esp, 4
mov edx, dword [ebp - 0xec]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xec], eax
jmp 0x10024ced
cmp dword [0x1011fd7c], 0x98
jne 0x10024d71
cmp dword [ebp - 0x50], 0
je 0x10024d71
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [edx + 8]
push eax
push str.GetSignOfExeIssuer__s_CertGetNameString__s_
push 1
call fcn.1003b7a0
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
jmp 0x10024d8a
cmp dword [ebp - 0x2c], 0
je 0x10024d9a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x28], 0
je 0x10024daa
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x24], 0
je 0x10024dba
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x50], 0
je 0x10024dca
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x68], 0
je 0x10024dda
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x1c], 0
je 0x10024dea
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x10148054]
cmp dword [ebp - 0x58], 0
je 0x10024dfc
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x100c6130]
cmp dword [ebp - 0x54], 0
je 0x10024e0c
mov edx, dword [ebp - 0x54]
push edx
call dword [0x10148050]
mov al, byte [ebp - 0x59]
lea esp, [ebp - 0x110]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xf4]
xor ecx, ebp
call fcn.1003e4ab
mov esp, ebp
pop ebp
ret