Function at 0xdac812
Capabilities:
Query environment variable

Disassembly:
push 0xf8
mov eax, 0xdf8419
call fcn.00dd0d56
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x10]
push 0xa
mov dword [ebp - 0x3c], eax
call fcn.00dd0849
mov edi, eax
mov dword [ebp - 0x50], edi
lea ebx, [edi + 0xa]
push ebx
push edi
mov dword [ebp - 0x48], ebx
call fcn.00da211b
add esp, 0xc
mov dword [ebp - 0x4c], ebx
and dword [ebp - 4], 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x38]
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0xdac86b
mov ecx, dword [eax]
push 0xa
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xcb
jne 0xdac8b3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0xdaca1d
mov byte [eax], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
test edi, edi
je 0xdaca15
push 0xa
push edi
jmp 0xdaca0e
mov eax, dword [ebp - 0x40]
cmp eax, 0xa
jbe 0xdac9cf
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00da69a1
mov eax, dword [ebp - 0x38]
mov edx, eax
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
sub ecx, edi
cmp dword [eax + 0x14], 0x10
jb 0xdac8e1
mov edx, dword [eax]
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0xdac9cc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0xdac949
mov byte [eax], 1
xor eax, eax
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
test ebx, ebx
je 0xdaca15
mov eax, dword [ebp - 0x48]
sub eax, ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
cmp eax, 0x1000
jb 0xdac943
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00d97ee8
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
pop ecx
pop ecx
push eax
jmp 0xdac8ad
push 0x205
push str.SysInfo::_anonymous_namespace::getEnvVariableImpl
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x6c]
call fcn.00d930f3
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [ebp - 0x38]
push 0xe02a3c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00d92f56
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 5
call fcn.00d93265
mov byte [ebp - 4], 6
push str.GetEnvironmentVariable_
mov ecx, eax
call fcn.00d927c0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00d9ae4d
mov ecx, eax
call fcn.00d927c0
push eax
lea ecx, [ebp - 0x60]
call fcn.00dbcd89
mov byte [ebp - 4], 8
jmp 0xdaca9b
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0xdac9d9
mov byte [eax], 0
push edi
mov ecx, esi
call fcn.00d92f72
mov eax, edi
test eax, eax
je 0xdaca15
sub ebx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
cmp ebx, 0x1000
jb 0xdaca0c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00d97ee8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push ebx
push eax
call fcn.00dd0879
pop ecx
pop ecx
mov eax, esi
call fcn.00dd0d05
ret
push 0x1f9
push str.SysInfo::_anonymous_namespace::getEnvVariableImpl
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x60]
call fcn.00d930f3
push eax
push str.System_error
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov eax, dword [ebp - 0x38]
push str.__failed._Variable_not_set
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00d92f56
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 1
call fcn.00d93265
mov byte [ebp - 4], 2
push str.GetEnvironmentVariable_
mov ecx, eax
call fcn.00d927c0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00d9ae4d
mov ecx, eax
call fcn.00d927c0
push eax
lea ecx, [ebp - 0x6c]
call fcn.00dbcd89
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00daa246
add esp, 0xc
lea eax, [ebp - 0x34]
push 0xe1bb40
push eax
call fcn.00dd2add
int3