Function at 0x10029a95
Capabilities:
Link many functions at runtime

Disassembly:
push 0xa8
push 0x1006f608
call fcn.1004396c
push str.Crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x10029b18
push str.CryptQueryObject
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call esi
mov dword [0x1022ff38], eax
push str.CertFindCertificateInStore
push edi
call esi
mov dword [0x1022ff3c], eax
push str.CertGetNameStringA
push edi
call esi
mov dword [0x1022ff40], eax
push str.CryptMsgGetParam
push edi
call esi
mov dword [0x1022ff44], eax
push str.CryptMsgClose
push edi
call esi
mov dword [0x1022ff48], eax
push str.CertFreeCertificateContext
push edi
call esi
mov dword [0x1022ff4c], eax
push str.CertCloseStore
push edi
call esi
mov dword [0x1021bf30], eax
cmp dword [0x1022ff38], ebx
je 0x10029d21
cmp dword [0x1022ff3c], ebx
je 0x10029d21
cmp dword [0x1022ff40], ebx
je 0x10029d21
cmp dword [0x1022ff44], ebx
je 0x10029d21
cmp dword [0x1022ff48], ebx
je 0x10029d21
cmp dword [0x1022ff4c], ebx
je 0x10029d21
cmp dword [0x1021bf30], ebx
je 0x10029d21
cmp dword [ebp + 8], ebx
je 0x10029b85
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10029b89
xor ecx, ecx
jmp 0x10029ba4
lea eax, [esi + esi]
call fcn.10043b10
mov dword [ebp - 0x18], esp
mov eax, esp
push 3
push esi
push dword [ebp + 8]
push eax
call fcn.100290fc
mov ecx, eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
xor esi, esi
mov dword [ebp - 0x2c], esi
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
push 2
push 0x400
push ecx
push 1
call dword [0x1022ff38]
cmp eax, ebx
je 0x10029caf
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 6
push dword [ebp - 0x20]
call dword [0x1022ff44]
cmp eax, ebx
je 0x10029caf
push dword [ebp - 0x30]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
mov dword [ebp - 0x2c], esi
cmp esi, ebx
je 0x10029caf
lea eax, [ebp - 0x30]
push eax
push esi
push ebx
push 6
push dword [ebp - 0x20]
call dword [0x1022ff44]
cmp eax, ebx
je 0x10029caf
mov eax, dword [esi + 4]
mov dword [ebp - 0xa0], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0xb0], eax
push ebx
lea eax, [ebp - 0xb8]
push eax
push 0xb0000
push ebx
push 0x10001
push dword [ebp - 0x24]
call dword [0x1022ff3c]
mov edi, eax
mov dword [ebp - 0x28], edi
cmp edi, ebx
je 0x10029caf
push ebx
push ebx
push ebx
push ebx
push 4
push edi
call dword [0x1022ff40]
cmp eax, ebx
je 0x10029caf
cmp eax, 0x200
jbe 0x10029ca0
mov eax, 0x1ff
push eax
push dword [ebp + 0xc]
push ebx
push ebx
push 4
push edi
call dword [0x1022ff40]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10029ccb
mov edi, dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x3c], ebx
je 0x10029cdb
push dword [ebp - 0x3c]
call edi
cmp dword [ebp - 0x38], ebx
je 0x10029ce5
push dword [ebp - 0x38]
call edi
cmp dword [ebp - 0x34], ebx
je 0x10029cef
push dword [ebp - 0x34]
call edi
cmp esi, ebx
je 0x10029cf6
push esi
call edi
cmp dword [ebp - 0x28], ebx
je 0x10029d04
push dword [ebp - 0x28]
call dword [0x1022ff4c]
cmp dword [ebp - 0x24], ebx
je 0x10029d13
push ebx
push dword [ebp - 0x24]
call dword [0x1021bf30]
cmp dword [ebp - 0x20], ebx
je 0x10029d21
push dword [ebp - 0x20]
call dword [0x1022ff48]
lea esp, [ebp - 0xc8]
call fcn.100439b4
ret