Function at 0x406979
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1704]
mov eax, 0x1784
call fcn.0040ede0
mov eax, dword [0x431920]
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.0040e75d
push 0
mov ebx, eax
push 0x429d83
push ebx
mov dword [ebp - 0x74], ebx
call fcn.004052c7
push edi
call fcn.0040e75d
push eax
mov dword [ebp - 0x7c], eax
call fcn.00404fd3
push ebx
push str._EXE4J_EXEDIR_
push esi
call fcn.004068ef
push ebx
push str._INSTALL4J_EXEDIR_
push esi
call fcn.004068ef
mov edi, 0x4400a0
push edi
push str._EXE4J_TEMPDIR_
push esi
call fcn.004068ef
push edi
push str._INSTALL4J_TEMPDIR_
push esi
call fcn.004068ef
add esp, 0x48
mov ebx, 0x428cc4
push ebx
push str._EXE4J_PATHLIST_SEPARATOR_
push esi
call fcn.004068ef
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR_
push esi
call fcn.004068ef
mov edi, 0x43e8d0
push edi
push str._EXE4J_JVM_HOME_
push esi
call fcn.004068ef
push edi
push str._INSTALL4J_JVM_HOME_
push esi
call fcn.004068ef
push dword [ebp - 0x74]
push str._EXE4J_EXEDIR
push esi
call fcn.004068ef
push dword [ebp - 0x74]
push str._INSTALL4J_EXEDIR
push esi
call fcn.004068ef
add esp, 0x48
push 0x4400a0
push str._EXE4J_TEMPDIR
push esi
call fcn.004068ef
push 0x4400a0
push str._INSTALL4J_TEMPDIR
push esi
call fcn.004068ef
push ebx
push str._EXE4J_PATHLIST_SEPARATOR
push esi
call fcn.004068ef
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR
push esi
call fcn.004068ef
push edi
push str._EXE4J_JVM_HOME
push esi
call fcn.004068ef
push edi
push str._INSTALL4J_JVM_HOME
push esi
call fcn.004068ef
add esp, 0x48
push dword [ebp - 0x74]
push str._launcher:sys.launcherDirectory
push esi
call fcn.004068ef
push 0x4400a0
push str._launcher:sys.launcherTempDirectory
push esi
call fcn.004068ef
push ebx
push str._launcher:sys.pathlistSeparator
push esi
call fcn.004068ef
push edi
push str._launcher:sys.jvmHome
push esi
call fcn.004068ef
push dword [ebp - 0x7c]
push str._launcher:sys.tempDir
push esi
call fcn.004068ef
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x406b8d
cmp byte [eax], 0
mov ebx, eax
je 0x406b8d
push ebx
call fcn.0040e8b0
inc eax
push eax
call fcn.0040e75d
push ebx
push eax
mov dword [ebp - 0x78], eax
call fcn.0040ecd0
push 0x3d
push dword [ebp - 0x78]
call fcn.0040e7f0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x406b71
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push str.__s
push eax
mov byte [edi], 0
call fcn.0040f861
inc edi
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.004068ef
lea eax, [ebp - 0x70]
push eax
call fcn.004270a2
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.004068ef
add esp, 0x28
push ebx
call fcn.0040e8b0
push dword [ebp - 0x78]
lea ebx, [ebx + eax + 1]
call fcn.0040eb88
cmp byte [ebx], 0
pop ecx
pop ecx
jne 0x406b10
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push dword [ebp - 0x74]
call fcn.0040eb88
push dword [ebp - 0x7c]
call fcn.0040eb88
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1700]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040edc8
add ebp, 0x1704
leave
ret