Function at 0x402920
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49d0ac
push eax
mov dword fs:[0], esp
mov eax, 0x22c8
push ebx
call fcn.00461bc0
push esi
push edi
push 1
push 2
call fcn.0047db2d
add esp, 8
mov edx, str.Arasan_24.2.2
mov ecx, 0x4f4ee0
call fcn.00405660
mov dl, 0x20
mov ecx, eax
call fcn.00405900
mov edx, str.Copyright_1994_2024_by_Jon_Dart._All_Rights_Reserved.
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
push 0
push 0
call fcn.0047ba4e
add esp, 4
push eax
call fcn.0047bcff
add esp, 8
push 0
push 1
call fcn.0047ba4e
add esp, 4
push eax
call fcn.0047bcff
mov eax, dword [0x4f4ee0]
add esp, 8
mov eax, dword [eax + 4]
push 0
push 0
push 0
mov ecx, dword [eax + 0x4f4f18]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [0x4f5020]
push 0
push 0
push 0
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x4f5058]
mov eax, dword [ecx]
call dword [eax + 0x30]
xor edx, edx
mov ecx, 1
mov eax, ecx
neg eax
and eax, ecx
rol ecx, 1
imul eax, eax, 0xe89b2be
shr eax, 0x1b
mov dword [eax*4 + 0x4f6600], edx
inc edx
cmp edx, 0x20
jl 0x4029f4
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
mov ecx, 7
mov dword [edx*4 + 0x4f6200], 0
mov eax, 0x80
test edx, eax
jne 0x402a42
sar eax, 1
dec ecx
test eax, eax
jg 0x402a35
jmp 0x402a49
mov dword [edx*4 + 0x4f6200], ecx
inc edx
cmp edx, 0x100
jl 0x402a20
inc dword [0x4f678c]
cmp dword [0x5d2d6c], 0
jne 0x402b64
push 0x21d0
call fcn.0048053a
mov esi, eax
add esp, 4
mov dword [0x5d2d6c], esi
xor ecx, ecx
mov dword [esi + 0x120], 0
mov dword [esi + 0x13c], 2
mov eax, ecx
cdq
and edx, 7
lea edi, [edx + eax]
mov eax, ecx
sar edi, 3
test edi, edi
jne 0x402ab7
and eax, 0x80000007
jns 0x402aae
dec eax
or eax, 0xfffffff8
inc eax
mov eax, dword [eax*4 + 0x4d1f6c]
jmp 0x402af8
cdq
and edx, 7
add edx, eax
sar edx, 3
neg edx
cmp edx, 0xfffffff9
jne 0x402ae1
mov eax, ecx
and eax, 0x80000007
jns 0x402ad5
dec eax
or eax, 0xfffffff8
inc eax
mov eax, dword [eax*4 + 0x4d1f6c]
add eax, 8
jmp 0x402af8
cmp edi, 1
jne 0x402aeb
mov dword [esi + ecx*4], edi
jmp 0x402afb
xor eax, eax
cmp edx, 0xfffffffa
mov edx, 9
cmove eax, edx
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, 0x40
jl 0x402a90
mov dword [esi + 0x130], 0x7f
lea eax, [esi + 0x1c0]
mov dword [esi + 0x144], 0
mov ecx, esi
mov dword [esi + 0x140], 0
mov dword [esi + 0x134], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0x21c0], eax
call fcn.0040a8c0
mov eax, dword [esi + 0x21c0]
mov ecx, dword [esi + 0x128]
mov edx, dword [esi + 0x12c]
mov dword [eax], ecx
mov dword [eax + 4], edx
add dword [esi + 0x21c0], 8
call fcn.004207d0
call fcn.004063e0
call fcn.00440380
xor edx, edx
mov ecx, 0x5e5380
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
movd xmm1, edx
xor eax, eax
cvtdq2pd xmm1, xmm1
mov dword [ebp - 0x14], eax
mov edx, ecx
mov dword [ebp - 0x18], ecx
movsd qword [ebp - 0x30], xmm1
nop word [eax + eax]
mov edi, edx
xor esi, esi
mov dword [edi], 0
cmp ecx, 0x5e5380
jle 0x402c36
test eax, eax
jle 0x402c36
movaps xmm0, xmm1
call fcn.0049b560
mov eax, dword [ebp - 0x14]
movsd qword [ebp - 0x28], xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
call fcn.0049b560
mulsd xmm0, qword [ebp - 0x28]
sub esp, 8
divsd xmm0, qword [esi + 0x4d0730]
addsd xmm0, qword [esi + 0x4d0870]
addsd xmm0, xmm0
addsd xmm0, qword [0x4d8df8]
movsd qword [ebp - 0x28], xmm0
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.0049c6b0
movsd xmm1, qword [ebp - 0x30]
add esp, 8
mov ecx, dword [ebp - 0x20]
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
addsd xmm0, xmm0
mulsd xmm0, qword [0x4d8df8]
cvttsd2si eax, xmm0
mov dword [edi], eax
mov eax, dword [ebp - 0x14]
add esi, 8
add edi, 0x4000
cmp esi, 0x10
jl 0x402ba4
mov edx, dword [ebp - 0x18]
inc eax
add edx, 4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
cmp eax, 0x40
jl 0x402ba0
mov edx, dword [ebp - 0x1c]
add ecx, 0x100
inc edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
cmp ecx, 0x5e9380
jl 0x402b80
push 0x28
call fcn.00460943
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov dword [ebp - 4], 0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
push 1
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
push 0x4d2308
mov byte [ecx], 0
call fcn.00404920
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0x24], 0
push 0x420670
mov dword [0x4f6688], esi
mov byte [0x4f6680], 0
call fcn.00460bdb
add esp, 4
lea ecx, [ebp - 0x22d0]
call fcn.0040ac30
mov ecx, dword [ebx + 8]
mov esi, 1
mov byte [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x20], 0
cmp ecx, esi
jle 0x402eee
mov edi, dword [ebx + 0xc]
nop
mov eax, dword [edi + esi*4]
cmp byte [eax], 0x2d
jne 0x402fc7
lea ecx, [eax + 1]
movsx eax, byte [ecx]
add eax, 0xffffffb8
cmp eax, 0x2c
ja case.0x402d45.73
movzx eax, byte [eax + 0x403134]
jmp dword [eax*4 + 0x40311c]
push dword [edi + esi*4 + 4]
inc esi
call fcn.0047d36c
mov ecx, pe_nt_image_headers32
mov byte [ebp - 0x1c], 1
add esp, 4
cmp eax, ecx
cmovl ecx, eax
mov dword [0x4f6700], ecx
test ecx, ecx
jle 0x4030f4
jmp 0x402ee2
mov edx, str.loading
mov ecx, 0x4f4ee0
inc esi
call fcn.00405660
mov edx, dword [edi + esi*4]
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
push ecx
push 1
push dword [edi + esi*4]
lea ecx, [ebp - 0xf8]
call fcn.004034b0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xf8]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0xec], 0
jne 0x402f84
lea edx, [ebp - 0x22d0]
lea ecx, [ebp - 0xf8]
call fcn.0040f2a0
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.00403170
jmp 0x402ee2
mov eax, 0x4b0478
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x402e16
test dl, dl
je 0x402e12
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x402e16
add ecx, 2
add eax, 2
test dl, dl
jne 0x402df6
xor eax, eax
jmp 0x402e1b
sbb eax, eax
or eax, 1
test eax, eax
jne case.0x402d45.73
mov byte [ebp - 0x18], 1
jmp 0x402ee2
mov edx, dword [edi + esi*4 + 4]
inc esi
mov ecx, edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x402e50
sub ecx, dword [ebp - 0x24]
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00404920
lea edx, [ebp - 0x40]
mov dword [ebp - 4], 3
mov ecx, 0x4f66c8
call fcn.0042f7d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x402eb3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x402ea9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403116
push edx
push ecx
call fcn.00460bf0
add esp, 8
mov byte [ebp - 0x20], 1
jmp 0x402ee2
mov byte [ebp - 0x14], 1
jmp 0x402ee2
mov edx, str.Warning:_unknown_option:
mov ecx, 0x4f5088
call fcn.00405660
mov edx, dword [edi + esi*4]
mov ecx, eax
inc edx
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
mov ecx, dword [ebx + 8]
inc esi
cmp esi, ecx
jl 0x402d20
push 0x6570
call fcn.00460943
add esp, 4
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x22d0]
mov dword [ebp - 4], 4
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ecx
mov ecx, eax
call fcn.00431b90
mov dword [ebp - 4], 0xffffffff
mov esi, eax
cmp byte [0x4f6680], 0
jne 0x40305c
nop word [eax + eax]
push dword [esi + 0x1890]
mov ecx, esi
call fcn.00432850
test al, al
je 0x40305c
lea eax, [esi + 0x6130]
push eax
lea eax, [esi + 0x60a8]
push eax
lea ecx, [esi + 0x6160]
call fcn.00422c10
test al, al
je 0x403055
cmp byte [0x4f6680], 0
je 0x402f40
jmp 0x40305c
mov edx, str.file_not_found:
mov ecx, 0x4f5088
call fcn.00405660
mov edx, dword [edi + esi*4]
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
lea ecx, [ebp - 0xf8]
call fcn.00403170
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp esi, ecx
jge 0x402eee
mov ecx, str.bench
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402ff4
test dl, dl
je 0x402ff0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402ff4
add eax, 2
add ecx, 2
test dl, dl
jne 0x402fd4
xor eax, eax
jmp 0x402ff9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40301d
sub esp, 0xc
lea eax, [ebp - 0x38]
push 1
push eax
call fcn.004067a0
lea edx, [ebp - 0x38]
mov ecx, 0x4f4ee0
call fcn.00406f50
jmp 0x4030df
mov edx, str.unrecognized_text_on_command_line:
mov ecx, 0x4f5088
call fcn.00405660
mov edx, dword [edi + esi*4]
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov byte [0x4f6680], 1
cmp byte [esi + 0x60b4], 0
je 0x403096
mov edx, dword [esi + 0x612c]
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x403076
mov edx, dword [edx]
push eax
mov ecx, 0x4f4ee0
call fcn.00409f90
mov edx, str.exited_polling_loop
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
mov ecx, esi
call fcn.004338a0
cmp byte [esi + 0x60b4], 0
je 0x4030d7
mov edx, dword [esi + 0x612c]
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
jb 0x4030b7
mov edx, dword [edx]
push eax
mov ecx, 0x4f4ee0
call fcn.00409f90
mov edx, str.terminating
mov ecx, eax
call fcn.00405660
push eax
call fcn.00405bb0
add esp, 4
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov edx, str._c_parameter_must_be__1
mov ecx, 0x4f5088
call fcn.00405660
push fcn.00405bb0
mov ecx, eax
call fcn.004040e0
push 0xffffffffffffffff
call fcn.0047b843
call fcn.0047e1a9
nop
sub al, 0x2e
inc eax
add byte [ebp + ebp + 0x40], cl
add byte [edx + 0x2d], bh
inc eax
add cl, dh
sub eax, 0x2eb90040
inc eax
add byte [edi + 0x402e], bh
add eax, 0x5050505
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 84215045
add eax, 33883393
add eax, 84214533
add eax, 84215045
add eax, -872151803
int3