Function at 0x10088e00
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101898bc
mov eax, dword fs:[0]
push eax
sub esp, 0x54c
mov eax, dword [0x101ed40c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x4d4], edi
cmp dword [eax + 0x14], 8
jb 0x10088e42
mov eax, dword [eax]
push 0x104
lea ecx, [ebp - 0x418]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x428], 0xaac56b
mov dword [ebp - 0x4e4], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x4e8]
mov dword [ebp - 0x424], 0x11d0cd44
mov dword [ebp - 0x504], eax
lea eax, [ebp - 0x51c]
push eax
lea eax, [ebp - 0x428]
mov dword [ebp - 0x420], 0xc000c28c
push eax
push 0
mov dword [ebp - 0x41c], 0xee95c24f
mov dword [ebp - 0x4e8], 0x10
mov dword [ebp - 0x4e0], 0
mov dword [ebp - 0x4dc], 0
movlpd qword [ebp - 0x518], xmm0
mov dword [ebp - 0x4f8], 0
movlpd qword [ebp - 0x4f0], xmm0
mov dword [ebp - 0x51c], 0x34
mov dword [ebp - 0x510], 2
mov dword [ebp - 0x50c], 0
mov dword [ebp - 0x508], 1
mov dword [ebp - 0x500], 1
mov dword [ebp - 0x4fc], 0
mov dword [ebp - 0x4f4], 0x10
call sub.WINTRUST.dll_WinVerifyTrust
test eax, eax
je 0x10088f54
xor eax, eax
mov dword [edi + 0x10], 0
push eax
mov dword [edi + 0x14], 7
mov ecx, edi
push 0x1019e5ec
mov word [edi], ax
call fcn.10044c60
jmp 0x100891f1
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d4], 0
mov dword [ebp - 0x554], eax
lea ecx, [ebp - 0x4d0]
lea eax, [ebp - 0x558]
mov dword [ebp - 0x4d0], 0
mov dword [ebp - fcn.1008a3d0], vtable.std::_Func_impl_no_alloc_class__lambda_41e5bf8fbd5ea8a89a34a31540df3c26___void___.0
mov dword [ebp - 0x550], ecx
mov dword [ebp - 0x534], eax
lea eax, [ebp - 0x450]
mov dword [ebp - 4], 0
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x42c], 0
push eax
lea ecx, [ebp - 0x558]
mov byte [ebp - 4], 1
call fcn.1008a3d0
mov ecx, dword [ebp - 0x534]
mov dword [ebp - 0x42c], eax
test ecx, ecx
je 0x10088ff1
mov edx, dword [ecx]
lea eax, [ebp - 0x558]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp - 0x534], 0
push 0
lea eax, [ebp - 0x4d0]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x4d4]
push eax
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x45c]
push eax
push 0
push 2
push 0x400
lea eax, [ebp - 0x418]
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x10089094
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 7
push 0x1019e5ec
mov word [edi], ax
call fcn.10044c60
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x100891f1
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x42c]
test ecx, ecx
je 0x100891f1
mov edx, dword [ecx]
lea eax, [ebp - 0x450]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
jmp 0x100891f1
mov esi, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea eax, [ebp - 0x4d8]
push eax
push 0
push 0
push 6
push dword [ebp - 0x4d0]
mov dword [ebp - 0x4d8], 0
call esi
lea eax, [ebp - 0x51d]
mov dword [ebp - 0x524], 0
push eax
push dword [ebp - 0x4d8]
xorps xmm0, xmm0
lea ecx, [ebp - 0x52c]
movq qword [ebp - 0x52c], xmm0
call fcn.100889f0
mov ebx, dword [ebp - 0x52c]
lea eax, [ebp - 0x4d8]
push eax
push ebx
push 0
push 6
push dword [ebp - 0x4d0]
mov byte [ebp - 4], 4
call esi
test eax, eax
jne 0x1008912b
push 0x1019e5ec
mov ecx, edi
call fcn.10042090
lea ecx, [ebp - 0x52c]
call fcn.10088b30
mov dword [ebp - 4], 5
jmp 0x1008905a
push 0x70
lea eax, [ebp - 0x4cc]
push 0
push eax
call fcn.1014de30
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebx + 0x10]
push 0
mov dword [ebp - 0x4c4], eax
lea eax, [ebp - 0x4cc]
push eax
push 0xb0000
push 0
push 0x10001
push dword [ebp - 0x4d4]
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ebx, eax
test ebx, ebx
je 0x100891cf
push 0x200
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1014de30
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x100
push eax
push 0
push 0
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
push ebx
mov esi, eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp esi, 1
jbe 0x100891cf
lea eax, [ebp - 0x210]
push eax
jmp 0x100891d4
push 0x1019e5ec
mov ecx, edi
call fcn.10042090
lea ecx, [ebp - 0x52c]
call fcn.10088b30
lea ecx, [ebp - 0x450]
call fcn.10088b80
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10126919
mov esp, ebp
pop ebp
ret 8