Function at 0x4066c9
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1704]
mov eax, 0x1784
call fcn.0041d7b0
mov eax, dword [0x450970]
xor eax, ebp
mov dword [ebp + 0x1700], eax
push ebx
push esi
mov esi, dword [ebp + 0x170c]
push edi
mov edi, 0x1770
push edi
call fcn.0041d128
push 0
mov ebx, eax
push 0x439fd3
push ebx
mov dword [ebp - 0x74], ebx
call fcn.004052e5
push edi
call fcn.0041d128
push eax
mov dword [ebp - 0x7c], eax
call fcn.00404ff1
push ebx
push str._EXE4J_EXEDIR_
push esi
call fcn.0040663f
push ebx
push str._INSTALL4J_EXEDIR_
push esi
call fcn.0040663f
mov edi, 0x4620c0
push edi
push str._EXE4J_TEMPDIR_
push esi
call fcn.0040663f
push edi
push str._INSTALL4J_TEMPDIR_
push esi
call fcn.0040663f
add esp, 0x48
mov ebx, 0x438e34
push ebx
push str._EXE4J_PATHLIST_SEPARATOR_
push esi
call fcn.0040663f
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR_
push esi
call fcn.0040663f
mov edi, 0x45d9d0
push edi
push str._EXE4J_JVM_HOME_
push esi
call fcn.0040663f
push edi
push str._INSTALL4J_JVM_HOME_
push esi
call fcn.0040663f
push dword [ebp - 0x74]
push str._EXE4J_EXEDIR
push esi
call fcn.0040663f
push dword [ebp - 0x74]
push str._INSTALL4J_EXEDIR
push esi
call fcn.0040663f
add esp, 0x48
push 0x4620c0
push str._EXE4J_TEMPDIR
push esi
call fcn.0040663f
push 0x4620c0
push str._INSTALL4J_TEMPDIR
push esi
call fcn.0040663f
push ebx
push str._EXE4J_PATHLIST_SEPARATOR
push esi
call fcn.0040663f
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR
push esi
call fcn.0040663f
push edi
push str._EXE4J_JVM_HOME
push esi
call fcn.0040663f
push edi
push str._INSTALL4J_JVM_HOME
push esi
call fcn.0040663f
add esp, 0x48
push dword [ebp - 0x74]
push str._launcher:sys.launcherDirectory
push esi
call fcn.0040663f
push 0x4620c0
push str._launcher:sys.launcherTempDirectory
push esi
call fcn.0040663f
push ebx
push str._launcher:sys.pathlistSeparator
push esi
call fcn.0040663f
push edi
push str._launcher:sys.jvmHome
push esi
call fcn.0040663f
push dword [ebp - 0x7c]
push str._launcher:sys.tempDir
push esi
call fcn.0040663f
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4068dd
cmp byte [eax], 0
mov ebx, eax
je 0x4068dd
push ebx
call fcn.0041d280
inc eax
push eax
call fcn.0041d128
push ebx
push eax
mov dword [ebp - 0x78], eax
call fcn.0041d6a0
push 0x3d
push dword [ebp - 0x78]
call fcn.0041d1c0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x4068c1
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push str.__s
push eax
mov byte [edi], 0
call fcn.0041e231
inc edi
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0040663f
lea eax, [ebp - 0x70]
push eax
call fcn.00436960
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0040663f
add esp, 0x28
push ebx
call fcn.0041d280
push dword [ebp - 0x78]
lea ebx, [ebx + eax + 1]
call fcn.0041d558
cmp byte [ebx], 0
pop ecx
pop ecx
jne 0x406860
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push dword [ebp - 0x74]
call fcn.0041d558
push dword [ebp - 0x7c]
call fcn.0041d558
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1700]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d798
add ebp, 0x1704
leave
ret