Function at 0x406bd5
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1704]
mov eax, 0x1784
call fcn.0040f5e0
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.0040ef5c
push 0
mov ebx, eax
push 0x42a133
push ebx
mov dword [ebp - 0x74], ebx
call fcn.00405558
push edi
call fcn.0040ef5c
push eax
mov dword [ebp - 0x7c], eax
call fcn.00405264
push ebx
push str._EXE4J_EXEDIR_
push esi
call fcn.00406b4b
push ebx
push str._INSTALL4J_EXEDIR_
push esi
call fcn.00406b4b
mov edi, 0x43e930
push edi
push str._EXE4J_TEMPDIR_
push esi
call fcn.00406b4b
push edi
push str._INSTALL4J_TEMPDIR_
push esi
call fcn.00406b4b
add esp, 0x48
mov ebx, 0x428cf4
push ebx
push str._EXE4J_PATHLIST_SEPARATOR_
push esi
call fcn.00406b4b
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR_
push esi
call fcn.00406b4b
mov edi, 0x43d160
push edi
push str._EXE4J_JVM_HOME_
push esi
call fcn.00406b4b
push edi
push str._INSTALL4J_JVM_HOME_
push esi
call fcn.00406b4b
push dword [ebp - 0x74]
push str._EXE4J_EXEDIR
push esi
call fcn.00406b4b
push dword [ebp - 0x74]
push str._INSTALL4J_EXEDIR
push esi
call fcn.00406b4b
add esp, 0x48
push 0x43e930
push str._EXE4J_TEMPDIR
push esi
call fcn.00406b4b
push 0x43e930
push str._INSTALL4J_TEMPDIR
push esi
call fcn.00406b4b
push ebx
push str._EXE4J_PATHLIST_SEPARATOR
push esi
call fcn.00406b4b
push ebx
push str._INSTALL4J_PATHLIST_SEPARATOR
push esi
call fcn.00406b4b
push edi
push str._EXE4J_JVM_HOME
push esi
call fcn.00406b4b
push edi
push str._INSTALL4J_JVM_HOME
push esi
call fcn.00406b4b
add esp, 0x48
push dword [ebp - 0x74]
push str._launcher:sys.launcherDirectory
push esi
call fcn.00406b4b
push 0x43e930
push str._launcher:sys.launcherTempDirectory
push esi
call fcn.00406b4b
push ebx
push str._launcher:sys.pathlistSeparator
push esi
call fcn.00406b4b
push edi
push str._launcher:sys.jvmHome
push esi
call fcn.00406b4b
push dword [ebp - 0x7c]
push str._launcher:sys.tempDir
push esi
call fcn.00406b4b
add esp, 0x3c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov dword [ebp - 0x80], eax
test eax, eax
je 0x406de9
cmp byte [eax], 0
mov ebx, eax
je 0x406de9
push ebx
call fcn.0040f0b0
inc eax
push eax
call fcn.0040ef5c
push ebx
push eax
mov dword [ebp - 0x78], eax
call fcn.0040f4d0
push 0x3d
push dword [ebp - 0x78]
call fcn.0040eff0
mov edi, eax
add esp, 0x18
test edi, edi
je 0x406dcd
push dword [ebp - 0x78]
lea eax, [ebp - 0x70]
push str.__s
push eax
mov byte [edi], 0
call fcn.00410061
inc edi
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00406b4b
lea eax, [ebp - 0x70]
push eax
call fcn.004277b2
push edi
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.00406b4b
add esp, 0x28
push ebx
call fcn.0040f0b0
push dword [ebp - 0x78]
lea ebx, [ebx + eax + 1]
call fcn.0040f388
cmp byte [ebx], 0
pop ecx
pop ecx
jne 0x406d6c
mov eax, dword [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push dword [ebp - 0x74]
call fcn.0040f388
push dword [ebp - 0x7c]
call fcn.0040f388
pop ecx
pop ecx
mov ecx, dword [ebp + 0x1700]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040f5c8
add ebp, 0x1704
leave
ret