Function at 0x6ddb126c
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x1ff8]
mov eax, 0x2078
call fcn.6ddb5bf0
mov eax, dword [0x6ddbb4b0]
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 + 0x6ddbb018]
call fcn.6ddb6991
add esp, 0x10
test eax, eax
jne 0x6ddb12be
add esi, 4
cmp esi, 8
jb 0x6ddb1291
jmp 0x6ddb1597
push ebx
lea ebx, [ebp + 0x1bf0]
call fcn.6ddb6991
xor eax, eax
mov cl, byte [ebp + eax + 0x1bf0]
mov byte [ebp + eax + 0x17ec], cl
inc eax
test cl, cl
jne 0x6ddb12cc
lea eax, [ebp + 0x17ec]
push 0x5c
push eax
call dword [sym.imp.msvcr100.dll__mbsrchr]
pop ecx
pop ecx
test eax, eax
je 0x6ddb1596
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 0x6ddb1365
push edi
push 0x6ddbb080
lea eax, [ebp + 0x17ec]
push 0x401
push eax
call ebx
push edi
push 0x6ddbb084
lea eax, [ebp + 0x1bf0]
push 0x401
push eax
call ebx
add esp, 0x20
mov eax, dword [0x6ddbb544]
test eax, eax
jne 0x6ddb1378
mov dword [0x6ddbb544], 1
mov eax, dword [0x6ddbb540]
test eax, eax
jne 0x6ddb1592
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6ddb1137
pop ecx
test eax, eax
jne 0x6ddb1439
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 0x6ddb158e
push str.GetCurrentJavaHomeFromRegistry
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x6ddb158e
lea ecx, [ebp + 0x7e0]
push ecx
call eax
pop ecx
test eax, eax
je 0x6ddb158e
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.6ddb6991
add esp, 0x14
test eax, eax
je 0x6ddb158e
lea eax, [ebp + 0x1bf0]
push eax
call fcn.6ddb1137
pop ecx
lea eax, [ebp + 0x1bf0]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [0x6ddbb548], eax
test eax, eax
jne 0x6ddb145a
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x6ddb158e
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JNI_GetCreatedJavaVMs
push eax
call edi
test eax, eax
je 0x6ddb158e
lea ecx, [ebp - 0x68]
push ecx
push 1
push 0x6ddbb54c
call eax
test eax, eax
js 0x6ddb158e
cmp dword [ebp - 0x68], 1
jge 0x6ddb1592
mov eax, dword [ebp - 0x64]
test eax, eax
je 0x6ddb14a0
push eax
push eax
push eax
push 0x6ddbb0e0
jmp 0x6ddb14cf
cmp dword [ebp - 0x5c], 0
je 0x6ddb14c1
push dword [ebp - 0x5c]
lea eax, [ebp + 0xfe8]
push str._Xbootclasspath_p:_s
push 0x801
push eax
call ebx
add esp, 0x10
jmp 0x6ddb14e0
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 0x6ddb14e2
push str.JPI_PLUGIN2_DEBUG
call esi
pop ecx
test eax, eax
je 0x6ddb150b
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 0x6ddb1541
mov dword [ebp - 0x34], str.vfprintf
mov dword [ebp - 0x30], 0x6ddb11f3
mov eax, dword [ebp - 0x60]
test eax, eax
je 0x6ddb154b
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 0x6ddb1566
inc dword [ebp - 0x78]
push str.JNI_CreateJavaVM
push dword [0x6ddbb548]
mov byte [ebp - 0x70], 1
call edi
test eax, eax
je 0x6ddb158e
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push 0x6ddbb54c
call eax
test eax, eax
jns 0x6ddb1592
xor eax, eax
jmp 0x6ddb1595
xor eax, eax
inc eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1ff4]
xor ecx, ebp
pop esi
call fcn.6ddb5bdb
add ebp, 0x1ff8
leave
ret