Function at 0x5fd080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68360b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x78a6d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
mov esi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
mov dword [ebp - 0x24c], 0
call fcn.0058d130
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x5fd3c2
push 0x105
mov edx, str.Wintrust.dll
lea ecx, [ebp - 0x21c]
call fcn.0062e750
add esp, 4
cmp eax, 0x105
jae 0x5fd3c2
mov ecx, edi
mov dword [ebp - 0x234], 0
xor eax, eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
mov word [ebp - 0x234], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5fd140
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x234]
call fcn.00447250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x220]
mov edi, 0x22
mov edx, dword [ebp - 0x234]
cmp ecx, 8
cmovae eax, edx
cmp di, word [eax]
jne 0x5fd1d5
cmp ecx, 8
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x234]
cmovae eax, edx
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0045cb30
cmp dword [ebp - 0x220], 8
lea ecx, [ebp - 0x234]
mov eax, dword [ebp - 0x224]
cmovae ecx, dword [ebp - 0x234]
dec eax
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x234]
call fcn.0045cb30
mov dword [ebp - 0x248], 0
push ecx
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x248]
call fcn.00633510
test eax, eax
jne 0x5fd34f
push ecx
push str.WinVerifyTrustEx
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x248]
call fcn.006335f0
test eax, eax
je 0x5fd252
push 0
push 0
push eax
push str.CHModuleMgr::STGetProcAddress
push 0x45
push 0xe2
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptVerifyFileSignatureWindows.cpp
push str.CVerifyFileSignatureWindows::CheckFileSignature
call fcn.00612830
add esp, 0x20
lea ecx, [ebp - 0x248]
mov esi, 0xfe21000b
call fcn.006334c0
jmp 0x5fd377
push 0x30
push 0
push esi
call fcn.0058d130
push 0x10
lea eax, [ebp - 0x25c]
push 0
push eax
call fcn.0058d130
add esp, 0x18
mov dword [esi], 0x30
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x25c]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
push esi
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x244]
mov dword [esi + 0xc], 2
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 1
mov dword [esi + 0x1c], 1
mov dword [esi + 0x28], 0x10
mov esi, dword [ebp - 0x24c]
mov ecx, esi
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x25c], 0x10
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x244], 0xaac56b
mov dword [ebp - 0x240], 0x11d0cd44
mov dword [ebp - 0x23c], 0xc000c28c
mov dword [ebp - 0x238], 0xee95c24f
call dword [0x6926b4]
call esi
mov esi, eax
test esi, esi
jns 0x5fd33a
push 0
push 0
push esi
push str.WinVerifyTrustEx
push 0x45
push 0xfc
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptVerifyFileSignatureWindows.cpp
push str.CVerifyFileSignatureWindows::CheckFileSignature
call fcn.00612830
add esp, 0x20
push esi
call fcn.005fd000
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.006334c0
jmp 0x5fd377
push 0
push 0
push eax
push str.CHModuleMgr::STLoadLibrary
push 0x45
push 0x106
push str.C:_temp_build_thehoffQuicksilver_fcs0.742171161775Quicksilver_fcs_vpnCommonCryptVerifyFileSignatureWindows.cpp
push str.CVerifyFileSignatureWindows::CheckFileSignature
call fcn.00612830
add esp, 0x20
mov esi, 0xfe21000b
lea ecx, [ebp - 0x248]
call fcn.00633750
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x5fd3be
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5fd3b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5fd3e4
push edx
push ecx
call fcn.0058ab22
add esp, 8
mov eax, esi
jmp 0x5fd3c7
mov eax, 0xfe21000b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058a893
mov esp, ebp
pop ebp
ret 8
call fcn.005968cf
int3