Function at 0x401540
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
mov ecx, dword [eax]
mov dword [esp + 4], ecx
push esi
push edi
add ecx, 4
mov dword [esp + 0xc], ecx
push ebp
mov ebp, dword [ecx - 4]
test ebp, ebp
je 0x40184c
mov ebx, dword [esp + 0x20]
mov cl, byte [ebp]
mov eax, ebp
inc ebp
cmp cl, 0x2d
jne 0x40184c
mov edi, str.classpath
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4015a3
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
je 0x40187e
mov dword [ebx + 0x20], eax
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x401836
mov edi, 0x404250
mov ecx, 3
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40163d
mov esi, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
mov edi, dword [ecx]
test edi, edi
je 0x4018a4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, esi
sub eax, eax
lea edx, [ecx - 1]
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx + edx - 1]
add edx, 2
push edx
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebx + 0x20], eax
test eax, eax
jne 0x401614
push str.malloc
call dword [sym.imp.MSVCRT.dll_perror]
add esp, 4
push 1
call dword [sym.imp.MSVCRT.dll_exit]
add esp, 4
mov eax, dword [esp + 0x10]
push esi
push 0x3b
nop
mov edx, dword [eax]
lea ecx, [eax + 4]
push edx
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x1c], ecx
push str._s_c_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
jmp 0x401836
push 1
push 0x404288
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401661
inc ebp
push ebp
call fcn.00401930
add esp, 4
jmp 0x401836
push 2
push 0x40428c
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401695
add ebp, 2
push ebp
call fcn.00401b10
add esp, 4
cmp eax, 0x3e8
jl 0x401836
mov dword [ebx + 0xc], eax
jmp 0x401836
push 3
push 0x404290
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4016c9
add ebp, 3
push ebp
call fcn.00401b10
add esp, 4
cmp eax, 0x3e8
jl 0x401836
mov dword [ebx + 0x10], eax
jmp 0x401836
push 2
push 0x404294
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4016fd
add ebp, 2
push ebp
call fcn.00401b10
add esp, 4
cmp eax, 0x3e8
jl 0x401836
mov dword [ebx + 0x14], eax
jmp 0x401836
push 2
push 0x404298
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401731
add ebp, 2
push ebp
call fcn.00401b10
add esp, 4
cmp eax, 0x3e8
jl 0x401836
mov dword [ebx + 0x18], eax
jmp 0x401836
mov edi, str.noasyncgc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40174d
mov dword [ebx + 0x38], 1
jmp 0x401836
mov edi, str.noclassgc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401769
mov dword [ebx + 0x30], 0
jmp 0x401836
mov edi, str.verify
mov ecx, 7
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401785
mov dword [ebx + 0x1c], 2
jmp 0x401836
mov edi, str.verifyremote
mov ecx, 0xd
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017a1
mov dword [ebx + 0x1c], 1
jmp 0x401836
mov edi, str.noverify
mov ecx, 9
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017ba
mov dword [ebx + 0x1c], 0
jmp 0x401836
mov edi, str.nojit
mov ecx, 6
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017d9
push str.java.compiler
call fcn.00401930
add esp, 4
jmp 0x401836
mov edi, 0x4042f0
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x40182f
mov edi, str.verbose
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x40182f
mov edi, 0x4042fc
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401812
mov byte [0x4048e4], 1
jmp 0x401836
mov edi, str.verbosegc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4018ca
mov dword [ebx + 0x34], 1
jmp 0x401836
mov dword [ebx + 0x3c], 1
mov ecx, dword [esp + 0x10]
add ecx, 4
mov dword [esp + 0x10], ecx
mov ebp, dword [ecx - 4]
test ebp, ebp
jne 0x401567
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
sub eax, 4
mov ecx, eax
mov ebx, dword [edx]
sub ecx, ebx
mov dword [esp + 0x10], eax
sar ecx, 2
mov eax, dword [esp + 0x18]
mov ebp, dword [eax]
sub ebp, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ebp
xor eax, eax
pop ebp
mov dword [edx], ecx
pop edi
pop esi
pop ebx
add esp, 4
ret
push ebp
push 0x40422c
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push ebp
push str.No_class_path_given_for__s_option_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, 0x40430c
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401920
mov edi, 0x404310
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401920
mov edi, str.help
mov ecx, 5
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401920
push ebp
push str.Illegal_option:___s_n
call dword [sym.imp.MSVCRT.dll___p__iob]
add eax, 0x40
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret