Function at 0x6d42126c
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1ff8]
mov eax, 0x2078
call fcn.6d431a60
mov eax, dword [0x6d440324]
xor eax, ebp
mov dword [ebp + 0x1ff4], eax
push esi
xor esi, esi
mov dword [ebp - 0x58], esi
push 0x401
lea eax, [ebp + 0x1bf0]
push eax
push 1
push dword [esi + 0x6d43f018]
call fcn.6d432db1
add esp, 0x10
test eax, eax
jne 0x6d4212be
add esi, 4
cmp esi, 8
jb 0x6d421291
jmp 0x6d421597
push ebx
lea ebx, [ebp + 0x1bf0]
call fcn.6d432db1
xor eax, eax
mov cl, byte [ebp + eax + 0x1bf0]
mov byte [ebp + eax + 0x17ec], cl
inc eax
test cl, cl
jne 0x6d4212cc
lea eax, [ebp + 0x17ec]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll__mbsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d421596
mov esi, dword [sym.imp.msvcr100.dll_getenv]
push edi
push str.FORCED_JRE_ROOT
mov byte [eax], 0
call esi
mov edi, eax
mov dword [esp], str.FORCED_DEPLOY_ROOT
call esi
mov dword [ebp - 0x64], eax
mov dword [esp], str.FORCED_BOOTCLASSPATH
call esi
mov dword [ebp - 0x5c], eax
mov dword [esp], str.FORCED_BROWSERVM_ARGS
call esi
mov ebx, dword [sym.imp.msvcr100.dll__snprintf]
pop ecx
mov dword [ebp - 0x60], eax
test edi, edi
je 0x6d421365
push edi
push 0x6d43f080
lea eax, [ebp + 0x17ec]
push 0x401
push eax
call ebx
push edi
push 0x6d43f084
lea eax, [ebp + 0x1bf0]
push 0x401
push eax
call ebx
add esp, 0x20
mov eax, dword [0x6d44040c]
test eax, eax
jne 0x6d421378
mov dword [0x6d44040c], 1
mov eax, dword [0x6d440408]
test eax, eax
jne 0x6d421592
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6d421137
pop ecx
test eax, eax
jne 0x6d421439
lea eax, [ebp + 0x17ec]
push eax
push str._s_bindeploy.dll
mov edi, 0x400
lea eax, [ebp + 0xbe4]
push edi
push eax
call ebx
add esp, 0x10
lea eax, [ebp + 0xbe4]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [ebp - 0x6c], eax
test eax, eax
je 0x6d42158e
push str.GetCurrentJavaHomeFromRegistry
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6d42158e
lea ecx, [ebp + 0x7e0]
push ecx
call eax
pop ecx
test eax, eax
je 0x6d42158e
push dword [ebp - 0x6c]
call dword [sym.imp.kernel32.dll_FreeLibrary]
lea eax, [ebp + 0x7e0]
push eax
push str._s_bin
lea eax, [ebp + 0x1bf0]
push edi
push eax
call ebx
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6d432db1
add esp, 0x14
test eax, eax
je 0x6d42158e
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6d421137
pop ecx
lea eax, [ebp + 0x1bf0]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x6d440410], eax
test eax, eax
jne 0x6d42145a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x6d42158e
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JNI_GetCreatedJavaVMs
push eax
call edi
test eax, eax
je 0x6d42158e
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0x6d440414
call eax
test eax, eax
js 0x6d42158e
cmp dword [ebp - 0x68], 1
jge 0x6d421592
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x6d4214a0
push eax
push eax
push eax
push 0x6d43f0e0
jmp 0x6d4214cf
cmp dword [ebp - 0x5c], 0
je 0x6d4214c1
push dword [ebp - 0x5c]
lea eax, [ebp + 0xfe8]
push str._Xbootclasspath_p:_s
push 0x801
push eax
call ebx
add esp, 0x10
jmp 0x6d4214e0
lea eax, [ebp + 0x17ec]
push eax
push eax
push eax
push str._Xbootclasspath_a:_slibdeploy.jar__slibjavaws.jar__slibplugin.jar
lea eax, [ebp + 0xfe8]
push 0x801
push eax
call ebx
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax + 0xfe8]
mov byte [ebp + eax - 0x24], cl
inc eax
test cl, cl
jne 0x6d4214e2
push str.JPI_PLUGIN2_DEBUG
call esi
pop ecx
test eax, eax
je 0x6d42150b
mov dword [ebp - 0x58], 1
call dword [sym.imp.kernel32.dll_AllocConsole]
cmp dword [ebp - 0x58], 0
lea eax, [ebp - 0x24]
mov dword [ebp - 0x7c], 0x10002
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], str._Xmx32m
mov dword [ebp - 0x44], str._Djava.awt.headlesstrue
mov dword [ebp - 0x3c], str._XX:MaxDirectMemorySize64m
je 0x6d421541
mov dword [ebp - 0x34], str.vfprintf
mov dword [ebp - 0x30], 0x6d4211f3
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6d42154b
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x74], ecx
xor ecx, ecx
cmp dword [ebp - 0x58], ecx
setne cl
add ecx, 4
mov dword [ebp - 0x78], ecx
test eax, eax
je 0x6d421566
inc dword [ebp - 0x78]
push str.JNI_CreateJavaVM
push dword [0x6d440410]
mov byte [ebp - 0x70], 1
call edi
test eax, eax
je 0x6d42158e
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0x6d440414
call eax
test eax, eax
jns 0x6d421592
xor eax, eax
jmp 0x6d421595
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1ff4]
xor ecx, ebp
pop esi
call fcn.6d431a43
add ebp, 0x1ff8
leave
ret