Function at 0x413045
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x413079
push edi
call fcn.00414100
pop ecx
test eax, eax
jbe 0x413079
push str.__i4j_reboot
push edi
call fcn.00415ec0
pop ecx
pop ecx
test eax, eax
jne 0x413079
call fcn.00411f26
jmp 0x413382
push esi
mov esi, str.__i4j_lang_restart
push esi
call fcn.00414100
push eax
push esi
push edi
call fcn.00415051
add esp, 0x10
test eax, eax
jne 0x41309b
mov byte [0x44d460], 1
push 0xf
push str._q_i4j_internal
push edi
call fcn.00415051
add esp, 0xc
test eax, eax
jne 0x4130b4
call fcn.00403d7f
lea ecx, [ebp - 0x30]
call fcn.0040c918
push 1
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00412ba8
push 0
lea eax, [ebp - 0x30]
push eax
push dword [ebp + 8]
call fcn.00412c30
push 0x9a
call fcn.004038fd
add esp, 0x1c
test eax, eax
setne byte [ebp + 0x13]
cmp byte [ebp + 0x13], 0
je 0x41310e
call fcn.00411df2
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.davhlpr.dll
call esi
push str.fwbase.dll
call esi
push ebx
call fcn.004123bd
cmp byte [ebp + 0x13], 0
mov ebx, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x413133
push 0x9c
call fcn.004038fd
pop ecx
test eax, eax
je 0x4131e7
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x4131e7
cmp byte [ebp + 0x13], 0
je 0x41316e
push esi
lea ecx, [ebp - 0x30]
call fcn.00407f5c
push 0x4382d4
push dword [eax]
call fcn.00414945
pop ecx
pop ecx
test eax, eax
jne 0x41316e
call fcn.00403d7f
jmp 0x4131b1
push esi
lea ecx, [ebp - 0x30]
call fcn.00407f5c
push str._console
push dword [eax]
call fcn.00414945
pop ecx
pop ecx
test eax, eax
jne 0x413190
call fcn.00411db0
jmp 0x4131b1
cmp byte [ebp + 0x13], 0
je 0x4131b1
push esi
lea ecx, [ebp - 0x30]
call fcn.00407f5c
push 0x4382b8
push dword [eax]
call fcn.00414945
pop ecx
pop ecx
test eax, eax
je 0x4131c1
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
inc esi
sar eax, 2
cmp esi, eax
jb 0x413146
jmp 0x4131e7
call fcn.00403d7f
call fcn.00411db0
test al, al
jne 0x4131e7
push 0
push str.install4j
push str.Error:_Could_not_allocate_console.
push 0
call ebx
push 1
call fcn.004047b4
pop ecx
push 0x7d
mov byte [ebp + 0xb], 1
call fcn.004038fd
pop ecx
test eax, eax
je 0x41326c
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 8]
call fcn.00406e61
jmp 0x41324d
lea ecx, [ebp - 8]
call fcn.00413019
push 0x438274
push dword [eax]
call fcn.00414945
pop ecx
pop ecx
test eax, eax
jne 0x413245
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
push eax
call fcn.00408471
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov byte [ebp + 0xb], 0
jmp 0x41324d
lea ecx, [ebp - 8]
call fcn.00407fa7
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.00406e61
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.0040acc0
test al, al
je 0x413208
cmp byte [0x44d460], 0
jne 0x41327d
push 1
call fcn.00410501
pop ecx
call fcn.0040fbb1
test al, al
jne 0x4132f8
cmp byte [0x44d460], al
jne 0x4132f8
push dword [0x44d458]
call fcn.00414100
mov esi, str.This_executable_was_created_with_an_evaluation_version_of
push esi
mov edi, eax
call fcn.00414100
lea eax, [edi + eax + 0xa]
push eax
call fcn.0041375e
mov edi, eax
push esi
push edi
call fcn.00414580
push dword [0x44d458]
push edi
call fcn.00414590
add esp, 0x1c
cmp byte [ebp + 0x13], 0
je 0x4132e4
push 0x438270
push edi
call fcn.00414590
push edi
call fcn.00411d55
add esp, 0xc
jmp 0x4132f1
push 0x40
push dword [0x44d458]
push edi
push 0
call ebx
push edi
call fcn.00414445
pop ecx
push 1
call fcn.00403b10
pop ecx
pop ebx
test eax, eax
je 0x413316
push 0x43826c
push 0x3f1
call fcn.00404873
pop ecx
pop ecx
call fcn.00412080
xor esi, esi
push esi
push esi
push 1
call fcn.00411905
add esp, 0xc
test al, al
jne 0x413335
push 0x53
call fcn.004047b4
pop ecx
cmp byte [ebp + 0xb], 0
je 0x41334b
push 0x6c
call fcn.004038fd
pop ecx
test eax, eax
je 0x41334b
mov al, 1
jmp 0x41334d
xor al, al
push dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.00409ff3
add esp, 0x10
test al, al
jne 0x413370
push esi
push 0x3ed
call fcn.0040488a
pop ecx
pop ecx
lea ecx, [ebp - 0x30]
call fcn.0040827c
push dword [ebp - 0x30]
call fcn.00414445
pop ecx
pop esi
xor eax, eax
pop edi
leave
ret 0x10