Function at 0x6d53126c
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1ff8]
mov eax, 0x2078
call fcn.6d541a60
mov eax, dword [0x6d550324]
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 + 0x6d54f018]
call fcn.6d53d8e0
add esp, 0x10
test eax, eax
jne 0x6d5312be
add esi, 4
cmp esi, 8
jb 0x6d531291
jmp 0x6d531597
push ebx
lea ebx, [ebp + 0x1bf0]
call fcn.6d53d8e0
xor eax, eax
mov cl, byte [ebp + eax + 0x1bf0]
mov byte [ebp + eax + 0x17ec], cl
inc eax
test cl, cl
jne 0x6d5312cc
lea eax, [ebp + 0x17ec]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll__mbsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6d531596
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 0x6d531365
push edi
push 0x6d54f080
lea eax, [ebp + 0x17ec]
push 0x401
push eax
call ebx
push edi
push 0x6d54f084
lea eax, [ebp + 0x1bf0]
push 0x401
push eax
call ebx
add esp, 0x20
mov eax, dword [0x6d55040c]
test eax, eax
jne 0x6d531378
mov dword [0x6d55040c], 1
mov eax, dword [0x6d550408]
test eax, eax
jne 0x6d531592
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6d531137
pop ecx
test eax, eax
jne 0x6d531439
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 0x6d53158e
push str.GetCurrentJavaHomeFromRegistry
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6d53158e
lea ecx, [ebp + 0x7e0]
push ecx
call eax
pop ecx
test eax, eax
je 0x6d53158e
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.6d53d8e0
add esp, 0x14
test eax, eax
je 0x6d53158e
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6d531137
pop ecx
lea eax, [ebp + 0x1bf0]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x6d550410], eax
test eax, eax
jne 0x6d53145a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x6d53158e
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JNI_GetCreatedJavaVMs
push eax
call edi
test eax, eax
je 0x6d53158e
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0x6d550414
call eax
test eax, eax
js 0x6d53158e
cmp dword [ebp - 0x68], 1
jge 0x6d531592
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x6d5314a0
push eax
push eax
push eax
push 0x6d54f0e0
jmp 0x6d5314cf
cmp dword [ebp - 0x5c], 0
je 0x6d5314c1
push dword [ebp - 0x5c]
lea eax, [ebp + 0xfe8]
push str._Xbootclasspath_p:_s
push 0x801
push eax
call ebx
add esp, 0x10
jmp 0x6d5314e0
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 0x6d5314e2
push str.JPI_PLUGIN2_DEBUG
call esi
pop ecx
test eax, eax
je 0x6d53150b
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 0x6d531541
mov dword [ebp - 0x34], str.vfprintf
mov dword [ebp - 0x30], 0x6d5311f3
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6d53154b
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 0x6d531566
inc dword [ebp - 0x78]
push str.JNI_CreateJavaVM
push dword [0x6d550410]
mov byte [ebp - 0x70], 1
call edi
test eax, eax
je 0x6d53158e
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0x6d550414
call eax
test eax, eax
jns 0x6d531592
xor eax, eax
jmp 0x6d531595
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1ff4]
xor ecx, ebp
pop esi
call fcn.6d541a43
add ebp, 0x1ff8
leave
ret