Function at 0x41c812
Capabilities:
Query environment variable

Disassembly:
push 0xf8
mov eax, 0x468419
call fcn.00440d56
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.00440849
mov edi, eax
mov dword [ebp - 0x50], edi
lea ebx, [edi + 0xa]
push ebx
push edi
mov dword [ebp - 0x48], ebx
call fcn.0041211b
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 0x41c86b
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 0x41c8b3
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41ca1d
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 0x41ca15
push 0xa
push edi
jmp 0x41ca0e
mov eax, dword [ebp - 0x40]
cmp eax, 0xa
jbe 0x41c9cf
lea ecx, [ebp - 0x41]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.004169a1
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 0x41c8e1
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 0x41c9cc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41c949
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 0x41ca15
mov eax, dword [ebp - 0x48]
sub eax, ebx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], eax
cmp eax, 0x1000
jb 0x41c943
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00407ee8
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
pop ecx
pop ecx
push eax
jmp 0x41c8ad
push 0x205
push str.SysInfo::_anonymous_namespace::getEnvVariableImpl
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x6c]
call fcn.004030f3
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 0x472a2c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x40], esp
push eax
call fcn.00402f56
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 5
call fcn.00403265
mov byte [ebp - 4], 6
push str.GetEnvironmentVariable_
mov ecx, eax
call fcn.004027c0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0040ae4d
mov ecx, eax
call fcn.004027c0
push eax
lea ecx, [ebp - 0x60]
call fcn.0042cd89
mov byte [ebp - 4], 8
jmp 0x41ca9b
mov ebx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x41c9d9
mov byte [eax], 0
push edi
mov ecx, esi
call fcn.00402f72
mov eax, edi
test eax, eax
je 0x41ca15
sub ebx, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
cmp ebx, 0x1000
jb 0x41ca0c
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00407ee8
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
push ebx
push eax
call fcn.00440879
pop ecx
pop ecx
mov eax, esi
call fcn.00440d05
ret
push 0x1f9
push str.SysInfo::_anonymous_namespace::getEnvVariableImpl
push str.c:_jenkins_workspace_8_2_build_windows_x64_cygwin_sans_NAS_jdk8u391_514_install_src_windows_common_SysInfo.cpp
lea ecx, [ebp - 0x60]
call fcn.004030f3
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.00402f56
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 1
call fcn.00403265
mov byte [ebp - 4], 2
push str.GetEnvironmentVariable_
mov ecx, eax
call fcn.004027c0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.0040ae4d
mov ecx, eax
call fcn.004027c0
push eax
lea ecx, [ebp - 0x6c]
call fcn.0042cd89
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0041a246
add esp, 0xc
lea eax, [ebp - 0x34]
push 0x48bb40
push eax
call fcn.00442add
int3