Function at 0x41db70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp + 8], 0x6fe
mov dword [esp + 4], 0x41dab1
mov dword [esp], 0x418370
call sym._updatecontext_f
mov dword [esp], 0x41dad0
call sym._puts
call sym.___getreent
mov eax, dword [eax + 8]
mov dword [esp], eax
call sym._fflush
call sym.___getreent
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sym._fflush
call sym._fork
test eax, eax
js 0x41dc82
test eax, eax
jg 0x41dc9b
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
mov dword [esp], ebx
inc ebx
call sym._close
cmp ebx, 2
jle 0x41dbe0
call sym._setsid
test eax, eax
js 0x41dc69
call sym._fork
test eax, eax
js 0x41dc53
test eax, eax
jg 0x41dc9b
mov dword [esp + 4], 2
mov dword [esp], 0x41db27
call sym._open
mov dword [esp], eax
mov ebx, eax
call sym._dup
mov dword [esp], ebx
mov ebx, 2
call sym._dup
mov dword [esp + 4], 0x41db31
mov dword [esp], 0
call sym._mylog
mov dword [0x43127c], ebx
add esp, 0x14
pop ebx
pop ebp
ret
mov dword [esp + 4], 0x41db49
mov dword [esp], 0
call sym._outerror
jmp 0x41dc08
mov dword [esp + 4], 0x41db58
mov dword [esp], 0
call sym._outerror
jmp 0x41dbf7
mov dword [esp + 4], 0x41db49
mov dword [esp], 0
call sym._outerror
jmp 0x41dbd4
mov dword [esp], 0
call sym._exit
mov esi, esi
lea edi, [edi]
imul esi, dword [edx + 0x6f], 0x72656666
and byte [ebp + 0x78], ah
imul esi, dword [ebp + 0x64], 0x69732820
outsb dx, byte [si]
popal
insb byte es:[edi], dx
and byte [esi + 0x6f], ah
jb 0x41dd2e
and dword fs:[ecx], ebp
or cl, byte [edx]
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
imul esi, dword [edx + 0x6f], 0x72656666
and byte [ebp + 0x78], ah
imul esi, dword [ebp + 0x64], 0x69732820
outsb dx, byte [si]
popal
insb byte es:[edi], dx
and byte [esi + 0x6f], ah
jb 0x41dd6e
and dword fs:[ecx], ebp
add byte [ecx], ah
and dword [ecx], esp
and byte [ecx + 0x72], ch
outsd dx, dword [esi]
jb 0x41dd3c
push 0x72207361
arpl word gs:[ebp + 0x69], sp
jbe 0x41dd8c
and byte fs:[ecx + 0x20], ah
popaw
je 0x41dd90
popal
insb byte es:[edi], dx
and byte [ebx + 0x69], dh
outsb dx, byte [si]
popal
insb byte es:[edi], dx
and byte cs:[ecx], ah
and dword [ecx], esp
add byte [ebx + 0x69], dl
outsb dx, byte [si]
popal
insb byte es:[edi], dx
and byte [0x25282064], ah
jae 0x41dd74
add byte [ebx + 0x6f], al
outsb dx, byte [esi]
je 0x41ddb6
js 0x41ddc7
and byte [edx + esi*2 + 0x61], dl
arpl word [ebp + 0x3a], sp
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc ebx
jb 0x41ddd4
jae 0x41dddd
push 0x2e676e69
and byte cs:[eax + 0x6c], dl
imul ebp, dword [esi + 0x67], 0x202e2e2e
push eax
insb byte es:[edi], dx
popal
jae 0x41dde7
and byte [edx + 0x65], dh
jo 0x41ddf6
jb 0x41ddfd
and byte [eax + ebp*2 + 0x69], dh
jae 0x41ddaf
imul esi, dword [ebx + 0x20], 0x626f7270
insb byte es:[edi], dx
insd dword es:[edi], dx
jo 0x41de03
jb 0x41de01
outsd dx, dword [esi]
bound ebp, qword [ebp + 0x6d]
and byte [edi + ebp*2 + 0x20], dh
push eax
dec ebp
inc edi
add byte [esi + 0x61], al
jne 0x41de0e
je 0x41de0d
outsb dx, byte [esi]
and byte [bx + di + 0x64], al
jb 0x41de11
jae 0x41de21
cmp ah, byte [eax]
xor byte [eax + 0x25], bh
and byte [eax], dh
js 0x41ddd8
cmp byte cs:[eax + ebx*2], ch
nop
lea esi, [esi]
pop eax
add byte [eax + 0x26b48d], dl
add byte [eax], al
add byte [ebp - 0x77], dl
push ebp
mov ebp, esp
invalid
in al, dx
sub byte [ecx + 0x758bfc75], cl
or byte [ecx + 0x5d8bf85d], cl
or al, 0x83
invalid
jne 0x41ddc5
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp esi, 0x1f
pop ds
ja case.0x41dddb.0
add byte [eax], al
add bh, bh
jmp dword [esi*4 + 0x41dde4]
mov esi, esi
fcomp st(6)
inc ecx
jmp dword [esi*4 + 0x41dde4]
mov ch, 0xe4
fld qword [ecx]
mov esi, esi
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fiadd word fs:[ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fiadd word fs:[ecx]
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add byte [esi + ebx*8 + 0x41], ah
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, dl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add byte [eax - 0x20], dl
inc ecx
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
rcr dh, 1
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
fcomp st(6)
inc ecx
add al, bl
fiadd word [ecx]
push eax
loopne 4316832
add byte [eax - 0x20], ah
inc ecx
add byte [ecx + 0x431758], ah
mov eax, dword [0x431758]
mov eax, dword [0x431758]
test eax, eax
jne 0x41de8a
mov esi, 1
mov dword [0x431758], esi
nop
lea esi, [esi]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
call sym._uninitscreen
mov dword [esp + 4], 0x41dcb0
mov dword [esp], 0
call sym._mylog
mov dword [esp], 0x41dcf0
call sym._puts
mov eax, dword [0x43129c]
test eax, eax
jne 0x41dec5
jle 0x41dea2
add bh, al
add al, 0x24
invalid
mov dword [esp], 0
nop
call sym._exit
mov dword [esp], eax
call sym._unlink
jmp 0x41deb8
inc dword [0x431760]
jmp 0x41de80
mov dword [esp + 0xc], 0x41dd10
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._ioutput
mov dword [esp], esi
call sym._strsignal
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x41dd3d
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._ioutput
lea eax, [esi - 4]
cmp eax, 7
jbe switch.0x0041dff2
mov dword [esp + 0xc], 0x41dd4c
lea ebx, [ebp - 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._ioutput
call sym._dumpcontext
call sym._dumpgdata
mov dword [esp + 0xc], 0x41dd70
mov dword [esp + 8], 0
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._ioutput
mov dword [esp], 1
call sym._tostdout_disable_buffering
call sym._uninitscreen
mov dword [esp + 4], 0
mov dword [esp], esi
call sym._signal
mov dword [esp], ebx
call sym._sigemptyset
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._sigaddset
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov dword [esp], 2
call sym._sigprocmask
mov dword [esp], esi
call sym._raise
mov dword [esp], 1
jmp 0x41dec0
jmp dword [eax*4 + 0x41dffc]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0xc], 0x41dd9e
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 4], 7
mov dword [esp], 0
call sym._ioutput
jmp case.0x41dff2.5
inc dword [0x43175c]
jmp 0x41de80
inc dword [0x431754]
jmp 0x41de80