Function at 0x41f290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp], 0x41a25a
mov dword [esp + 4], 0x41f1d6
mov dword [esp + 8], 0x526
call sym._updatecontext_f
mov dword [esp], 0x41f1f0
call sym._puts
mov eax, dword [0x430f44]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._fflush
mov eax, dword [0x430f44]
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._fflush
call sym._fork
test eax, eax
js 0x41f397
test eax, eax
jg 0x41f3b0
xor ebx, ebx
mov dword [esp], ebx
inc ebx
call sym._close
cmp ebx, 3
jle 0x41f2f6
call sym._setsid
test eax, eax
js 0x41f37e
call sym._fork
test eax, eax
js 0x41f368
test eax, eax
jg 0x41f3b0
mov dword [esp], 0x41f247
mov dword [esp + 4], 2
call sym._open
mov dword [esp], eax
mov ebx, eax
call sym._dup
mov dword [esp], ebx
call sym._dup
mov dword [esp], 0
mov dword [esp + 4], 0x41f251
call sym._mylog
mov eax, 2
mov dword [0x431258], eax
add esp, 0x14
pop ebx
pop ebp
ret
mov dword [esp], 0
mov dword [esp + 4], 0x41f269
call sym._outerror
jmp 0x41f31e
mov dword [esp], 0
mov dword [esp + 4], 0x41f278
call sym._outerror
jmp 0x41f30d
mov dword [esp], 0
mov dword [esp + 4], 0x41f269
call sym._outerror
jmp 0x41f2f4
mov dword [esp], 0
call sym._exit
inc edx
jne 0x41f432
and byte [esi + 0x61], al
jne 0x41f430
je 0x41f3c6
and dword [ecx], esp
and dword [ecx], esp
and dword [ecx], esp
and dword [ecx], esp
and dword [eax], esp
and eax, 0x21212073
and dword [ecx], esp
and dword [ecx], esp
and dword [ecx], esp
and dword [eax], eax
inc ebx
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x41f447
js 0x41f458
and byte [edx + esi*2 + 0x61], dl
arpl word [ebp + 0x3a], sp
add byte [edx + esi*2 + 0x61], dl
arpl word [ebp + 0x20], sp
and eax, 0x20206933
and eax, 0x7330322d
and byte [0x7336312d], ah
cmp ah, byte [0x55006935]
dec esi
dec ebx
dec esi
dec edi
push edi
dec esi
add byte [eax + 0x73617243], dl
push 0x2e676e69
and byte cs:[eax + 0x6c], dl
popal
jae 0x41f487
and byte [edx + 0x65], dh
jo 0x41f496
jb 0x41f49d
and byte [eax + ebp*2 + 0x69], dh
jae 0x41f44f
jo 0x41f4a3
jb 0x41f4a1
outsd dx, dword [esi]
bound ebp, qword [ebp + 0x6d]
and byte [edi + ebp*2 + 0x20], dh
push eax
dec ebp
inc edi
add byte [ebx], bl
pop ebx
jb 0x41f45d
pop ebx
and eax, 0x48313b69
dec eax
or al, byte [eax]
dec ecx
insb byte es:[edi], dx
insb byte es:[edi], dx
popal
popal
insb byte es:[edi], dx
and byte [ecx + 0x6e], cl
jae 0x41f4ca
jb 0x41f4cd
arpl word [ecx + ebp*2 + 0x6f], si
outsb dx, byte [esi]
add byte [ecx + 0x62], al
outsd dx, dword [esi]
jb 0x41f4d7
and byte [ebx + 0x69], dl
outsb dx, byte [si]
popal
insb byte es:[edi], dx
add byte [esi + 0x6c], al
outsd dx, dword [esi]
popal
je 0x41f4da
outsb dx, byte [esi]
and byte [bx + si + 0x6f], dl
imul ebp, dword [esi + 0x74], 0x63784520
jo 0x41f4f4
imul ebp, dword [edi + 0x6e], 0x6b6e5500
outsb dx, byte [esi]
outsd dx, dword [esi]
ja 0x41f4f9
and byte [esi + 0x61], al
jne 0x41f4fc
je 0x41f492
push ebx
insd dword es:[di], dx
outsb dx, byte gs:[esi]
je 0x41f4fb
je 0x41f505
outsd dx, dword [esi]
outsb dx, byte [esi]
and byte [esi + 0x61], al
jne 0x41f50f
je 0x41f4a5
nop
lea esi, [esi]
lea edi, [edi]
rol byte [eax], cl
add bh, al
add al, 0x24
push es
add byte [eax], al
add bh, al
inc esp
and al, 4
add byte [eax], al
mov dword [esp], 6
mov dword [esp + 4], 0
add al, 0
add byte [eax], al
add al, ch
iretd
add byte [eax], al
call sym._signal
mov dword [esp], 4
mov dword [esp + 4], 0
call sym._signal
mov dword [esp], 8
add bh, al
add al, 0x24
or byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, al
inc esp
and al, 4
add byte [eax], al
add byte [eax], al
mov dword [esp + 4], 0
call sym._signal
mov dword [esp], 0xb
cmpsd dword [esi], dword es:[edi]
rol byte [eax], cl
add bh, al
add al, 0x24
or eax, dword [eax]
add byte [eax], al
add bh, al
inc esp
and al, 4
add byte [eax], al
add byte [eax], al
mov dword [esp + 4], 0
call sym._signal
mov eax, dword [ebp + 8]
sub eax, 4
cmp eax, 7
ja case.0x41f52c.5
jmp dword [eax*4 + 0x41f534]
mov esi, 0x41f3bc
mov dword [esp], 0
xor ebx, ebx
mov dword [esp + 4], 7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x41f3c6
mov dword [esp + 0x10], esi
call sym._ioutput
mov dword [esp], 0
mov dword [esp + 4], 7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x41f3dd
call sym._ioutput
mov esi, esi
lea edi, [edi]
mov dword [esp], 0
lea ecx, [ebx - 0x63]
mov eax, 0x51eb851f
mov dword [esp + 0x10], ecx
mov ecx, dword [0x43330c]
mov dword [esp + 4], 7
mov dword [esp + 8], 0
add ecx, ebx
inc ecx
mov dword [esp + 0xc], 0x41f3ec
imul ecx
mov eax, ecx
mov edi, edx
cdq
sar edi, 5
sub edi, edx
lea eax, [edi + edi*4]
lea edx, [eax + eax*4]
shl edx, 2
sub ecx, edx
lea eax, [ecx + ecx*2]
lea edx, [eax*4]
mov eax, dword [edx + 0x432e60]
test eax, eax
jne 0x41f614
mov eax, 0x41f407
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x432e5c]
test eax, eax
jne 0x41f627
mov eax, 0x41f407
mov dword [esp + 0x18], eax
mov eax, dword [edx + 0x432e64]
inc ebx
mov dword [esp + 0x1c], eax
call sym._ioutput
cmp ebx, 0x63
jle 0x41f5b0
mov dword [esp], 0
mov dword [esp + 4], 7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x41f3c6
mov dword [esp + 0x10], esi
call sym._ioutput
mov dword [esp], 0
mov dword [esp + 4], 7
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0x41f410
call sym._ioutput
mov eax, dword [0x431258]
test eax, eax
je 0x41f6a1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], 0x41f43e
mov eax, dword [0x431af0]
mov dword [esp + 4], eax
call sym._printf
jmp 0x41f699
mov esi, 0x41f44a
jmp 0x41f559
mov esi, 0x41f45e
jmp 0x41f559
mov esi, 0x41f46b
jmp 0x41f559
mov esi, 0x41f484
jmp 0x41f559
mov esi, 0x41f492
jmp 0x41f559