Function at 0x6b8ab0
Capabilities:
Print debug messages
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x8d3fc4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x21c], 0xffffffff
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x20c]
push eax
call fcn.00719250
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push str._SYSTEMROOT_SYSTEM32crypt32.dll
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x6b8b6a
push 0x83c1dc
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0
jne 0x6b8b83
push str.pfnCertGetNameString__NULL
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x6b8ddf
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
mov ecx, dword [ebp + 8]
call fcn.006c1910
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0xffffffff
je 0x6b8bbc
cmp dword [ebp - 0x21c], 0
jne 0x6b8bc1
jmp 0x6b8ddf
mov dword [ebp - 0x240], 0
push 0
push 0
lea ecx, [ebp - 0x240]
push ecx
push 0xff
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.imagehlp.dll_ImageEnumerateCertificates]
test eax, eax
jne 0x6b8bf1
jmp 0x6b8ddf
cmp dword [ebp - 0x240], 1
je 0x6b8bff
jmp 0x6b8ddf
mov dword [ebp - 0x218], 0
mov eax, 0x100
mov word [ebp - 0x214], ax
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.imagehlp.dll_ImageGetCertificateHeader]
test eax, eax
jne 0x6b8c34
jmp 0x6b8ddf
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x238], eax
mov ecx, dword [ebp - 0x238]
add ecx, 0xc
push ecx
call fcn.00700faa
add esp, 4
mov dword [ebp - 0x248], eax
mov edx, dword [ebp - 0x248]
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x220], 0
cmp dword [ebp - 0x228], 0
jne 0x6b8c7c
jmp 0x6b8ddf
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x220], eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ebp - 0x238]
mov dword [ecx], edx
mov eax, 0x100
mov ecx, dword [ebp - 0x220]
mov word [ecx + 4], ax
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.imagehlp.dll_ImageGetCertificateData]
test eax, eax
jne 0x6b8ccb
jmp 0x6b8ddf
mov dword [ebp - 0x24c], 0
xor edx, edx
mov dword [ebp - 0x26c], edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 0x264], edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x26c], 0x14
mov dword [ebp - 0x268], 0x10001
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x24c]
push ecx
push 0
mov edx, dword [ebp - 0x220]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x220]
add ecx, 8
push ecx
push 0
lea edx, [ebp - 0x26c]
push edx
call dword [sym.imp.CRYPT32.dll_CryptVerifyMessageSignature]
test eax, eax
jne 0x6b8d44
jmp 0x6b8ddf
push 0
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0x230]
push eax
call dword [ebp - 0x234]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
ja 0x6b8d6c
jmp 0x6b8ddf
xor ecx, ecx
mov eax, dword [ebp - 0x23c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00700faa
add esp, 4
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x224], eax
mov ecx, dword [ebp - 0x23c]
push ecx
mov edx, dword [ebp - 0x224]
push edx
push 0
push 0
push 4
mov eax, dword [ebp - 0x230]
push eax
call dword [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp + 0xc]
call fcn.006b7340
mov dword [ebp - 0x244], 1
xor edx, edx
jne 0x6b8aff
cmp dword [ebp - 0x230], 0
je 0x6b8df5
mov eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp dword [ebp - 0x21c], 0xffffffff
je 0x6b8e1e
cmp dword [ebp - 0x21c], 0
je 0x6b8e1e
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x21c], 0
cmp dword [ebp - 0x224], 0
je 0x6b8e4c
mov edx, dword [ebp - 0x224]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
push eax
call fcn.00700fb3
add esp, 4
mov dword [ebp - 0x224], 0
cmp dword [ebp - 0x228], 0
je 0x6b8e7a
mov ecx, dword [ebp - 0x228]
mov dword [ebp - 0x258], ecx
mov edx, dword [ebp - 0x258]
push edx
call fcn.00700fb3
add esp, 4
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x22c], 0
je 0x6b8e9a
mov eax, dword [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00700c25
mov esp, ebp
pop ebp
ret