Function at 0x402d55
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 0x402d90
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 0x402dce
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 0x402dbc
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.00403cce
add esp, 0x1c
cmp byte [0x40803a], bl
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
je 0x402e0d
call fcn.00403214
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.00403b63
test al, al
pop ecx
pop ecx
jne 0x402e27
push 6
jmp 0x402e9e
cmp byte [0x40803a], bl
je 0x402e4c
call fcn.00403214
sub eax, dword [ebp - 8]
sbb edx, dword [ebp - 4]
push edx
push eax
call fcn.0040325a
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], 0x406598
call esi
cmp eax, ebx
pop ecx
jne 0x402e6e
mov eax, 0x405d34
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.0040240f
add esp, 0x1c
test al, al
jne 0x402ea4
push dword [ebp - 4]
call dword [sym.imp.MSVCR71.dll_exit]
mov esi, dword [ebp - 0x18]
cmp esi, ebx
je 0x402eb2
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.004019e7
push 0
push str._Dsun.java.launcherSUN_STANDARD
call fcn.004010bd
call fcn.00403aa1
call fcn.00401d5d
push 0x405344
call fcn.004039df
push str._JAVA_SPLASH_FILE
call fcn.004039df
push str._JAVA_SPLASH_JAR
call fcn.004039df
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 0x402f4e
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 0x402f4e
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 0x401dce
call fcn.00403a2a
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret