Function at 0x10019e99
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x12fc]
mov eax, 0x137c
call fcn.1002bb30
mov eax, dword [0x1004fa70]
xor eax, ebp
mov dword [ebp + 0x12f8], eax
push ebx
push esi
push edi
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x11f1]
push ebx
push eax
mov byte [ebp + 0x11f0], bl
call fcn.1002aa10
add esp, 0xc
push esi
lea eax, [ebp + 0x11f0]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp + 0x11f0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
mov edi, str.TrustFireSKS.dll
push edi
lea eax, [ebp + 0x11f0]
push eax
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineA]
lea eax, [ebp + 0x11f0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10019f30
lea eax, [ebp + 0x11f0]
push edi
push eax
call fcn.1002b3e0
pop ecx
pop ecx
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp + 0x11f0]
push eax
call edi
cmp eax, ebx
mov dword [ebp - 0x40], eax
je 0x1001a0ce
push esi
lea ecx, [ebp + 0x11f0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 0x11f0]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100207b0
lea eax, [ebp + 0x4c4]
push eax
push str.UNETsystem_INC
call fcn.1002c388
test eax, eax
pop ecx
pop ecx
jne 0x1001a0ce
push 0x208
lea eax, [ebp + 0xfe6]
push ebx
push eax
mov word [ebp + 0xfe4], bx
call fcn.1002aa10
add esp, 0xc
push esi
lea eax, [ebp + 0xfe4]
push eax
push 0xffffffffffffffff
lea eax, [ebp + 0x11f0]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x10
pop esi
push esi
lea eax, [ebp - 0x50]
push ebx
push eax
call fcn.1002aa10
push 0x30
mov dword [ebp - 0x50], esi
pop esi
lea eax, [ebp + 0xfe4]
push esi
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x80]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp + 0xfd4], 0xaac56b
mov word [ebp + 0xfd8], 0xcd44
mov word [ebp + 0xfda], 0x11d0
mov byte [ebp + 0xfdc], 0x8c
mov byte [ebp + 0xfdd], 0xc2
mov byte [ebp + 0xfde], bl
mov byte [ebp + 0xfdf], 0xc0
mov byte [ebp + 0xfe0], 0x4f
mov byte [ebp + 0xfe1], 0xc2
mov byte [ebp + 0xfe2], 0x95
mov byte [ebp + 0xfe3], 0xee
call fcn.1002aa10
mov dword [ebp - 0x80], esi
add esp, 0x18
xor esi, esi
lea eax, [ebp - 0x50]
inc esi
push str.wintrust.dll
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], 2
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0x100
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x68], eax
call edi
mov edi, eax
cmp edi, ebx
je 0x1001a094
push str.WinVerifyTrust
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], ebx
je 0x1001a0b2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xfd4]
push eax
push ebx
call dword [ebp - 0x40]
push edi
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x40], 0x80096004
je 0x1001a0ce
cmp dword [ebp - 0x40], 0x800b0100
je 0x1001a0c8
mov eax, esi
jmp 0x1001a0d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor eax, eax
mov ecx, dword [ebp + 0x12f8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002ae45
add ebp, 0x12fc
leave
ret