Function at 0x6daa11be
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c68
call fcn.6daa46f0
and dword [ebp - 4], 0
push esi
push edi
xor esi, esi
push 0x401
lea eax, [ebp - 0x85c]
push eax
xor edi, edi
inc edi
push edi
push dword [esi + 0x6daa8038]
call fcn.6daa412a
add esp, 0x10
test eax, eax
jne 0x6daa11ff
add esi, 4
cmp esi, 8
jb 0x6daa11d3
jmp 0x6daa1236
lea eax, [ebp - 0x85c]
push eax
call fcn.6daa1015
pop ecx
xor eax, eax
mov cl, byte [ebp + eax - 0x85c]
mov byte [ebp + eax - 0x458], cl
inc eax
test cl, cl
jne 0x6daa120e
lea eax, [ebp - 0x458]
push 0x5c
push eax
call dword [sym.imp.MSVCR71.dll__mbsrchr]
test eax, eax
pop ecx
pop ecx
jne 0x6daa123d
xor eax, eax
jmp 0x6daa1403
cmp dword [0x6daad24c], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov byte [eax], 0
jne 0x6daa12c5
mov dword [0x6daad24c], edi
xor eax, eax
mov cl, byte [ebp + eax - 0x458]
mov byte [ebp + eax - 0xc60], cl
inc eax
test cl, cl
jne 0x6daa1258
mov eax, str._binjkernel.dll
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x6daa1272
lea edi, [ebp - 0xc60]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x6daa1282
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0xc60]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call ebx
mov esi, eax
test esi, esi
je 0x6daa12c2
push str.preJVMStart
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x6daa12bb
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
inc edi
cmp dword [0x6daad248], 0
jne 0x6daa1400
lea eax, [ebp - 0x85c]
push eax
call fcn.6daa1093
test eax, eax
pop ecx
jne 0x6daa12ea
xor eax, eax
jmp 0x6daa1402
lea eax, [ebp - 0x85c]
push eax
call ebx
test eax, eax
mov dword [0x6daad250], eax
je 0x6daa12e3
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.JNI_GetCreatedJavaVMs
push eax
call ebx
test eax, eax
je 0x6daa12e3
lea ecx, [ebp - 8]
push ecx
push edi
mov esi, 0x6daad254
push esi
call eax
test eax, eax
jl 0x6daa12e3
cmp dword [ebp - 8], edi
jge 0x6daa1400
lea eax, [ebp - 0x458]
push eax
push eax
push eax
push str._Xbootclasspath_a:_slibdeploy.jar__slibjavaws.jar__slibplugin.jar
lea eax, [ebp - 0x1464]
push 0x801
push eax
call dword [sym.imp.MSVCR71.dll__snprintf]
add esp, 0x18
xor eax, eax
mov cl, byte [ebp + eax - 0x1464]
mov byte [ebp + eax - 0x1c68], cl
inc eax
test cl, cl
jne 0x6daa134d
push str.JPI_PLUGIN2_DEBUG
call dword [sym.imp.MSVCR71.dll_getenv]
test eax, eax
pop ecx
je 0x6daa1379
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_AllocConsole]
cmp dword [ebp - 4], 0
lea eax, [ebp - 0x1c68]
mov dword [ebp - 0x18], 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._Dkernel.background.downloadfalse
mov dword [ebp - 0x34], str._Dkernel.download.dialogfalse
mov dword [ebp - 0x2c], str._XX:MaxDirectMemorySize64m
je 0x6daa13c0
mov dword [ebp - 0x24], str.vfprintf
mov dword [ebp - 0x20], 0x6daa116b
lea eax, [ebp - 0x54]
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp - 4], eax
push str.JNI_CreateJavaVM
push dword [0x6daad250]
setne al
mov byte [ebp - 0xc], 1
add eax, 6
mov dword [ebp - 0x14], eax
call ebx
test eax, eax
je 0x6daa12e3
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
call eax
test eax, eax
jl 0x6daa12e3
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret