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

Disassembly:
push 0xdc
mov eax, 0x4f25ab
call fcn.00465f62
mov ebx, ecx
test ebx, ebx
je 0x4393d7
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4393d7
mov ecx, ebx
call fcn.00438fb4
test eax, eax
je 0x4393d7
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
push 0
mov dword [ebp - 0x14], 7
call fcn.00418de0
and dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.0042e34b
pop ecx
test al, al
je 0x4393c9
push str.Crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.004146c0
xor eax, eax
lea edx, [ebp - 0x40]
inc eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], al
call fcn.0042e1fc
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00418e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x4393c9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptQueryObject
push eax
call esi
push str.CryptMsgGetParam
push dword [ebp - 0x44]
mov edi, eax
call esi
push str.CryptMsgClose
push dword [ebp - 0x44]
mov dword [ebp - 0x68], eax
call esi
push str.CertFindCertificateInStore
push dword [ebp - 0x44]
mov dword [ebp - 0x78], eax
call esi
push str.CertFreeCertificateContext
push dword [ebp - 0x44]
mov dword [ebp - 0x6c], eax
call esi
push str.CertCloseStore
push dword [ebp - 0x44]
mov dword [ebp - 0x70], eax
call esi
push str.CertGetNameStringW
push dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
call esi
mov dword [ebp - 0x58], eax
xor eax, eax
push 0x70
mov esi, eax
mov dword [ebp - 0x50], eax
push eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0xe8]
push eax
mov dword [ebp - 0x54], esi
call fcn.004c7830
add esp, 0xc
lea eax, [ebp - 0x48]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x64]
push eax
push ecx
push 2
push 0x400
push ebx
push 1
call edi
test eax, eax
je 0x43939c
mov ebx, dword [ebp - 0x68]
lea eax, [ebp - 0x4c]
push eax
push esi
push esi
push 6
push dword [ebp - 0x48]
call ebx
test eax, eax
je 0x43939c
push dword [ebp - 0x4c]
mov edi, dword [sym.imp.KERNEL32.dll_LocalAlloc]
push 0x40
call edi
mov esi, eax
test esi, esi
je 0x439399
lea eax, [ebp - 0x4c]
push eax
push esi
push 0
push 6
push dword [ebp - 0x48]
call ebx
test eax, eax
je 0x439392
mov eax, dword [esi + 4]
mov dword [ebp - 0xd0], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0xe4], eax
mov eax, dword [esi + 0x10]
push 0
mov dword [ebp - 0xe0], eax
lea eax, [ebp - 0xe8]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0x50]
call dword [ebp - 0x6c]
mov ebx, eax
test ebx, ebx
je 0x439392
xor eax, eax
push eax
push eax
push eax
push eax
push 4
push ebx
call dword [ebp - 0x58]
mov dword [ebp - 0x4c], eax
cmp eax, 1
je 0x43938e
add eax, eax
push eax
push 0x40
call edi
push dword [ebp - 0x4c]
mov edi, eax
push edi
push 0
push 0
push 4
push ebx
call dword [ebp - 0x58]
cmp eax, 1
je 0x439383
mov ecx, str.Tencent_Technology_Shenzhen__Company_Limited
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x439370
test dx, dx
je 0x43936c
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x439370
add eax, 4
add ecx, 4
test dx, dx
jne 0x43934a
xor eax, eax
jmp 0x439375
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x54]
test eax, eax
push 1
pop eax
cmove ecx, eax
mov dword [ebp - 0x54], ecx
test edi, edi
je 0x43938e
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call dword [ebp - 0x70]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x54]
cmp dword [ebp - 0x50], 0
je 0x4393ae
push 0
push dword [ebp - 0x50]
call dword [ebp - 0x74]
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x48], 0
je 0x4393be
push dword [ebp - 0x48]
call dword [ebp - 0x78]
and dword [ebp - 0x48], 0
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4393cb
xor esi, esi
lea ecx, [ebp - 0x28]
call fcn.00418e80
mov eax, esi
jmp 0x4393d9
xor eax, eax
call fcn.00465f0c
ret