Function at 0x432611
Capabilities:
Check if file exists
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x47bbb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], eax
cmp dword [edi + 0x10], 0
je 0x4328ab
cmp dword [edi + 0x14], 8
jb 0x432642
mov eax, dword [edi]
jmp 0x432644
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4328ab
push edi
call fcn.004328bc
pop ecx
test al, al
je 0x4328ab
and dword [ebp - 0xc], 0
xor eax, eax
push ebx
push eax
mov word [ebp - 0x1c], ax
lea eax, [ebp - 0x1c]
push 0x25
push eax
mov dword [ebp - 8], 7
call fcn.00434dea
add esp, 0xc
test al, al
je 0x432895
push str.Crypt32.dll
lea ecx, [ebp - 0x34]
call fcn.00405d80
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00434e63
pop ecx
pop ecx
push 0
push 1
lea ecx, [ebp - 0x34]
call fcn.004046c0
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x432895
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptQueryObject
push ebx
call esi
push str.CryptMsgGetParam
push ebx
mov dword [ebp - 0x5c], eax
call esi
push str.CryptMsgClose
push ebx
mov dword [ebp - 0x48], eax
call esi
push str.CertFindCertificateInStore
push ebx
mov dword [ebp - 0x70], eax
call esi
push str.CertFreeCertificateContext
push ebx
mov dword [ebp - 0x60], eax
call esi
push str.CertCloseStore
push ebx
mov dword [ebp - 0x68], eax
call esi
push str.CertGetNameStringW
push ebx
mov dword [ebp - 0x6c], eax
call esi
mov dword [ebp - 0x4c], eax
xor eax, eax
push 0x70
push eax
mov byte [ebp - 0x35], al
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00439ae0
xor esi, esi
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [ebp - 0x40], esi
jb 0x432756
mov edi, dword [edi]
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x58]
push eax
push esi
push 2
push 0x400
push edi
push 1
call dword [ebp - 0x5c]
test eax, eax
je 0x43286c
lea eax, [ebp - 0x40]
push eax
push esi
push esi
push 6
push dword [ebp - 0x3c]
call dword [ebp - 0x48]
test eax, eax
je 0x43286c
push dword [ebp - 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call esi
mov edi, eax
test edi, edi
je 0x43286a
lea eax, [ebp - 0x40]
push eax
push edi
push 0
push 6
push dword [ebp - 0x3c]
call dword [ebp - 0x48]
test eax, eax
je 0x432863
mov eax, dword [edi + 4]
mov dword [ebp - 0xc8], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0x10]
push 0
mov dword [ebp - 0xd8], eax
lea eax, [ebp - 0xe0]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0x44]
call dword [ebp - 0x60]
mov dword [ebp - 0x48], eax
test eax, eax
je 0x432863
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push 4
push eax
call dword [ebp - 0x4c]
mov dword [ebp - 0x40], eax
cmp eax, 1
je 0x43285d
add eax, eax
push eax
push 0x40
call esi
push dword [ebp - 0x40]
mov esi, eax
push esi
push 0
push 0
push 4
push dword [ebp - 0x48]
call dword [ebp - 0x4c]
cmp eax, 1
je 0x432852
push esi
call fcn.00405140
pop ecx
mov ecx, dword [ebp - 0x64]
push eax
push esi
call fcn.00405f80
mov byte [ebp - 0x35], 1
test esi, esi
je 0x43285d
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x48]
call dword [ebp - 0x68]
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor esi, esi
cmp dword [ebp - 0x44], 0
je 0x43287c
push esi
push dword [ebp - 0x44]
call dword [ebp - 0x6c]
mov dword [ebp - 0x44], esi
cmp dword [ebp - 0x3c], 0
je 0x43288b
push dword [ebp - 0x3c]
call dword [ebp - 0x70]
mov dword [ebp - 0x3c], esi
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
jmp 0x432899
mov byte [ebp - 0x35], 0
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004046c0
mov al, byte [ebp - 0x35]
pop ebx
jmp 0x4328ad
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0043834d
mov esp, ebp
pop ebp
ret