Function at 0x6dc7126c
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1ff8]
mov eax, 0x2078
call fcn.6dc75bf0
mov eax, dword [0x6dc7b4b0]
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 + 0x6dc7b018]
call fcn.6dc75efa
add esp, 0x10
test eax, eax
jne 0x6dc712be
add esi, 4
cmp esi, 8
jb 0x6dc71291
jmp 0x6dc71597
push ebx
lea ebx, [ebp + 0x1bf0]
call fcn.6dc75efa
xor eax, eax
mov cl, byte [ebp + eax + 0x1bf0]
mov byte [ebp + eax + 0x17ec], cl
inc eax
test cl, cl
jne 0x6dc712cc
lea eax, [ebp + 0x17ec]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll__mbsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6dc71596
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 0x6dc71365
push edi
push 0x6dc7b080
lea eax, [ebp + 0x17ec]
push 0x401
push eax
call ebx
push edi
push 0x6dc7b084
lea eax, [ebp + 0x1bf0]
push 0x401
push eax
call ebx
add esp, 0x20
mov eax, dword [0x6dc7b544]
test eax, eax
jne 0x6dc71378
mov dword [0x6dc7b544], 1
mov eax, dword [0x6dc7b540]
test eax, eax
jne 0x6dc71592
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6dc71137
pop ecx
test eax, eax
jne 0x6dc71439
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 0x6dc7158e
push str.GetCurrentJavaHomeFromRegistry
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6dc7158e
lea ecx, [ebp + 0x7e0]
push ecx
call eax
pop ecx
test eax, eax
je 0x6dc7158e
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.6dc75efa
add esp, 0x14
test eax, eax
je 0x6dc7158e
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6dc71137
pop ecx
lea eax, [ebp + 0x1bf0]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x6dc7b548], eax
test eax, eax
jne 0x6dc7145a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x6dc7158e
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JNI_GetCreatedJavaVMs
push eax
call edi
test eax, eax
je 0x6dc7158e
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0x6dc7b54c
call eax
test eax, eax
js 0x6dc7158e
cmp dword [ebp - 0x68], 1
jge 0x6dc71592
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x6dc714a0
push eax
push eax
push eax
push 0x6dc7b0e0
jmp 0x6dc714cf
cmp dword [ebp - 0x5c], 0
je 0x6dc714c1
push dword [ebp - 0x5c]
lea eax, [ebp + 0xfe8]
push str._Xbootclasspath_p:_s
push 0x801
push eax
call ebx
add esp, 0x10
jmp 0x6dc714e0
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 0x6dc714e2
push str.JPI_PLUGIN2_DEBUG
call esi
pop ecx
test eax, eax
je 0x6dc7150b
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 0x6dc71541
mov dword [ebp - 0x34], str.vfprintf
mov dword [ebp - 0x30], 0x6dc711f3
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6dc7154b
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 0x6dc71566
inc dword [ebp - 0x78]
push str.JNI_CreateJavaVM
push dword [0x6dc7b548]
mov byte [ebp - 0x70], 1
call edi
test eax, eax
je 0x6dc7158e
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0x6dc7b54c
call eax
test eax, eax
jns 0x6dc71592
xor eax, eax
jmp 0x6dc71595
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1ff4]
xor ecx, ebp
pop esi
call fcn.6dc75bdb
add ebp, 0x1ff8
leave
ret