Function at 0x402db0
Capabilities:
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
push ebx
push esi
mov esi, dword [sym.imp.MSVCR71.dll_getenv]
push edi
xor ebx, ebx
push str._JAVA_LAUNCHER_DEBUG
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call esi
test eax, eax
mov edi, dword [sym.imp.MSVCR71.dll_printf]
pop ecx
je 0x402deb
push str._____JAVA_LAUNCHER_DEBUG_____n
mov byte [0x40803a], 1
call edi
pop ecx
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
call fcn.004011b5
mov eax, dword [ebp + 8]
lea eax, [eax*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
mov edx, dword [ebp + 8]
add esp, 0xc
xor ecx, ecx
inc edx
test edx, edx
jle 0x402e29
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + ecx*4]
mov dword [eax + ecx*4], edx
mov edx, dword [ebp + 8]
inc ecx
inc edx
cmp ecx, edx
jl 0x402e17
push eax
mov eax, 0x104
push eax
lea ecx, [ebp - 0x17c]
push ecx
push eax
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040403b
add esp, 0x1c
cmp byte [0x40803a], bl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
je 0x402e68
call fcn.004032e5
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00403eb7
test al, al
pop ecx
pop ecx
jne 0x402e82
push 6
jmp 0x402ef9
cmp byte [0x40803a], bl
je 0x402ea7
call fcn.004032e5
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
push edx
push eax
call fcn.0040332b
push eax
push str._ld_micro_seconds_to_LoadJavaVM_n
call edi
add esp, 0x10
add dword [ebp + 0xc], 4
dec dword [ebp + 8]
push str.CLASSPATH
mov dword [0x408034], 0x4065e0
call esi
cmp eax, ebx
pop ecx
jne 0x402ec9
mov eax, 0x405d74
push eax
call fcn.00401183
lea eax, [ebp - 0x17c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040246a
add esp, 0x1c
test al, al
jne 0x402eff
push dword [ebp - 4]
call dword [sym.imp.MSVCR71.dll_exit]
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x402f0d
push esi
call fcn.00401183
pop ecx
push dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
push edi
mov eax, esi
call fcn.00401a0b
push 0
push str._Dsun.java.launcherSUN_STANDARD
call fcn.004010bd
call fcn.00403b6c
call fcn.00401d81
push 0x405388
call fcn.00403b21
push str._JAVA_SPLASH_FILE
call fcn.00403b21
push str._JAVA_SPLASH_JAR
call fcn.00403b21
push dword [0x408040]
call sub.jli.dll_JLI_MemFree
push dword [0x40803c]
call sub.jli.dll_JLI_MemFree
mov eax, dword [0x408058]
add esp, 0x24
or eax, dword [0x40805c]
jne 0x402fa9
push 0x48
lea eax, [ebp - 0x78]
push 0
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x78], 0x10001
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x68]
test eax, eax
jle 0x402fa9
cdq
mov dword [0x408058], eax
mov dword [0x40805c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x30]
push eax
push dword [0x40805c]
mov dword [ebp - 0x28], esi
push dword [0x408058]
mov dword [ebp - 0x24], edi
push 0x401df2
call fcn.00404105
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret