Function at 0x401540
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 8]
sub esp, 8
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 0x401854
mov ebx, dword [esp + 0x24]
mov cl, byte [ebp]
mov eax, ebp
inc ebp
cmp cl, 0x2d
jne 0x401854
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 0x401886
mov dword [ebx + 0x20], eax
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
jmp 0x40183e
mov edi, 0x404244
mov ecx, 3
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401645
mov esi, dword [ebx + 0x20]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4018ac
mov edi, esi
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
mov edi, dword [esp + 0x14]
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 0x40161c
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 0x40183e
push 1
push 0x40427c
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401669
inc ebp
push ebp
call fcn.00401940
add esp, 4
jmp 0x40183e
push 2
push 0x404280
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x40169d
add ebp, 2
push ebp
call fcn.00401b20
add esp, 4
cmp eax, 0x3e8
jl 0x40183e
mov dword [ebx + 0xc], eax
jmp 0x40183e
push 3
push 0x404284
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x4016d1
add ebp, 3
push ebp
call fcn.00401b20
add esp, 4
cmp eax, 0x3e8
jl 0x40183e
mov dword [ebx + 0x10], eax
jmp 0x40183e
push 2
push 0x404288
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401705
add ebp, 2
push ebp
call fcn.00401b20
add esp, 4
cmp eax, 0x3e8
jl 0x40183e
mov dword [ebx + 0x14], eax
jmp 0x40183e
push 2
push 0x40428c
push ebp
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x401739
add ebp, 2
push ebp
call fcn.00401b20
add esp, 4
cmp eax, 0x3e8
jl 0x40183e
mov dword [ebx + 0x18], eax
jmp 0x40183e
mov edi, str.noasyncgc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401755
mov dword [ebx + 0x38], 1
jmp 0x40183e
mov edi, str.noclassgc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x401771
mov dword [ebx + 0x30], 0
jmp 0x40183e
mov edi, str.verify
mov ecx, 7
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40178d
mov dword [ebx + 0x1c], 2
jmp 0x40183e
mov edi, str.verifyremote
mov ecx, 0xd
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017a9
mov dword [ebx + 0x1c], 1
jmp 0x40183e
mov edi, str.noverify
mov ecx, 9
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017c2
mov dword [ebx + 0x1c], 0
jmp 0x40183e
mov edi, str.nojit
mov ecx, 6
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4017e1
push str.java.compiler
call fcn.00401940
add esp, 4
jmp 0x40183e
mov edi, 0x4042e4
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401837
mov edi, str.verbose
mov ecx, 8
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401837
mov edi, 0x4042f0
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x40181a
mov byte [0x404904], 1
jmp 0x40183e
mov edi, str.verbosegc
mov ecx, 0xa
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
jne 0x4018d2
mov dword [ebx + 0x34], 1
jmp 0x40183e
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 + 0x20]
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 + 0x1c]
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, 8
ret
push ebp
push 0x404220
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, 8
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, 8
ret
mov edi, 0x404300
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401928
mov edi, 0x404304
mov ecx, 2
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401928
mov edi, str.help
mov ecx, 5
mov esi, ebp
repe cmpsb byte [esi], byte es:[edi]
je 0x401928
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, 8
ret
mov eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret