Function at 0x4023be
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x820
mov eax, dword [0x41f014]
xor eax, esp
mov dword [esp + 0x81c], eax
push esi
push edi
lea eax, [esp + 0xc]
push eax
lea eax, [ebx + 0x1004]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], esi
jne 0x4023ff
xor eax, eax
jmp 0x4029a5
cmp dword [esp + 0xc], 2
jge 0x40243f
push 0x41b608
push str.AFlaunch
push str._s__s_n
lea eax, [esp + 0x2c]
push 0x7ff
push eax
call fcn.00406a82
add esp, 0x14
push edi
push str.Information
lea eax, [esp + 0x28]
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
call fcn.00406e39
push edi
push str.Evaluating_command_line_parameters...
call fcn.0040138b
xor eax, eax
inc eax
cmp dword [esp + 0x14], eax
pop ecx
pop ecx
mov dword [esp + 8], eax
jle 0x40298e
mov eax, dword [esp + 8]
lea edi, [esi + eax*4]
push dword [edi]
push str._prompt
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4024a9
mov eax, dword [ebx + 0x4008]
mov dword [ebx + 0x4a90], eax
xor eax, eax
inc eax
cmp dword [ebx + 0x4a5c], 0
mov dword [ebx + 0x4a58], eax
mov dword [ebx + 0x4a78], eax
je 0x40297a
mov dword [ebx + 0x653c], eax
jmp 0x40297a
push dword [edi]
push str._exe
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4024eb
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x4024eb
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
mov dword [ebx + 0x4a90], eax
xor eax, eax
inc eax
cmp dword [ebx + 0x4a58], 0
pop ecx
mov dword [ebx + 0x4a5c], eax
jmp 0x402492
push dword [edi]
push str._floating
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402570
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x402570
mov edi, 0x41c1e0
push edi
push dword [esi + eax*4]
mov dword [esp + 0x10], eax
call fcn.00407a8c
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [ebx + 0x4a70], eax
pop ecx
mov eax, edi
jne 0x402530
mov eax, 0x41c1e8
lea ecx, [ebx + 0x64f0]
push ecx
push eax
push str.AF_FLOATING_LICENSE
lea esi, [esp + 0x20]
lea edi, [ebx + 0x400c]
call fcn.00401ed2
pop ecx
pop ecx
push edi
mov edi, eax
call fcn.00401fcb
pop ecx
pop ecx
lea edi, [esp + 0x14]
lea eax, [ebx + 0x400c]
call fcn.0040233e
mov esi, dword [esp + 0x10]
jmp 0x40297a
push dword [edi]
push str._fxserver
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4025af
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x4025af
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
pop ecx
lea ecx, [ebx + 0x64f0]
push ecx
push eax
mov dword [ebx + 0x4a8c], eax
push str.AFLMD_LICENSE_FILE
jmp 0x40253d
push dword [edi]
push str._startportmap
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4025ee
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x4025ee
push 0x41c1e0
push dword [esi + eax*4]
mov dword [esp + 0x10], eax
call fcn.00407a8c
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [ebx + 0x4a60], eax
jmp 0x402979
push dword [edi]
push str._startexceed
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40262d
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x40262d
push 0x41c1e0
push dword [esi + eax*4]
mov dword [esp + 0x10], eax
call fcn.00407a8c
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [ebx + 0x4a64], eax
jmp 0x402979
push dword [edi]
push str._forceexceed
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40266c
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x40266c
push 0x41c1e0
push dword [esi + eax*4]
mov dword [esp + 0x10], eax
call fcn.00407a8c
neg eax
sbb eax, eax
inc eax
pop ecx
mov dword [ebx + 0x4a68], eax
jmp 0x402979
push dword [edi]
push str._exceedpath
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4026a0
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x4026a0
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
mov dword [ebx + 0x4a98], eax
jmp 0x402979
push dword [edi]
push str._exceedparam
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40272f
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x40272f
cmp dword [ebx + 0x4a9c], 0
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
je 0x4026fd
call fcn.00405643
push eax
push dword [ebx + 0x4a9c]
lea eax, [esp + 0x2c]
push str._s__s
push 0x800
push eax
call fcn.00406a82
push dword [ebx + 0x4a9c]
call fcn.00406b2f
add esp, 0x1c
jmp 0x40271a
call fcn.00405643
push eax
push 0x41b5b4
lea eax, [esp + 0x2c]
push 0x800
push eax
call fcn.00406a82
add esp, 0x14
lea eax, [esp + 0x20]
push eax
call fcn.004056c2
mov dword [ebx + 0x4a9c], eax
jmp 0x402979
push dword [edi]
push str._xkeysymdb
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402771
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x402771
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
pop ecx
lea ecx, [ebx + 0x64f0]
push ecx
push eax
mov dword [ebx + 0x4aa0], eax
push str.XKEYSYMDB
jmp 0x40253d
push dword [edi]
push str._killportmap
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x4027a0
cmp dword [esp + 0xc], 2
mov dword [ebx + 0x4a74], 1
setg al
mov dword [ebx + 0x6540], eax
jmp 0x40297a
push dword [edi]
push str._userwrite
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402806
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x402806
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
pop ecx
lea ecx, [ebx + 0x64f0]
push ecx
push eax
mov dword [ebx + 0x4a94], eax
push str.AF_USERWRITE
lea esi, [esp + 0x20]
lea edi, [ebx + 0x400c]
call fcn.00401ed2
pop ecx
pop ecx
push edi
mov edi, eax
call fcn.00401fcb
mov esi, dword [esp + 0x20]
pop ecx
pop ecx
call fcn.00405d25
jmp 0x402558
push dword [edi]
push str._home
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402845
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x402845
push dword [esi + eax*4]
mov dword [esp + 0xc], eax
call fcn.00405643
pop ecx
lea ecx, [ebx + 0x64f0]
push ecx
push eax
mov dword [ebx + 0x4aa4], eax
push str.HOME
jmp 0x4027dd
push dword [edi]
push str._diag
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402866
mov dword [ebx + 0x64f4], 1
jmp 0x40297a
push dword [edi]
push 0x41cac4
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x402887
mov dword [ebx + 0x64f0], 1
jmp 0x40297a
push dword [edi]
push str._param
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40291f
mov eax, dword [esp + 8]
inc eax
cmp eax, dword [esp + 0xc]
jge 0x40291f
lea edi, [ebx + 0x54f0]
and word [edi], 0
mov dword [esp + 8], eax
jmp 0x402917
mov eax, dword [esp + 8]
push 0x20
push dword [esi + eax*4]
call fcn.0040740e
push 0x41cadc
push edi
mov dword [esp + 0x2c], eax
call fcn.004069a8
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x4028ec
push 0x41cae0
push edi
call fcn.004069a8
pop ecx
pop ecx
mov eax, dword [esp + 8]
push dword [esi + eax*4]
push edi
call fcn.004069a8
cmp dword [esp + 0x24], 0
pop ecx
pop ecx
je 0x40290f
push 0x41cae0
push edi
call fcn.004069a8
pop ecx
pop ecx
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jl 0x4028b8
jmp 0x40297a
push dword [edi]
push 0x41cae4
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40293d
mov dword [ebx + 0x64f8], 1
jmp 0x40297a
push dword [edi]
push str._nopopup
call fcn.00407a8c
test eax, eax
pop ecx
pop ecx
jne 0x40295b
mov dword [ebx + 0x2eda0], 1
jmp 0x40297a
lea eax, [ebx + 0x6534]
cmp dword [eax], 0
jne 0x40297a
mov dword [eax], 1
push dword [edi]
call fcn.00406955
mov dword [ebx + 0x6564], eax
pop ecx
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0xc]
jl 0x40245d
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
push str.done_n
call fcn.0040138b
pop ecx
xor eax, eax
pop ecx
inc eax
mov ecx, dword [esp + 0x824]
pop edi
pop esi
xor ecx, esp
call fcn.004062b8
mov esp, ebp
pop ebp
ret