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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x574481
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5c8910]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push esi
push edi
mov eax, dword [0x5c8910]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x453be2
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x453be2
mov ecx, ebx
call fcn.0045370f
test eax, eax
je 0x453be2
and dword [esp + 0xd0], 0
xor eax, eax
mov dword [esp + 0xd4], 7
mov word [esp + 0xc0], ax
and dword [esp + 0x100], eax
push ecx
lea ecx, [esp + 0xc4]
call fcn.0043f5f9
pop ecx
test al, al
je 0x453bca
push str.Crypt32.dll
lea ecx, [esp + 0xdc]
call fcn.00408738
lea eax, [esp + 0xd8]
mov byte [esp + 0x100], 1
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.0043eb57
pop ecx
pop ecx
push 0
push 1
lea ecx, [esp + 0xe0]
mov byte [esp + 0x108], 0
call fcn.00403256
cmp dword [esp + 0xd4], 8
lea eax, [esp + 0xc0]
cmovae eax, dword [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esp + 0x14], eax
test eax, eax
je 0x453bca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptQueryObject
push eax
call esi
push str.CryptMsgGetParam
push dword [esp + 0x18]
mov edi, eax
call esi
push str.CryptMsgClose
push dword [esp + 0x18]
mov dword [esp + 0x50], eax
call esi
push str.CertFindCertificateInStore
push dword [esp + 0x18]
mov dword [esp + 0x44], eax
call esi
push str.CertFreeCertificateContext
push dword [esp + 0x18]
mov dword [esp + 0x48], eax
call esi
push str.CertCloseStore
push dword [esp + 0x18]
mov dword [esp + 0x38], eax
call esi
push str.CertGetNameStringW
push dword [esp + 0x18]
mov dword [esp + 0x3c], eax
call esi
mov dword [esp + 0x28], eax
xor eax, eax
push 0x6c
mov esi, eax
mov dword [esp + 0x24], eax
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x30], esi
call fcn.00538910
add esp, 0xc
lea eax, [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
push ecx
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x40]
push eax
push ecx
push 2
push 0x400
push ebx
push 1
call edi
test eax, eax
je 0x453b94
mov ebx, dword [esp + 0x48]
lea eax, [esp + 0x1c]
push eax
push esi
push esi
push 6
push dword [esp + 0x28]
call ebx
test eax, eax
je 0x453b94
push dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call edi
mov esi, eax
test esi, esi
je 0x453b90
lea eax, [esp + 0x1c]
push eax
push esi
push 0
push 6
push dword [esp + 0x28]
call ebx
test eax, eax
je 0x453b89
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x10]
push 0
mov dword [esp + 0x58], eax
lea eax, [esp + 0x50]
push eax
push 0xb0000
push 0
push 0x10001
push dword [esp + 0x34]
call dword [esp + 0x58]
mov ebx, eax
test ebx, ebx
je 0x453b89
xor eax, eax
push eax
push eax
push eax
push eax
push 4
push ebx
call dword [esp + 0x40]
mov dword [esp + 0x1c], eax
cmp eax, 1
je 0x453b84
add eax, eax
push eax
push 0x40
call edi
push dword [esp + 0x1c]
mov edi, eax
push edi
push 0
push 0
push 4
push ebx
call dword [esp + 0x40]
cmp eax, 1
je 0x453b79
mov ecx, str.Tencent_Technology_Shenzhen__Company_Limited
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x453b64
test dx, dx
je 0x453b60
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x453b64
add eax, 4
add ecx, 4
test dx, dx
jne 0x453b3e
xor eax, eax
jmp 0x453b69
sbb eax, eax
or eax, 1
mov ecx, dword [esp + 0x24]
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [esp + 0x24], ecx
test edi, edi
je 0x453b84
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [esp + 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x24]
cmp dword [esp + 0x20], 0
je 0x453baa
push 0
push dword [esp + 0x24]
call dword [esp + 0x3c]
and dword [esp + 0x20], 0
cmp dword [esp + 0x18], 0
je 0x453bbe
push dword [esp + 0x18]
call dword [esp + 0x40]
and dword [esp + 0x18], 0
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x453bcc
xor esi, esi
xor eax, eax
lea ecx, [esp + 0xc0]
push 0
inc eax
push eax
call fcn.00403256
mov eax, esi
jmp 0x453be4
xor eax, eax
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.0053bd6c
mov esp, ebp
pop ebp
ret