Function at 0x41dfff
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp + 0x10]
call fcn.004043e0
push 0x46b90c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x5c], eax
push str.Imagehlp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x5c], 0
je 0x41e25b
cmp dword [ebp - 0x20], 0
je 0x41e25b
push str.CertGetNameStringA
mov eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x41e25b
push str.CertFreeCertificateContext
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41e25b
push str.CryptVerifyMessageSignature
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x41e25b
push str.ImageGetCertificateData
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41e25b
push str.ImageGetCertificateHeader
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x41e25b
push str.ImageEnumerateCertificates
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x41e25b
mov byte [ebp - 0x14], 1
push 0
push 0x10000080
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0xffffffff
je 0x41e25b
push 0
push 0
lea ecx, [ebp - 0x18]
push ecx
push 0xff
mov edx, dword [ebp - 0x58]
push edx
call dword [ebp - 0x4c]
test eax, eax
je 0x41e251
cmp dword [ebp - 0x18], 1
jne 0x41e251
mov dword [ebp - 0x10], 0
mov word [ebp - 0xc], 0x100
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [ebp - 0x40]
test eax, eax
je 0x41e251
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
call fcn.00429a5b
add esp, 4
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
je 0x41e251
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx + 4], 0x100
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0x3c]
push eax
push 0
mov ecx, dword [ebp - 0x58]
push ecx
call dword [ebp - 0x1c]
test eax, eax
je 0x41e245
push 0x14
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.00428c00
add esp, 0xc
mov dword [ebp - 0x34], 0x14
mov dword [ebp - 0x30], 0x10001
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 8
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
call dword [ebp - 0x44]
test eax, eax
je 0x41e245
cmp dword [ebp + 0xc], 0
jne 0x41e225
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.0041dcb6
add esp, 8
mov byte [ebp - 0x14], al
jmp 0x41e23e
cmp dword [ebp + 0xc], 1
jne 0x41e23e
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x54]
push eax
call fcn.0041de23
add esp, 8
mov byte [ebp - 0x14], al
mov ecx, dword [ebp - 0x54]
push ecx
call dword [ebp - 0x38]
mov edx, dword [ebp - 0x60]
push edx
call fcn.00429b95
add esp, 4
mov eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x5c], 0
je 0x41e26b
mov ecx, dword [ebp - 0x5c]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x20], 0
je 0x41e27b
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, byte [ebp - 0x14]
mov esp, ebp
pop ebp
ret