Function at 0x10024930
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10064710
push 0x100405f0
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 0x10024a71
cmp dword [0x10148044], 0
je 0x10024a71
cmp dword [0x10148048], 0
je 0x10024a71
cmp dword [0x1014804c], 0
je 0x10024a71
cmp dword [0x10148050], 0
je 0x10024a71
cmp dword [0x10148054], 0
je 0x10024a71
cmp dword [0x100c6130], 0
je 0x10024a71
jmp 0x10024a78
xor al, al
jmp 0x10024def
call fcn.1000fc80
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0
jne 0x10024a9e
mov dword [ebp - 0xf8], 0
jmp 0x10024b06
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 0x10024ac6
mov dword [ebp - 0xfc], 0
jmp 0x10024afa
mov eax, dword [ebp - 0x20]
shl eax, 1
call fcn.10040080
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.1003e4a0
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 0x10024ba1
jmp 0x10024d51
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 0x10024bc3
jmp 0x10024d51
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 0x10024bdd
jmp 0x10024d51
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 0x10024c01
jmp 0x10024d51
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 0x10024c58
jmp 0x10024d51
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 0x10024c8a
jmp 0x10024d51
cmp dword [ebp - 0xf0], 0x200
jbe 0x10024ca0
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 0x10024cc4
jmp 0x10024d51
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
je 0x10024d25
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.1003e400
add esp, 4
test eax, eax
je 0x10024d25
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 0x10024d04
mov byte [ebp - 0x59], 1
jmp 0x10024d25
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.1003e400
add esp, 4
mov edx, dword [ebp - 0xec]
lea eax, [edx + eax + 1]
mov dword [ebp - 0xec], eax
jmp 0x10024ccd
cmp dword [0x1011fd7c], 0x98
jne 0x10024d51
cmp dword [ebp - 0x50], 0
je 0x10024d51
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.1003b780
add esp, 0x10
mov dword [ebp - 4], 0xfffffffe
jmp 0x10024d6a
cmp dword [ebp - 0x2c], 0
je 0x10024d7a
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x28], 0
je 0x10024d8a
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x24], 0
je 0x10024d9a
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x50], 0
je 0x10024daa
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x68], 0
je 0x10024dba
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x1c], 0
je 0x10024dca
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x10148054]
cmp dword [ebp - 0x58], 0
je 0x10024ddc
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [0x100c6130]
cmp dword [ebp - 0x54], 0
je 0x10024dec
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.1003e48b
mov esp, ebp
pop ebp
ret