Function at 0x68a147e0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x68aaf040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [eax], 0
mov dword [ebp - 0x4c], eax
mov dword [ebx], 0
mov eax, dword [edi + 0xc]
movzx eax, word [eax]
cmp eax, 0x6a
jbe 0x68a149c7
mov eax, dword fs:[0x2c]
mov ecx, dword [0x68ab13e4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x68ab34a8]
cmp eax, dword [ecx + 4]
jle 0x68a14874
push 0x68ab34a8
call fcn.68a39824
add esp, 4
cmp dword [0x68ab34a8], 0xffffffff
jne 0x68a14874
push str.RtlRandomEx
push 0x68a60528
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x68ab34a8
mov dword [0x68ab34ac], eax
call fcn.68a397d3
add esp, 4
push 0x10
lea eax, [ebp - 0x24]
push eax
push str.AswJsFltTestMode
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp dword [0x68aaffa8], 3
jne 0x68a148e7
test eax, eax
jne 0x68a148e7
mov byte [ebp - 0x25], al
cmp dword [0x68ab34ac], eax
je 0x68a148cf
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor esi, eax
lea eax, [ebp - 0x12]
xor esi, eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], esi
mov esi, dword [0x68ab34ac]
mov ecx, esi
push eax
call dword [0x68a57338]
call esi
cmp byte [ebp - 0x25], 0
jne 0x68a148e7
pop edi
pop esi
mov eax, 0x80004001
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret 0xc
push dword [edi]
mov ecx, 0xc
call fcn.68a14740
mov edi, eax
add esp, 4
test edi, edi
je 0x68a149af
mov esi, dword [edi]
cmp esi, 0xffff
jb 0x68a149af
lea eax, [esi + 0x1c]
cmp eax, esi
jb 0x68a149af
push 0x1c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a149af
cmp dword [ebp - 0x44], 0
je 0x68a149af
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x68a149af
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x68a149af
cmp dword [ebp - 0x38], 0x1000
jne 0x68a149af
test byte [ebp - 0x34], 1
jne 0x68a149af
test dword [ebp - 0x34], 0x100
jne 0x68a149af
sub eax, esi
add eax, ecx
cmp eax, 0x1c
jb 0x68a149af
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
call fcn.68a2ddf0
test al, al
jne 0x68a149af
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x18]
call fcn.68a2ddf0
test al, al
jne 0x68a149af
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x68a57338]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
jmp 0x68a14d38
pop edi
pop esi
mov eax, 0x80004003
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret 0xc
cmp eax, 0x49
jbe 0x68a14ab8
push dword [edi]
mov ecx, 0xc
call fcn.68a14740
mov edi, eax
add esp, 4
mov esi, dword [edi]
cmp esi, 0xffff
jb 0x68a14d46
lea eax, [esi + 0x1c]
cmp eax, esi
jb 0x68a14d46
push 0x1c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14d46
cmp dword [ebp - 0x44], 0
je 0x68a14d46
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x68a14d46
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x68a14d46
cmp dword [ebp - 0x38], 0x1000
jne 0x68a14d46
test byte [ebp - 0x34], 1
jne 0x68a14d46
test dword [ebp - 0x34], 0x100
jne 0x68a14d46
sub eax, esi
add eax, ecx
cmp eax, 0x1c
jb 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x14]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x18]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
mov ecx, esi
call dword [0x68a57338]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
jmp 0x68a14d38
mov ecx, dword [edi]
xor edi, edi
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x2c]
cmp eax, 0x46
jbe 0x68a14c18
call fcn.68a14590
test eax, eax
je 0x68a14b41
lea esi, [eax + 0xb]
test esi, esi
je 0x68a14b41
cmp esi, 0xffff
jb 0x68a14b41
lea eax, [esi + 4]
cmp eax, esi
jb 0x68a14b41
push 0x1c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], edi
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14b41
cmp dword [ebp - 0x44], edi
je 0x68a14b41
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x68a14b41
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x68a14b41
cmp dword [ebp - 0x38], 0x1000
jne 0x68a14b41
test byte [ebp - 0x34], 1
jne 0x68a14b41
test dword [ebp - 0x34], 0x100
jne 0x68a14b41
sub eax, esi
add eax, ecx
cmp eax, 4
jb 0x68a14b41
mov edi, dword [esi]
mov esi, dword [edi]
cmp esi, 0xffff
jb 0x68a14d46
lea eax, [esi + 0x20]
cmp eax, esi
jb 0x68a14d46
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14d46
cmp dword [ebp - 0x1c], 0
je 0x68a14d46
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x68a14d46
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x68a14d46
cmp dword [ebp - 0x10], 0x1000
jne 0x68a14d46
test byte [ebp - 0xc], 1
jne 0x68a14d46
test dword [ebp - 0xc], 0x100
jne 0x68a14d46
sub eax, esi
add eax, ecx
cmp eax, 0x20
jb 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x18]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x68a57338]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x1c]
jmp 0x68a14d38
call fcn.68a14590
test eax, eax
je 0x68a14c8e
lea esi, [eax + 0xb]
test esi, esi
je 0x68a14c8e
cmp esi, 0xffff
jb 0x68a14c8e
lea eax, [esi + 4]
cmp eax, esi
jb 0x68a14c8e
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], edi
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14c8e
cmp dword [ebp - 0x1c], edi
je 0x68a14c8e
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x68a14c8e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x68a14c8e
cmp dword [ebp - 0x10], 0x1000
jne 0x68a14c8e
test byte [ebp - 0xc], 1
jne 0x68a14c8e
test dword [ebp - 0xc], 0x100
jne 0x68a14c8e
sub eax, esi
add eax, ecx
cmp eax, 4
jb 0x68a14c8e
mov edi, dword [esi]
mov esi, dword [edi]
cmp esi, 0xffff
jb 0x68a14d46
lea eax, [esi + 0x14]
cmp eax, esi
jb 0x68a14d46
push 0x1c
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14d46
cmp dword [ebp - 0x44], 0
je 0x68a14d46
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x68a14d46
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x68a14d46
cmp dword [ebp - 0x38], 0x1000
jne 0x68a14d46
test byte [ebp - 0x34], 1
jne 0x68a14d46
test dword [ebp - 0x34], 0x100
jne 0x68a14d46
sub eax, esi
add eax, ecx
cmp eax, 0x14
jb 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x10]
call fcn.68a2ddf0
test al, al
jne 0x68a14d46
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x68a57338]
mov ecx, edi
call esi
mov ecx, dword [ebp - 0x4c]
mov dword [ecx], eax
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x68a57338]
mov ecx, edi
call esi
mov dword [ebx], eax
mov esi, dword [ebx]
cmp dword [ebp + 0x10], esi
mov eax, dword [ebp - 0x4c]
cmovb esi, dword [ebp + 0x10]
mov dword [ebx], esi
mov edi, dword [eax]
test edi, edi
je 0x68a14de6
test esi, esi
je 0x68a14de6
cmp edi, 0xffff
jb 0x68a14dce
lea eax, [edi + esi]
cmp eax, edi
jb 0x68a14dce
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
cmp eax, 0x57
je 0x68a14dce
cmp dword [ebp - 0x1c], 0
je 0x68a14dce
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x68a14dce
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x68a14dce
cmp dword [ebp - 0x10], 0x1000
jne 0x68a14dce
test byte [ebp - 0xc], 1
jne 0x68a14dce
test dword [ebp - 0xc], 0x100
jne 0x68a14dce
sub ecx, edi
add ecx, edx
cmp ecx, esi
jae 0x68a14de6
pop edi
pop esi
mov eax, 0x80070005
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.68a3943b
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.68a3943b
mov esp, ebp
pop ebp
ret 0xc